[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: boostrap with stata (elementary question)
Nicolas A. Roys wrote:
> I want to bootstrap the variance of the standard deviation of "ice" and
> the standard deviation of "ich"
> so I think the stata command is simply :
> bs "summarize ice, detail" "r(sd)", rep(1000)
> bs "summarize ich, detail" "r(sd)", rep(1000)
> but how can I can bootstrap the variance of the ratio
> standard deviation of "ice" divided by standard deviation of "ich" ?
Perhaps I'm missing something obvious, but I don't see the need for any
further -bootstrap-ping. All I think you need do is the following:
(1) -generate- a new variable for the ratio of ("ice"/"ich");
(2) *then* -summarize- that variable: since it gives the standard
deviation, all you need do is square it to get the variance of that
By the way, as Nick Cox has counselled to the list on various occasions,
it's not a bright idea to say that you're asking an 'elementary' question
to Statalist. Such posts often get deleted on sight, because it suggests
that the answer is also elementary, indeed so elementary that you didn't
really need to ask the list in the first place!
Hope that helps.
CLIVE NICHOLAS |t: 0(044)7903 397793
Politics |e: email@example.com
Newcastle University |http://www.ncl.ac.uk/geps
Whereever you go and whatever you do, just remember this. No matter how
many like you, admire you, love you or adore you, the number of people
turning up to your funeral will be largely determined by local weather
* For searches and help try: