I have been trying to calculate Cook's Distance for an xtpcse regression. The form of my regression is:
xtpcse depvar indvars, corr(ar1)
When I use "predict D, cooksd" I get a message that says that "option cooksd not allowed".
My question is twofold. Are there any ways for calculating Cook's Distance in Stata for xtpcse regressions (I get the impression that xtpcse has limited postestimation options for some reason)? If not, does anyone have a .do-file or a list of commands that I could use to manually compute Cook's Distance for an xtpcse regression?
Thanks.
xtpcse depvar indvars, corr(ar1)
When I use "predict D, cooksd" I get a message that says that "option cooksd not allowed".
My question is twofold. Are there any ways for calculating Cook's Distance in Stata for xtpcse regressions (I get the impression that xtpcse has limited postestimation options for some reason)? If not, does anyone have a .do-file or a list of commands that I could use to manually compute Cook's Distance for an xtpcse regression?
Thanks.
Comment