- datL
Data frame in the long format (i.e. each line represents one ID unit in one imputation of one nest) containing all
variables for analysis.
- ID
Variable name or column number of student identifier (ID) variable. ID variable must not contain any missing values.
- wgt
Optional: Variable name or column number of case weighting variable. If no weighting variable is specified,
all cases will be equally weighted.
- L1wgt
Name of Level 1 weight variable. This is optional. If it is not provided, L1wgt
is calculated from the
total weight (i.e., wgt
) and L2wgt
.
- L2wgt
Name of Level 2 weight variable
- type
Defines the replication method for cluster replicates which is to be applied. Depending on type
, additional
arguments must be specified (e.g., PSU
and/or repInd
or repWgt
).
- PSU
Variable name or column number of variable indicating the primary sampling unit (PSU). When a jackknife procedure is applied,
the PSU is the jackknife zone variable. If NULL
, no cluster structure is assumed and
standard errors are computed according to a random sample.
- repInd
Variable name or column number of variable indicating replicate ID. In a jackknife procedure, this is the jackknife replicate
variable. If NULL
, no cluster structure is assumed and standard errors are computed according to a random sample.
- jkfac
Argument is passed to BIFIE.data.jack
and specifies the factor for multiplying jackknife replicate
weights.
- rho
Fay factor for statistical inference. The argument is passed to the fayfac
argument of the
BIFIE.data.jack
function from the BIFIEsurvey
package. See the
corresponding help page for further details. For convenience, if rho = NULL
(the default)
and type = "JK1"
, BIFIE.data.jack
is called with
jktype="JK_GROUP"
and fayfac = rho
, where \(\rho = (N_{cluster} - 1) \times N_{cluster}^{-1}\)
- imp
Name or column number of the imputation variable.
- group
Optional: column number or name of one grouping variable. Note: in contrast to repMean
, only one grouping variable can be specified.
- trend
Optional: name or column number of the trend variable which contains the measurement time of the survey.
repLmer
computes differences for all pairwise contrasts defined by trend variable levels. or three measurement
occasions, i.e. 2010, 2015, and 2020, contrasts (i.e. trends) are computed for 2010 vs. 2015, 2010 vs. 2020, and
2015 vs. 2020.
- dependent
Name or column number of the dependent variable
- formula.fixed
An R formula for fixed effects
- formula.random
An R formula for random effects
- doCheck
Logical: Check the data for consistency before analysis? If TRUE
groups with insufficient data are excluded from
analysis to prevent subsequent functions from crashing.
- na.rm
Logical: Should cases with missing values be dropped?
- clusters
Variable name or column number of cluster variable.
- verbose
Logical: Show analysis information on console?