following the footsteps of its older cousin - the program for international student assessment (pisa) - the piaac survey administrators at oecd and participating countries publish only a nightmarish tangle of custom sas (groan) and stata (gasp) macros for you to learn and implement for the sake of just one public-use survey. why does bad software happen to good people? rather than spending all your time translating ancient greek and all your money on proprietary statistical products, you can use the r survey package and buy me a drink. this new github repository contains three scripts:
download import and design.R
- download and import every microdata file published by oecd (but click here to get australia)
- disperse each data.frame object into ten separate data.frames, one for each plausible value
- construct a multiply-imputed, replicate-weighted jackknife complex sample survey design and save
analysis examples.R
- load the survey design for my favorite country into working memory
- recode one or two variables because it's a cinch
- analyze the survey design with syntax mirroring most any other multiply-imputed survey data
replication.R
- load the survey design for austria and belgium into working memory. because, you know, the alphabet.
- match statistics and standard errors provided by oecd on not one but two tabs of this excel table
- for loop through every country to hit the stats and standard errors provided by oecd on pdf page 48 of this pdf table
click here to view these three scripts
for more detail about the programme for the international assessment of adult competencies (piaac), visit:
- the oecd's piaac online table creator. and another. plus, if you like online table creators, i have much more to say
- the impressive list of publications constructed from this survey
- the calendar of future rounds, includes more countries
- ten dozen pages explaining the derivation of literacy, numeracy, and problem solving skills metrics
notes:
while preparing your own analysis, you'll surely need the (fantastic) codebook. aside from that, idk what else to say.. oecd supports only lousy statistical languages to analyze their marvelous data; now you can use a powerful programming language to analyze the same rich data set. i suppose if you're bored, you could take the piaac test yourself.
confidential to sas, spss, stata, and sudaan users: maybe it's time you join the subphylum vertebrata of the statistical software kingdom. maybe it's time to transition to r. :D