Bookmark and Share

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]

Re: st: Local macro or scalar in the glm command - Stata 10


From   Nick Cox <[email protected]>
To   [email protected]
Subject   Re: st: Local macro or scalar in the glm command - Stata 10
Date   Tue, 29 Mar 2011 08:48:29 +0100

Looks fine in principle. The quotes are fine. Type

. di `a'

to see what it is in the macro.

Nick

On Tue, Mar 29, 2011 at 3:41 AM, Francisco Rowe <[email protected]> wrote:

> 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.

*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index