pisa.per.pv: PISA percentiles

Description Usage Arguments Value See Also Examples

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

Description

Calculates percentiles for plausible values. Use the pisa2015.per.pv() for data from PISA 2015 study.

Usage

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

Arguments

pvlabel

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

per

User-defined percentiles (e.g., per = c(5, 10, 25, 75, 90, 95)).

by

The label of the categorical grouping variable (e.g., by="IDCNTRYL") or variables (e.g., by=c("IDCNTRYL", "ST79Q03")).

data

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

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.per.pv returns a data frame with percentiles and associated standard errors. Default weights (e.g. "TOTWGT" in TIMSS) and percentiles are specified in the config parameter.

See Also

timss.per.pv, pirls.per.pv

Examples

1
2
3
4
5
6
7
  ## Not run: 
    # Table I.2.3d, p. 309 International Report 2012 Volume I
    pisa.per.pv(pvlabel="MATH", per=c(10, 25, 75, 90), by="IDCNTRYL", data=pisa)
    # PISA 2015
    pisa2015.per.pv(pvlabel="MATH", per=c(10, 25, 75, 90), by="CNT", data=stud2015)
  
## End(Not run)

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