Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: RE: Bootstrapping and t-tests


From   "Siyam,AA (pgr)" <[email protected]>
To   <[email protected]>
Subject   st: RE: RE: Bootstrapping and t-tests
Date   Wed, 12 Jun 2002 18:06:56 +0100

Sorry that was a typing error of mine - still the error message I get tells me:

 bs "ttest prert=postrt"  "_b[prert] _b[postrt]", reps(50) n(10)
command:     ttest prert=postrt
statistics:  _b[prert] _b[postrt]
error in statistic: _b[prert]
r(198);


-----Original Message-----
From: Lee Sieswerda [mailto:[email protected]]
Sent: 12 June 2002 17:56
To: '[email protected]'
Subject: st: RE: Bootstrapping and t-tests


At the least, you are missing the right-most square bracket. That is, it
should be _b[postrt] .


> -----Original Message-----
> From:	Siyam,AA  (pgr) [SMTP:[email protected]]
> Sent:	Wednesday, June 12, 2002 12:54 PM
> To:	[email protected]
> Subject:	st: Bootstrapping and t-tests
> 
> Dear colleagues,
> 
> Is possible to run a bootstrapped  t-test on the paired-observation
> variables preert and postrt.  I tried the command line below 
> 
> bs "ttest preert=postrt" "_b[preert] _b[postrt", reps(50) n(10)
> 
> The error message I am getting says:
> error when command executed on original dataset
> invalid syntax
> r(111);
> 
> Many thanks for your help in advance.
> 
> Regards,
> Amani
> *
> *   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/
*
*   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/
*
*   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/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index