Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Using -estat bootstrap- with -parmby-


From   "Maclennan, Graeme S." <g.maclennan@abdn.ac.uk>
To   "'statalist@hsphsun2.harvard.edu'" <statalist@hsphsun2.harvard.edu>
Subject   st: Using -estat bootstrap- with -parmby-
Date   Wed, 13 Apr 2011 16:35:45 +0100

Statalist, I would like to use -parmest- from SSC to store estimates of intraclass correlation coefficients (ICCs)  and the bias-corrected and accelerated (BCa) confidence interval (CI) to create a large table (I will apply use -saving- option and concatenate when I get this problem sorted).  To get at the BCa CI I need to run -estat bootstrap, bca- after -loneway-.  All fine so far, but when I use -parmby- as below it seems to pick up the normal CI, not the Bca CI, even though the table that is produced in the results viewer is the correct table. I have made up an example using the auto.dta dataset to highlight this.  Am I doing something silly, or missing something obvious?
Graeme.

****begin*******
sysuse auto, clear
split make
bootstrap ICC=r(rho), cluster(make1) bca idcluster(newmake1) reps(50) seed(1):  loneway price newmake1
estat bootstrap, all
parmby "estat bootstrap, bca", list(parm  estimate min95 max95 p ,clean noobs)
*******end********





The University of Aberdeen is a charity registered in Scotland, No SC013683.

*
*   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/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index