tomrice-
You will want a -postclose `bin' - command at the end so you can use
the dataset you made, and you will want -version 9.2- and -set seed
1234- commands at the beginning so you can reproduce results. Also
see -help simulate- for automation.
On 7/28/06, Maarten Buis <[email protected]> wrote:
-post `bin' (_b[var1]) (_b[var2])-
-----Original Message-----
From: [email protected]
The below program runs but posts nothing.
clear
set mem 400m
tempname bin
postfile `bin' likelihood using results.dta, replace
forvalues i=1/3 {
<simulate data set>
xtpoisson death var1 var2, i(vehicle) fe
post `bin' (e(ll))
}
exit
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/