MCodes: Methodological Codes

MCodesR Documentation

Methodological Codes

Description

Factor loading matrix for IRT-M vignette. This is a 793 row and 9 column dataset. The rows are derived from the binary encoding of the synthetic survey, with a row for every binarized question in the survey. The first 56 rows are retained metadata, and have lots of NA.

The data format is an intermediary processing for IRT-M, and is detailed in the vignette text.

@format A data frame with the following variables: #'

QCode

Mapping of the dimension coding key to the underlying question in the original (synthetic) survey data. The first 56 rows are blank because they map to survey and respondent metadata that doesn't relate to dimensions.

QMap

Mapping to the question in data processed by the vignette for variable estimation.

SubstantiveNotes

Brief human readable comments on the substantive meaning of the coded questions. These are for convenience of reference.

D1-Culture threat

Loading vector for the cultural threat dimension. A 1 indicates that the question is expected to load.

D2-ReligionThreat

Loading vector for the religious threat dimension.

D3-Economic Threat

Loading vector for the economic threat dimension.

D4-HealthThreat

Loading vector for the health threat dimension.

O1-OutcomeSupportImmigration

Loading vector for the immigration support composite.

O2-OutcomeSupportEU

Loading vector for the European Union support composite.

Details

Datasets for IRT-M Package

MCodes, synth_idvs, and synth_questions are included in the vignette

Source

IRT-M vignette walk through.


IRTM documentation built on June 8, 2025, 10:46 a.m.