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

Re: st: Inserting -e(sample)- when using -bootstrap-

From   Richard Williams <[email protected]>
To   [email protected]
Subject   Re: st: Inserting -e(sample)- when using -bootstrap-
Date   Fri, 28 Jan 2005 06:17:55 -0500

At 05:35 AM 1/28/2005 +0000, Clive wrote:

Hiya! I've tried to run -bootstrap- after the following -corr- run:

. corr conch srconch if (srcycle>.25 & srcycle<.5)


The -bootstrap- does run, but, as the text says, it runs with _all_
observations (305 in total), and not with the 60 in the original -corr-

Thus is there any way to set up -e(sample)- for -bootstrap- after -corr-
or any estimation command which for whatever reason does not set
-e(sample)-? Thanks.
I've never used -bootstrap-, but could you first create a data set with only the 60 cases you want? e.g.

keep if !missing(conch, srconch) & (srcycle>.25 & srcycle<.5)

* For searches and help try:

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