Description Usage Arguments Value References
This function estimates a four-dimensional latent regression model (first dimension: PIAAC-L 2015 literacy, second dimension: PIAAC-L 2015 numeracy, third dimension: PIAAC-L 2015 reading, fourth dimension: PIAAC-L 2015 mathematics) for binary item response data considering partially missing covariate data. Anchor persons and their partners are treated as one observation. For more detailed information on the statistical model and the estimation algorithm, see the PIAAC-L technical report on scaling (Carstensen, Gaasch & Rothaug, 2017).
1 2 | anchorpartner15(path, Xanchor = NULL, Xpartner = NULL, nopvs = 10,
itermcmc = 22000, burnin = 2000)
|
path |
full path of the folder containing the data files ZA5845 and ZA5989_Persons_15 in Stata format. |
Xanchor |
data frame containing the permanent person ID (named |
Xpartner |
data frame containing the permanent person ID (named |
nopvs |
number of plausible values to draw for each respondent. |
itermcmc |
number of MCMC iterations. |
burnin |
number of burnin iterations. |
list with nopvs
elements, each containing a data frame of the sequential ID, plausible values for
each dimension and, if specified, imputed versions of X
. Additionally each list element is saved as a
Stata file in the folder specified by path
.
Carstensen, C. H., Gaasch, J.-C., & Rothaug, E. (2017). Scaling PIAAC-L cognitive data: technical report. Manuscript in preparation.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.