pisa.mean.pv: Calculates mean achievement score

Description Usage Arguments Value See Also Examples

View source: R/pisa.mean.pv.R

Description

pisa.mean.pv uses five plausible values to calculate the mean achievement score and its standard error Use the pisa2015.mean.pv() for data from PISA 2015 study.

Usage

1
2
3
4
pisa.mean.pv(pvlabel, by, data, export = FALSE, name = "output", 
     folder = getwd())
pisa2015.mean.pv(pvlabel, by, data, export = FALSE, name = "output", 
     folder = getwd())

Arguments

pvlabel

The label corresponding to the achievement variable, for example, "READ", for overall reading performance.

by

The label for the grouping variable, usually the countries (i.e., by="IDCNTRYL"), but could be any other categorical variable.

data

An R object, normally a data frame, containing the data from PIRLS.

export

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.

name

The name of the exported file.

folder

The folder where the exported file is located.

Value

pisa.mean.pv returns a data frame with the mean values and standard errors.

See Also

timss.mean.pv, pirls.mean.pv, piaac.mean.pv

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
## Not run: 
# Table I.2.3a, p. 305 International Report 2012 
pisa.mean.pv(pvlabel = "MATH", by = "IDCNTRYL", data = pisa)
pisa.mean.pv(pvlabel = "MATH", by = c("IDCNTRYL", "ST04Q01"), data = pisa)

# Table III.2.1a, p. 232, International Report 2012
pisa.mean.pv(pvlabel="MATH", by=c("IDCNTRYL", "ST08Q01"), data=pisa)

# Figure I.2.16 p. 56 International Report 2009
pisa.mean.pv(pvlabel = "READ", by = "IDCNTRYL", data = pisa)

# PISA 2015
pisa2015.mean.pv(pvlabel = "READ", by = "CNT", data = stud2015)


## End(Not run)

dickli/intsvy2 documentation built on Sept. 8, 2020, 12:05 a.m.