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 on April 23, 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   Scott Merryman <scott.merryman@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Bootstrapping: Comparing the difference between means
Date   Wed, 3 Apr 2013 11:44:32 -0500

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/


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