Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

st: AW: local macro


From   "Martin Weiss" <martin.weiss1@gmx.de>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: AW: local macro
Date   Fri, 9 Apr 2010 17:08:09 +0200

<> 



"...are not created" could mean different things to different people...
Throw in a -macro dir- after the two "local" lines, and see what you get.



HTH
Martin


-----Ursprüngliche Nachricht-----
Von: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] Im Auftrag von Mary E.
Mackesy-Amiti
Gesendet: Freitag, 9. April 2010 17:06
An: statalist@hsphsun2.harvard.edu
Betreff: st: local macro

Hello everyone,

I am using Stata 10.1.  When I run the following commands from the 
command line I have no problem, but when I run them from a do file, the 
local macros are not created.  What am I missing?

Mary Ellen

---------------------------------------------------
gllamm timeinj  fup6 , i(partid) nrf(2) eqs(cons slope2) nip(2) ip(f) 
fam(poi)
matrix a=e(b)
local ll= e(ll)
local k=e(k)

gllamm timeinj fup6 , i(partid) nrf(2) eqs(cons slope2) nip(3) ip(f) 
from(a) ///
    fam(poi) gateaux(-10 10 30) lf0(`k' `ll')
-----------------------------------------------------

*
*   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/


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