On Wed, Apr 3, 2013 at 11:22 AM, Fleming, Fiona M
<f.fleming@imperial.ac.uk> wrote:
> simulate diffa_1=r(mu_1) diffa_2 = (r(mu_2), reps(100) seed(12345): mydiffa
There is a stray "(" before r(mu_2)
Also the terms in the -simulate- need to match the return scalars in
the command mydiffa, that is: -simulate diffa_1=r(diffa_1) diffa_2 =
r(diffa_2) ...-
Scott
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/