Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: bootstrap command help


From   Swati Tyagi <styagi15@yahoo.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: bootstrap command help
Date   Sat, 12 Apr 2008 23:46:24 -0700 (PDT)

I needed help on command of bootstrap to run the bootstrap on 2 continuous variables at a time.
I was successful in running the 1000 replications to bootstrap 1 variable at a time and the command I used was as follows:

bootstrap(location: mean=r(mean)median=r(p50))(scale:sd=r(sd)iqr=(r(p75)-r(p25))range=(r(max)-r(min))),reps(1000)size(350)saving(Group1,replace):summarize  var 1, detail

Please let me know how to run bootstrap for 2 variables simultaneously.


Thanks,
Swati Misra.


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index