Hello all,
I am applying a negative binomial regression model using 'meglm' command in Stata. I am aware that Stata manual has 'predict d, dev' command for calculating deviance residuals but I want to calculate standardized deviance residuals i.e. deviance residuals/(1-leverage). I don't know how to do that.
Also, is there any easy way to calculate Cook's D after meglm?
Please help me.
I am applying a negative binomial regression model using 'meglm' command in Stata. I am aware that Stata manual has 'predict d, dev' command for calculating deviance residuals but I want to calculate standardized deviance residuals i.e. deviance residuals/(1-leverage). I don't know how to do that.
Also, is there any easy way to calculate Cook's D after meglm?
Please help me.