Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Question about GLM


From   "Lee, Albert" <[email protected]>
To   "[email protected]" <[email protected]>
Subject   st: Question about GLM
Date   Tue, 17 Nov 2009 17:04:07 -0500

Hi,

I recently estimated a fractional logit model using glm:

glm y varlist, family(bin) link(logit) robust

After the estimation, I predicted the expected values of y given covariate values using:

 predict y_hat

I want to calculate the standard errors for these predicted values.  However, STATA only provides standard error of the linear predictions, not the expected values, i.e., 

 predict std_error, stdp

Is there a way to calculate the standard error of the expected values without resorting to delta methods or other by-hand calculations?

Thanks,

Albert.

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index