Typical, artificially generated toy data set that comes with the binary response in the crosswise question (Y=1 if TRUE-TRUE or FALSE-FALSE, Y=0 otherwise), the binary response in the anchor question, two covariates, and auxiliary probabilities in the crosswise and anchor questions, respectively (these columns are only included here for an illustrative purpose).

data(cmdata2)

Format

an object of class "data.frame"

Y

a binary indicator for the crosswise item (TRUE-TRUE or FALSE-FALSE) in the crosswise question

female

A binary covariate representing being a female

age

A discrete covariate representing age

A

a binary indicator for the crosswise item (TRUE-TRUE or FALSE-FALSE) in the anchor question

p

an auxiliary probability in the crosswise question

p.prime

an auxiliary probability in the anchor question

References

This data set was artificially created for the cWise package.

Examples


data(cmdata2)
head(cmdata2)
#>   Y female age A   p p.prime
#> 1 1      0  23 1 0.1    0.15
#> 2 1      1  31 1 0.1    0.15
#> 3 0      1  32 1 0.1    0.15
#> 4 1      1  19 0 0.1    0.15
#> 5 0      1  19 1 0.1    0.15
#> 6 0      1  25 1 0.1    0.15