Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

RE: st: Bootstrapping: Comparing the difference between means


From   "Fleming, Fiona M" <[email protected]>
To   "[email protected]" <[email protected]>
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: [email protected] [mailto:[email protected]] On Behalf Of Scott Merryman
Sent: 03 April 2013 17:45
To: [email protected]
Subject: Re: st: Bootstrapping: Comparing the difference between means

On Wed, Apr 3, 2013 at 11:22 AM, Fleming, Fiona M <[email protected]> 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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index