wildboot | R Documentation |
Wild Bootstrap for regression model.
wildboot(object, ...)
## S3 method for class 'reg'
wildboot(object, reps = 999, null,
type = c("radamacher", "mtp", "mn1", "mn2"), ...)
a |
suitable regression object |
reps |
number of bootstrap replications |
null |
a named list containing the null hypothesis |
type |
type of weighting (see details) |
... |
other arguments |
Calculate several wild bootstrapped t-statistics.
An object of class wild.reg
NULL
Giuseppe Ragusa
data(CASchools)
CASchools <- transform(CASchools, testscore=(math+read)/2, str = students/teachers)
lm1 <- reg(testscore~str, cluster=county, data = CASchools)
wb1 <- wildboot(lm1, null = list(str=0))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.