cmBound is used to apply a sensitivity analysis and
visualize the sensitivity bounds for naive crosswise estimates. The
sensitivity analysis assumes that inattentive respondents choose either
response option with equal probability.
cmBound(lambda.hat, p, N, dq = NULL, N.dq = NULL)a value for the observed crosswise proportion: Prop(TRUE-TRUE or FALSE-FALSE).
an auxiliary probability for the crosswise question. It must be a single finite value strictly between 0 and 1, excluding 0.5.
a value for the number of survey respondents in the crosswise (and anchor) question.
a value for a point estimate from direct questioning (if available).
a value for the number of survey respondents in direct questioning (if available).
A ggplot object visualizing the result of sensitivity analysis.
Atsusaka, Y. and Stevenson, R. T. (2023). The crosswise model for sensitive survey questions. doi:10.1017/pan.2021.43 .
[bc_est()] for bias-corrected prevalence estimation.
p <- cmBound(lambda.hat=0.6385, p=0.25, N=310, dq=0.073, N.dq=310)
p
p <- p + ggplot2::ggtitle("Sensitivity Analysis") +
ggplot2::theme(plot.title = ggplot2::element_text(size=20, face="bold"))