Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: Local macro or scalar in the glm command - Stata 10
From 
 
Francisco Rowe <[email protected]> 
To 
 
[email protected] 
Subject 
 
st: Local macro or scalar in the glm command - Stata 10 
Date 
 
Tue, 29 Mar 2011 12:41:59 +1000 
Hi,
Anyone knows how to use feed the estimate of the variance into glm using the local or scalar commands?
I am trying to do this:
local a= e(alpha)
glm m x1 x2 x3, family(nb `a’)
but does not work.
I am using stata 10. I do not know if this has something to do with the quotes. Suggestions are welcome.
Regards,
Francisco.
*
*   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/