John Sorkin
2006-Jul-10 13:16 UTC
[R] How can I obtain the values of BIAS and STD. ERROR from a bootstrap.
R 2.3.1
Windows XP
Question: How can I obtain the values of BIAS and STD. ERROR from a
bootstrap.
Background:
I am running a bootstrap:
result2<-boot(1:400,regSEvssample,R=5000)
and obtain the following results:
Bootstrap Statistics :
original bias std. error
t1* 1.876602 -0.0001368616 0.1630380
I would like to get the values of ORIGINAL and BIAS. I can get the
value of ORIGINAL:
> result2$t0
[1] 1.876602
But I can't find a way to get the values of BIAS or STD. ERROR. Can
someone suggest how I can obtain the values for these two statistics?
Thanks,
John
John Sorkin M.D., Ph.D.
Chief, Biostatistics and Informatics
Baltimore VA Medical Center GRECC,
University of Maryland School of Medicine Claude D. Pepper OAIC,
University of Maryland Clinical Nutrition Research Unit, and
Baltimore VA Center Stroke of Excellence
University of Maryland School of Medicine
Division of Gerontology
Baltimore VA Medical Center
10 North Greene Street
GRECC (BT/18/GR)
Baltimore, MD 21201-1524
410-605-7119
jsorkin at grecc.umaryland.edu
Prof Brian Ripley
2006-Jul-10 13:31 UTC
[R] How can I obtain the values of BIAS and STD. ERROR from a bootstrap.
Look at the code of boot:::print.boot , which does the calculations. On Mon, 10 Jul 2006, John Sorkin wrote:> R 2.3.1 > Windows XP > > Question: How can I obtain the values of BIAS and STD. ERROR from a > bootstrap. > > Background: > I am running a bootstrap: > result2<-boot(1:400,regSEvssample,R=5000) > > and obtain the following results: > > Bootstrap Statistics : > original bias std. error > t1* 1.876602 -0.0001368616 0.1630380 > > I would like to get the values of ORIGINAL and BIAS. I can get the > value of ORIGINAL: > >> result2$t0 > [1] 1.876602 > > But I can't find a way to get the values of BIAS or STD. ERROR. Can > someone suggest how I can obtain the values for these two statistics? > > Thanks, > John > > John Sorkin M.D., Ph.D. > Chief, Biostatistics and Informatics > Baltimore VA Medical Center GRECC, > University of Maryland School of Medicine Claude D. Pepper OAIC, > University of Maryland Clinical Nutrition Research Unit, and > Baltimore VA Center Stroke of Excellence > > University of Maryland School of Medicine > Division of Gerontology > Baltimore VA Medical Center > 10 North Greene Street > GRECC (BT/18/GR) > Baltimore, MD 21201-1524 > > 410-605-7119 > jsorkin at grecc.umaryland.edu > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html >-- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595