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
Regression with Categorical Dummy VariableDear all, I would like to conduct the following regression: y = a + x1*(1-D) + x2*D + x3*(1-D) + x…
Panel data logistic regression (xtlogit): Choosing between fixed effects and random effectsHI Helpful List, I have panel data on ~2000 companies between 2005 and 2010. Of these 2000 companie…
Getting rid of na observablesHi, How do I get rid of na and scotsup,ms observables please? Array …
Recode helpHi, I am trying to get three variables only i.e. England, Wales and Scotland. I want to recode 'n…
Problem grouping hierarchical data into subset of the dataHello I am new to Stata and I am struggling to find the best command /code to the below data. I am …
Subscribe to:
Post Comments (Atom)
0 Response to RE: Standard deviation of the residual
Post a Comment