Website Worth

Total Pageviews

Tuesday

Using predict in Stata after regression

1) predicted values of y (y is the dependent variable) no option needed

predict name

2) residuals

predict name, resid

3) standardized residuals

predict name, rstandard

4) studentized or jackknifed residuals

predict name, rstudent

5) leverage

predict name, lev or hat

6) standard error of the residual

predict name, stdr

7) Cook's D

predict name, cooksd

8) standard error of predicted individual y

predict name, stdf

9) standard error of predicted mean y

predict name, stdp