lsasim simulates data that mimics large-scale assessments (LSAs), including background questionnaire data and cognitive item responses that adhere to a multiple-matrix sampled design
Functions to Facilitate the Simulation of Large Scale Assessment Data
Note
This package contains vignettes. If you are installing lsasim from
GitHub, remember to use build_vignettes=TRUE in your
remotes::install_github() call. Afterwards, you can browse the vignettes
by issuing browseVignettes("lsasim") in your R terminal.
Core functions
block_designAssignment of test items to blocks.booklet_designAssignment of item blocks to test booklets.booklet_sampleAssignment of test booklets to test takers.item_genGeneration of random correlation matrix.proportion_genGeneration of random cumulative proportions.questionnaire_genGeneration of ordinal and continuous variables.response_genGeneration of item response data using a rotated block design.cluster_genGeneration of background questionnaires from a cluster sampling scheme.
Useful ancillary functions
irt_genGenerate item responses from an IRT model. Used byresponse_gen.beta_genCalculates analytical and numeric regression coefficients for the background questionnaire responses as functions of the latent variable. Used byquestionnaire_gen
Author
Maintainer: Waldir Leoncio w.l.netto@medisin.uio.no
Authors:
Waldir Leoncio w.l.netto@medisin.uio.no
Tyler Matta tyler.matta@gmail.com
Leslie Rutkowski leslie.rutkowski@cemo.uio.no
David Rutkowski david.rutkowski@cemo.uio.no
Yuan-Ling Linda Liaw y.l.liaw@cemo.uio.no
Other contributors:
Kondwani Kajera Mughogho k.k.mughogho@cemo.uio.no [contributor]
Sinan Yavuz [contributor]
Paul Bailey [contributor]