sample_data {dcm2} | R Documentation |
Simulated Data for Testing Functions
Description
A matrix with randomly simulated data to test the package functions.
Usage
sample_data
Format
A list frame containing 4 tibble
objects:
-
resp_profiles
: Atibble
with 1000 rows and 3 columns. The first column indicatesresp_id
(i.e., the respondent identification number). The second column indicatesatt_1
(i.e., a binary indicator for whether the respondent mastered the first attribute). The third column indicatesatt_2
(i.e., a binary indicator for whether the respondent mastered the second attribute). -
q_matrix
: Atibble
with 8 rows and 2 columns. Each row corresponds to an assessment item, and the column entries provide a binary indicator for whether the item assessed each of the attribute. -
item_params
: Atibble
with 8 rows and 5 columns. Each row corresponds to an item. The first column indicatesitem_id
(i.e., the item identification number). The second column indicatesintercept
(i.e., the true item intercept parameter for the item). The third column indicatesatt_1
(i.e., the true item main effect parameter for the first attribute for the item). The fourth column indicatesatt_2
(i.e., the true item main effect parameter for the second attribute for the item). The fifth column indicatesatt_1__att_2
(i.e., the true item interaction effect parameter for the first and second attributes). -
data
: Atibble
with 8000 rows and 3 columns. The first column indicatesresp_id
(i.e., the respondent identification number). The second column indicatesitem_id
(i.e., the item identification number). The third column indicatesscore
(i.e., the dichotomously scored item response).