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, the outcome variable, two covariates, and auxiliary probabilities in the crosswise and anchor questions, respectively (these columns are only included here for an illustrative purpose).

data(cmdata3)

Format

an object of class "data.frame"

V

an outcome variable

female

A binary covariate representing being a female

age

A discrete covariate representing age

Y

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

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(cmdata3)
head(cmdata3)
#>             V female age Y A   p p.prime
#> 1 -0.38350925      0  23 1 1 0.1    0.15
#> 2 -0.05965305      1  31 1 1 0.1    0.15
#> 3  0.72655660      1  32 0 1 0.1    0.15
#> 4  0.79845870      1  19 1 0 0.1    0.15
#> 5 -0.19410532      1  19 0 1 0.1    0.15
#> 6 -0.34926673      1  25 0 1 0.1    0.15