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]
st: If bootstrap can't support "bysort", then how?
From
econqian222 <[email protected]>
To
[email protected]
Subject
st: If bootstrap can't support "bysort", then how?
Date
Tue, 1 May 2012 12:19:12 -0700 (PDT)
Dear all
I want to run a bootstrap by product(1,2,3,...) , the command is
written as:
bysort product: bootstrap rmse=e(rmse), reps(100) seed(12345): regress
value quantity index
unfortunately, the program can't run successfully.
the format of the data goes as following
product quantity value index
> 1 5.605 .064 7
> 1 27.3518 3.96556 3
> 1 2.76541 .597 6
> 2 727.906 77.711 12
> 2 396.779 82.386 18
> 3 35.8568 .783239 4
> 3 19.6898 .128481 3
what can I do now?
Many thanks
Qian
--
View this message in context: http://statalist.1588530.n2.nabble.com/If-bootstrap-can-t-support-bysort-then-how-tp7517874.html
Sent from the Statalist mailing list archive at Nabble.com.
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/