pirls.log.pv performs logistic regression with plausible values and replicate weights.
pirls.log.pv(pvlabel, x, cutoff, by,
data, export=FALSE, name= "output", folder=getwd())
pirls.log.pv returns a data frame with coefficients, standard errors, t-values, and odds ratios. If "by" is specified, results are reported in a list.
The names of columns corresponding to the achievement plausible scores.
Data labels of independent variables.
The cut-off point at which the dependent plausible values scores are dichotomised (1 is larger than the cut-off)
The label for the categorical grouping variable (i.e., by="IDCNTRYL") or variables (e.g., x= c("IDCNTRYL", "ITSEX")).
An R object, normally a data frame, containing the data from PIRLS.
A logical value. If TRUE, the output is exported to a file in comma-separated value format (.csv) that can be opened from LibreOffice or Excel.
The name of the exported file.
The folder where the exported file is located.
pisa.log.pv, timss.log.pv