summary.bootReg: Display the result fo the bootstrap computation

View source: R/summary.bootReg.R

summary.bootRegR Documentation

Display the result fo the bootstrap computation

Description

Display the result fo the bootstrap computation

Usage

## S3 method for class 'bootReg'
summary(
  object,
  p.value = TRUE,
  conf = 0.95,
  type = NULL,
  index = NULL,
  print = TRUE,
  n.subset = NULL,
  ...
)

Arguments

object

object obtained with the function bootReg

p.value

should the p.value be computed? Can be time consuming.

conf

the confidence level of the confidence intervals.

type

the method used to compute the confidence intervals. See the documentation of boot::boot.ci.

index

for which parameters confidence intervals/p.values should be computed? Default is for all parameters.

print

should the summary be displayed in the terminal?

n.subset

if not NULL display in addition intervals/p.values for subset of the bootstrap samples.

...

not used

Details

This function calls the boot.ci from the boot package to compute the confidence intervals.

P.value are computed by finding the confidence level for which one bound of the confidence interval touches 0.

When the number of bootstrap sample is too low, the function (in fact boot.ci) will return warnings like "extreme order statistics used as endpoints".


bozenne/butils documentation built on Oct. 14, 2023, 6:19 a.m.