BIFIE.data
Object based on BootstrapBIFIE.data.boot.Rd
Creates a BIFIE.data
object based on bootstrap designs.
The sampling is done assuming independence of cases.
BIFIE.data.boot( data, wgt=NULL, pv_vars=NULL,
Nboot=500, seed=.Random.seed, cdata=FALSE)
Data frame: Can be a single or a list of multiply imputed datasets
A string indicating the label of case weight.
An optional vector of plausible values which define multiply imputed datasets.
Number of bootstrap samples for usage
Simulation seed.
An optional logical indicating whether the BIFIEdata
object should be compactly saved. The default is FALSE
.
Object of class BIFIEdata
if (FALSE) {
#############################################################################
# EXAMPLE 1: Bootstrap TIMSS data set
#############################################################################
data(data.timss1)
# bootstrap samples using weights
bifieobj1 <- BIFIEsurvey::BIFIE.data.boot( data.timss1, wgt="TOTWGT" )
summary(bifieobj1)
# bootstrap samples without weights
bifieobj2 <- BIFIEsurvey::BIFIE.data.boot( data.timss1 )
summary(bifieobj2)
}