intsvy.ben.pv: Performance international benchmarks and proficiency levels

View source: R/intsvy.ben.pv.R

intsvy.ben.pvR Documentation

Performance international benchmarks and proficiency levels

Description

intsvy.ben.pv calculates the percentage of students performing at or above the cut-off points (scores) given by the useR. The default are the benchmarks established by official reports.

Usage

intsvy.ben.pv(pvnames,  by, cutoff, data, atlevel=FALSE, export = FALSE, name = "output", 
  folder = getwd(), config)

Arguments

pvnames

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

cutoff

The cut-off points for the assessment benchmarks (e.g., cutoff= c(357.77, 420.07, 482.38, 544.68, 606.99, 669.30)).

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.

atlevel

A logical value. If TRUE, percentages at each level are calculated. Otherwise (FALSE), percentages at or above levels are reported.

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.

config

Object with configuration of a given study. Should contain the slot 'prefixes' with prefixes of filenames with the student, home, school, and teacher data.

Value

pirls.ben.pv returns a data frame with the percentage of students at or above the benchmark and the corresponding standard error.

See Also

timss.ben.pv, pirls.ben.pv, pisa.ben.pv

Examples

## Not run: 
pisa.ben.pv(pvlabel="MATH", by="CNT", data=pisa, atlevel = TRUE)
intsvy.ben.pv(pvnames="MATH", by="CNT", data=pisa, atlevel= TRUE, config=pisa_conf)

piaac.ben.pv(pvlabel="LIT", by="CNTRYID", data=piaac)
intsvy.ben.pv(pvnames="LIT", by="CNTRYID", data=piaac, config=piaac_conf)

timss.ben.pv(pvlabel="ASMMAT", by="IDCNTRYL", data=timss4)
intsvy.ben.pv(pvnames="ASMMAT", by="IDCNTRYL", data=timss4, config=timss4_conf)

## End(Not run)

intsvy documentation built on Aug. 6, 2022, 5:06 p.m.