Christopher R. Bilder
2006-Jan-07 21:12 UTC
[R] Where is the stud.ci() function used in boot.ci()?
Hello! I am trying to duplicate the studentized bootstrap confidence interval calculations in boot.ci() without using boot.ci(). My w/o boot.ci() calculations are close to boot.ci() using the same object from implementation of boot(), but not quite the same (I think the differences are due to how quantiles are computed for z*). Through examining the boot.ci() code, I can see there is a call out to a function called stud.ci(). Obviously, examining this function would be very helpful to see how the calculations are truly done! So, I am trying to find the actual function code for the stud.ci() function. Sorry if this is a simple question, but does anyone know how this function code can be seen? Unfortunately, this function can not be seen in R through simply typing its name at the command prompt and there is no help entry for it. Also, there is no obvious file name in boot_1.2-24.zip at http://cran.r-project.org/src/contrib/Descriptions/boot.html for the specific function. Thank you in advance! Chris Bilder University of Nebraska-Lincoln Department of Statistics Lincoln, NE 68583 E-mail: cbilder3@unl.edu or chris@chrisbilder.com Website: www.chrisbilder.com [[alternative HTML version deleted]]
Gabor Grothendieck
2006-Jan-07 21:17 UTC
[R] Where is the stud.ci() function used in boot.ci()?
boot:::stud.ci On 1/7/06, Christopher R. Bilder <cbilder at earthlink.net> wrote:> Hello! > > I am trying to duplicate the studentized bootstrap confidence interval > calculations in boot.ci() without using boot.ci(). My w/o boot.ci() > calculations are close to boot.ci() using the same object from > implementation of boot(), but not quite the same (I think the differences > are due to how quantiles are computed for z*). Through examining the > boot.ci() code, I can see there is a call out to a function called > stud.ci(). Obviously, examining this function would be very helpful to see > how the calculations are truly done! So, I am trying to find the actual > function code for the stud.ci() function. Sorry if this is a simple > question, but does anyone know how this function code can be seen? > Unfortunately, this function can not be seen in R through simply typing its > name at the command prompt and there is no help entry for it. Also, there > is no obvious file name in boot_1.2-24.zip at > http://cran.r-project.org/src/contrib/Descriptions/boot.html for the > specific function. > > Thank you in advance! > > Chris Bilder > > > University of Nebraska-Lincoln > Department of Statistics > Lincoln, NE 68583 > E-mail: cbilder3 at unl.edu or chris at chrisbilder.com > Website: www.chrisbilder.com > > > [[alternative HTML version deleted]] > > ______________________________________________ > 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 >
Prof Brian Ripley
2006-Jan-07 22:15 UTC
[R] Where is the stud.ci() function used in boot.ci()?
Try one of getAnywhere("stud.ci") boot:::stud.ci However, I think you would do better to get the source package (boot_1.2-24.tar.gz) and study the source code. (The .zip is a Windows binary, and that is not supposed to be human-readable.) On Sat, 7 Jan 2006, Christopher R. Bilder wrote:> Hello! > > I am trying to duplicate the studentized bootstrap confidence interval > calculations in boot.ci() without using boot.ci(). My w/o boot.ci() > calculations are close to boot.ci() using the same object from > implementation of boot(), but not quite the same (I think the differences > are due to how quantiles are computed for z*). Through examining the > boot.ci() code, I can see there is a call out to a function called > stud.ci(). Obviously, examining this function would be very helpful to see > how the calculations are truly done! So, I am trying to find the actual > function code for the stud.ci() function. Sorry if this is a simple > question, but does anyone know how this function code can be seen? > Unfortunately, this function can not be seen in R through simply typing its > name at the command prompt and there is no help entry for it. Also, there > is no obvious file name in boot_1.2-24.zip at > http://cran.r-project.org/src/contrib/Descriptions/boot.html for the > specific function. > > Thank you in advance! > > Chris Bilder > > > University of Nebraska-Lincoln > Department of Statistics > Lincoln, NE 68583 > E-mail: cbilder3 at unl.edu or chris at chrisbilder.com > Website: www.chrisbilder.com > > > [[alternative HTML version deleted]] > > ______________________________________________ > 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
Possibly Parallel Threads
- online classes or online eduction in statistics? esp. time series analysis and cointegration?
- where is the source code of bca.ci?
- boot.ci error with large data sets
- Fast growing startup looking for a Senior Stud Rails Developer in India
- remove_index appends suffix "_index" to the given name!