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
The use of the symbol $ in Stata commandsHi Statalist In many of the questions posted, the following syntax has been used: e.g. $covariates …
Unintelligible code in Stata 16Dear Stata users, I use community-contributed command -tabout- (SSC, written by Ian Watson) to expor…
Decode halfyearly date strings for Panel DataDear Statalist community, I have a problem with my time variable is recognized as a string when I do…
spmat import dataDear all, i am unable to import data as a spatial weight matrix into Stata using spmat. The data a…
STATA: panel regression, xtset error, CUSIP8-code, string variableDear all, I am trying to complete a panel data regression with the individual and time identifiers:…
Subscribe to:
Post Comments (Atom)
0 Response to RE: Standard deviation of the residual
Post a Comment