## Not run:
# ## Example from Quinn (2008)
# ## (original data from Oliver and Wolfinger. 1999.
# ## ``Jury Aversion and Voter Registration.''
# ## American Political Science Review. 93: 147-152.)
# ##
# ## Y=0 Y=1
# ## X=0 19 143
# ## X=1 114 473
# ##
#
# ## a prior belief in an essentially negative monotonic treatment effect
# S.mono <- analyze2x2(C00=19, C01=143, C10=114, C11=473,
# a00=.25, a01=.25, a10=.25, a11=.25,
# b00=0.02, c00=10, b01=25, c01=3,
# b10=3, c10=25, b11=10, c11=0.02)
#
# ## ATE (the default)
# plot(S.mono)
#
# ## ATC instead of ATE
# plot(S.mono, estimand="ATC")
#
# ## different colors
# plot(S.mono, estimand="ATC", color1.pf="red", color2.pf="blue",
# color1.sens="gray", color2.sens="orange")
#
# ## End(Not run)
Run the code above in your browser using DataLab