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

data(cmdata)

Format

an object of class "data.frame"

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(cmdata)
head(cmdata)
#>   Y A weight    p p.prime
#> 1 1 1   1.25 0.15    0.15
#> 2 0 0   1.25 0.15    0.15
#> 3 0 0   1.25 0.15    0.15
#> 4 1 0   5.00 0.15    0.15
#> 5 0 1   1.25 0.15    0.15
#> 6 1 1   1.25 0.15    0.15