Learn R Programming

StagedChoiceSplineMix (version 1.0.0)

bs.se: Performs a parametric bootstrapping standard error approximation

Description

The function performs a parametric bootstrapping standard error approximation for mixtures of two-stage logistic regressions.

Usage

bs.se(output, B = 100)

Arguments

output
B
number of bootstrap samples (def:100)

See Also

StagedChoiceSplineMix boot.se

Examples

Run this code
## parametric bootstrapping to calculate standard error:
## use best output from StagedChoiceSplineMix exampl
#out.se<-bs.se(output=out$best, B=100)
#out.se$betab.se
#out.se$betaw.se
#out.se$lambda.se

Run the code above in your browser using DataLab