Description Usage Arguments Value Author(s) See Also Examples
Draws non-parametric bootstrap samples
1 2 3 4 5 6 7 8 9 10 | ## S3 method for class 'lvm'
bootstrap(x,R=100,data,fun=NULL,control=list(),
p, parametric=FALSE, bollenstine=FALSE,
constraints=TRUE,sd=FALSE,silent=FALSE,...)
## S3 method for class 'lvmfit'
bootstrap(x,R=100,data=model.frame(x),
control=list(start=coef(x)),
p=coef(x), parametric=FALSE, bollenstine=FALSE,
estimator=x$estimator,weight=Weight(x),...)
|
x |
|
R |
Number of bootstrap samples |
fun |
Optional function of the (bootstrapped) model-fit defining the statistic of interest |
data |
The data to resample from |
control |
Options to the optimization routine |
p |
Parameter vector of the null model for the parametric bootstrap |
parametric |
If TRUE a parametric bootstrap is calculated. If FALSE a non-parametric (row-sampling) bootstrap is computed. |
bollenstine |
Bollen-Stine transformation (non-parametric bootstrap) for bootstrap hypothesis testing. |
constraints |
Logical indicating whether non-linear parameter constraints should be included in the bootstrap procedure |
estimator |
String definining estimator, e.g. 'gaussian' (see
|
weight |
Optional weight matrix used by |
sd |
Logical indicating whether standard error estimates should be included in the bootstrap procedure |
silent |
Suppress messages |
... |
Additional arguments, e.g. choice of estimator. |
A bootstrap.lvm
object.
Klaus K. Holst
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.