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: If bootstrap can't support "bysort", then how?
From
Nick Cox <[email protected]>
To
[email protected]
Subject
Re: st: If bootstrap can't support "bysort", then how?
Date
Tue, 1 May 2012 20:59:41 +0100
This question has already been answered very recently.
See http://www.stata.com/statalist/archive/2012-04/msg01280.html and replies
See http://www.stata.com/statalist/archive/2012-05/msg00036.html in
reply to your previous.
Nick
On Tue, May 1, 2012 at 8:19 PM, econqian222
<[email protected]> wrote:
> 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
>
*
* 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/