lmBoot: Compute bootstrapped linear regression

Description Usage Arguments Value

View source: R/linReg.R

Description

Compute bootstrapped linear regression

Usage

1
lmBoot(y, X, nboot = 100, intercept = T, boot.type = "np")

Arguments

y

Numeric Vector of dependent variables

X

Numeric Matrix or data.frame of dim n x k, where n is the number of observations and k the number of independent variables

nboot

Number of bootstrap iterations (default is 100)

intercept

Logical, specifying whether an intercept should be used (default is TRUE)

boot.type

Character string specifying which bootstrap type should be used. Must be either "np" (Non-parametric, default) or "wild" (Wild Rademacher bootstrap)

Value

Vector of sample skewness for all rows


spruenke/nboot documentation built on April 2, 2021, 3:10 p.m.