Where is the stud.ci() function used in boot.ci()?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Where is the stud.ci() function used in boot.ci()?

Christopher R. Bilder
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: [hidden email] or [hidden email]
Website: www.chrisbilder.com
 

        [[alternative HTML version deleted]]

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Reply | Threaded
Open this post in threaded view
|

Re: Where is the stud.ci() function used in boot.ci()?

Gabor Grothendieck
boot:::stud.ci

On 1/7/06, Christopher R. Bilder <[hidden email]> 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: [hidden email] or [hidden email]
> Website: www.chrisbilder.com
>
>
>        [[alternative HTML version deleted]]
>
> ______________________________________________
> [hidden email] mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Reply | Threaded
Open this post in threaded view
|

Re: Where is the stud.ci() function used in boot.ci()?

Prof Brian Ripley
In reply to this post by Christopher R. Bilder
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: [hidden email] or [hidden email]
> Website: www.chrisbilder.com
>
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> [hidden email] 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,                  [hidden email]
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

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html