I ran logistic regression of y. I saved the residuals after estimating the regression.
Step 1: logit y x1 x2 x3
Step 2: predict resid, residuals
From the second step, I can obtain the standard deviation of the residuals. That is just one number.
Next, I want to store the standard deviation of the residual for each observation. Would please provide stata codes? Any help would be appreciated.
Related Posts with RE: Standard deviation of the residual
wbopendata query error 23Hi all, I've been running into the following error for several days now: wbopendata query erro…
Average Marginal effects for a multilevel modelHi, Please, I wanted to know the appropriateness of deriving marginal effects from a multilevel mod…
problem installing using the ssc commandI am using Stata/MC 16.1 on Windows 10 (also had the same problem using Ubuntu Linux 18.04). I have…
do standard errors in -margins- after -meglm- account for the (EB) random effect variance?I am working with a meglm model, and need to produce margins out of it. Based on the [ME] meglm post…
How to colour bars in a histogram or graph barHi there, I have been trying to colour individual bars in a histogram or graph bar with percentages…
Subscribe to:
Post Comments (Atom)
0 Response to RE: Standard deviation of the residual
Post a Comment