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]

RE: st: Bootstrapping: Comparing the difference between means


From   "Fleming, Fiona M" <f.fleming@imperial.ac.uk>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   RE: st: Bootstrapping: Comparing the difference between means
Date   Wed, 3 Apr 2013 19:30:19 +0000

There is Scott! Too much time spent looking at the same thing for too long.... Many thanks for your quick response and helpful advice.

Fiona

-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Scott Merryman
Sent: 03 April 2013 17:45
To: statalist@hsphsun2.harvard.edu
Subject: Re: st: Bootstrapping: Comparing the difference between means

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/

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


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index