Description Usage Format Author(s) Source References See Also Examples
Data from the OECD's 2003 Programme for International Student Assessment (PISA) in Belgium.
Also included are 80 so-called "replicate weights" calculated by Westat which must be accounted for using complex survey procedures.
1 |
A data frame with 8796 observations of 102 variables.
PV1MATH1"Plausible values" for child's overall math ability (imputation 1).
PV1MATH2"Plausible values" for child's overall math ability (imputation 2).
PV1MATH3"Plausible values" for child's overall math ability (imputation 3).
PV1MATH4"Plausible values" for child's overall math ability (imputation 4).
ST31Q01Feel confident doing task: "timetable" 1 (very) - 4 (not at all).
ST31Q02Feel confident doing task: "discount" (1-4).
ST31Q03Feel confident doing task: "area" (1-4).
ST31Q04Feel confident doing task: "graphs" (1-4).
ST31Q05Feel confident doing task: "linear" (1-4).
ST31Q06Feel confident doing task: "distance" (1-4).
ST31Q07Feel confident doing task: "quadratics" (1-4).
ST31Q08Feel confident doing task: "rate" (1-4).
ST32Q02"I am just not good at Mathematics" 1 (strongly agree) - 4 (strongly disagree).
ST32Q04"I get good marks in Mathematics" (1-4).
ST32Q06"I learn Mathematics quickly" (1-4).
ST32Q07"I have always believed that Mathematics is one of my best subjects" (1-4).
ST32Q09"In my Mathematics class, I understand even the most difficult work" (1-4).
ESCSIndex of Socio-Economic and Cultural Status.
maleGender (1=Female, 2=male).
school.typeDifficulty level of secondary studies (1-3).
W_FSTUWTOverall survey weight for students.
W_FSTR1BRR replicate.
W_FSTR2BRR replicate.
W_FSTR3BRR replicate.
W_FSTR4BRR replicate.
W_FSTR5BRR replicate.
W_FSTR6BRR replicate.
W_FSTR7BRR replicate.
W_FSTR8BRR replicate.
W_FSTR9BRR replicate.
W_FSTR10BRR replicate.
W_FSTR11BRR replicate.
W_FSTR12BRR replicate.
W_FSTR13BRR replicate.
W_FSTR14BRR replicate.
W_FSTR15BRR replicate.
W_FSTR16BRR replicate.
W_FSTR17BRR replicate.
W_FSTR18BRR replicate.
W_FSTR19BRR replicate.
W_FSTR20BRR replicate.
W_FSTR21BRR replicate.
W_FSTR22BRR replicate.
W_FSTR23BRR replicate.
W_FSTR24BRR replicate.
W_FSTR25BRR replicate.
W_FSTR26BRR replicate.
W_FSTR27BRR replicate.
W_FSTR28BRR replicate.
W_FSTR29BRR replicate.
W_FSTR30BRR replicate.
W_FSTR31BRR replicate.
W_FSTR32BRR replicate.
W_FSTR33BRR replicate.
W_FSTR34BRR replicate.
W_FSTR35BRR replicate.
W_FSTR36BRR replicate.
W_FSTR37BRR replicate.
W_FSTR38BRR replicate.
W_FSTR39BRR replicate.
W_FSTR40BRR replicate.
W_FSTR41BRR replicate.
W_FSTR42BRR replicate.
W_FSTR43BRR replicate.
W_FSTR44BRR replicate.
W_FSTR45BRR replicate.
W_FSTR46BRR replicate.
W_FSTR47BRR replicate.
W_FSTR48BRR replicate.
W_FSTR49BRR replicate.
W_FSTR50BRR replicate.
W_FSTR51BRR replicate.
W_FSTR52BRR replicate.
W_FSTR53BRR replicate.
W_FSTR54BRR replicate.
W_FSTR55BRR replicate.
W_FSTR56BRR replicate.
W_FSTR57BRR replicate.
W_FSTR58BRR replicate.
W_FSTR59BRR replicate.
W_FSTR60BRR replicate.
W_FSTR61BRR replicate.
W_FSTR62BRR replicate.
W_FSTR63BRR replicate.
W_FSTR64BRR replicate.
W_FSTR65BRR replicate.
W_FSTR66BRR replicate.
W_FSTR67BRR replicate.
W_FSTR68BRR replicate.
W_FSTR69BRR replicate.
W_FSTR70BRR replicate.
W_FSTR71BRR replicate.
W_FSTR72BRR replicate.
W_FSTR73BRR replicate.
W_FSTR74BRR replicate.
W_FSTR75BRR replicate.
W_FSTR76BRR replicate.
W_FSTR77BRR replicate.
W_FSTR78BRR replicate.
W_FSTR79BRR replicate.
W_FSTR80BRR replicate.
WVARSTRRRandomized final variance stratum (1-80).
Daniel Oberski - http://daob.nl/ - daniel.oberski@gmail.com
This dataset was retrieved from http://www.oecd.org/pisa/ and converted to an R dataset.
For more information regarding the variables and the model estimated below, please see Ferla et al. (2009) and/or the PISA manual (OECD, 2009).
Ferla J, Valcke M, Cai Y (2009). "Academic Self-Efficacy and Academic Self- Concept: Reconsidering Structural Relationships." Learning and Individual Differences, 19(4), 499-505.
Oberski, D.L. (2014). lavaan.survey: An R Package for Complex Survey Analysis of Structural Equation Models. Journal of Statistical Software, 57(1), 1-27. http://www.jstatsoft.org/v57/i01/.
OECD (2009). PISA Data Analysis Manual: SPSS and SAS. 2nd edition. OECD.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | data(pisa.be.2003)
# Simplified version of Ferla et al. (2009) model.
model.pisa <- "
math =~ PV1MATH1 + PV1MATH2 + PV1MATH3 + PV1MATH4
neg.efficacy =~ ST31Q01 + ST31Q02 + ST31Q03 + ST31Q04 +
ST31Q05 + ST31Q06 + ST31Q07 + ST31Q08
neg.selfconcept =~ ST32Q02 + ST32Q04 + ST32Q06 + ST32Q07 + ST32Q09
neg.selfconcept ~ neg.efficacy + ESCS + male
neg.efficacy ~ neg.selfconcept + school.type + ESCS + male
math ~ neg.selfconcept + neg.efficacy + school.type + ESCS + male
"
# Fit the model using lavaan
fit <- lavaan(model.pisa, data = pisa.be.2003, auto.var = TRUE, std.lv = TRUE,
meanstructure = TRUE, int.ov.free = TRUE, estimator = "MLM")
## Not run due to CRAN policies,
## uncomment below to account for replicate weights:
## Define the survey design using the BRR replicate weights provided by PISA
## Note that these settings will work for _any_ analysis of PISA data...
#des.rep <- svrepdesign(ids = ~1, weights = ~W_FSTUWT, data = pisa.be.2003,
# repweights = "W_FSTR[0-9]+", type = "Fay", rho = 0.5)
## Fit the SEM model accounting for replicate weights
#fit.surv <- lavaan.survey(lavaan.fit = fit, survey.design = des.rep)
#fit # Show fitmeasures results
#fit.surv # Show fitmeasures results
|
Loading required package: lavaan
This is lavaan 0.6-7
lavaan is BETA software! Please report any bugs.
Loading required package: survey
Loading required package: grid
Loading required package: Matrix
Loading required package: survival
Attaching package: ‘survey’
The following object is masked from ‘package:graphics’:
dotchart
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.