Usage
analyze2x2(C00, C01, C10, C11, a00, a01, a10, a11, b00, b01, b10, b11, c00, c01, c10, c11, nsamp = 50000)
Arguments
C00
The number of observations in $(X=0,
Y=0)$ cell of the table. In other words, the number of observations
that received control and failed.
C01
The number of observations in $(X=0,
Y=1)$ cell of the table. In other words, the number of observations
that received control and succeeded.
C10
The number of observations in $(X=1,
Y=0)$ cell of the table. In other words, the number of observations
that received treatment and failed.
C11
The number of observations in $(X=1,
Y=1)$ cell of the table. In other words, the number of observations
that received treatment and succeeded.
a00
One of four parameters (with a01, a10, and
a11 governing the Dirichlet prior for $theta$
(the joint probabilities of $X$ and $Y$). This prior has the
effect of adding a00 - 1 observations to the $(X=0, Y=0)$
cell of the table.
a01
One of four parameters (with a00, a10, and
a11 governing the Dirichlet prior for $theta$
(the joint probabilities of $X$ and $Y$). This prior has the
effect of adding a01 - 1 observations to the $(X=0, Y=1)$
cell of the table.
a10
One of four parameters (with a00, a01, and
a11 governing the Dirichlet prior for $theta$
(the joint probabilities of $X$ and $Y$). This prior has the
effect of adding a10 - 1 observations to the $(X=1, Y=0)$
cell of the table.
a11
One of four parameters (with a00, a01, and
a10 governing the Dirichlet prior for $theta$
(the joint probabilities of $X$ and $Y$). This prior has the
effect of adding a11 - 1 observations to the $(X=1, Y=1)$
cell of the table.
b00
One of two parameters (with c00) governing the
beta prior for the distribution of potential outcome types within
the $(X=0, Y=0)$ cell of the table. This prior adds the same
information as would be gained from observing b00 - 1 Helped
units in the $(X=0, Y=0)$ cell of the table.
b01
One of two parameters (with c01) governing the
beta prior for the distribution of potential outcome types within
the $(X=0, Y=1)$ cell of the table. This prior adds the same
information as would be gained from observing b01 - 1 Always Succeed
units in the $(X=0, Y=1)$ cell of the table.
b10
One of two parameters (with c10) governing the
beta prior for the distribution of potential outcome types within
the $(X=1, Y=0)$ cell of the table. This prior adds the same
information as would be gained from observing b10 - 1 Hurt
units in the $(X=1, Y=0)$ cell of the table.
b11
One of two parameters (with c11) governing the
beta prior for the distribution of potential outcome types within
the $(X=1, Y=1)$ cell of the table. This prior adds the same
information as would be gained from observing b11 - 1 Always Succeed
units in the $(X=1, Y=1)$ cell of the table.
c00
One of two parameters (with b00) governing the
beta prior for the distribution of potential outcome types within
the $(X=0, Y=0)$ cell of the table. This prior adds the same
information as would be gained from observing b00 - 1 Never Succeed
units in the $(X=0, Y=0)$ cell of the table.
c01
One of two parameters (with b01) governing the
beta prior for the distribution of potential outcome types within
the $(X=0, Y=1)$ cell of the table. This prior adds the same
information as would be gained from observing c01 - 1 Hurt
units in the $(X=0, Y=1)$ cell of the table.
c10
One of two parameters (with b10) governing the
beta prior for the distribution of potential outcome types within
the $(X=1, Y=0)$ cell of the table. This prior adds the same
information as would be gained from observing c10 - 1 Never Succeed
units in the $(X=1, Y=0)$ cell of the table.
c11
One of two parameters (with b11) governing the
beta prior for the distribution of potential outcome types within
the $(X=1, Y=1)$ cell of the table. This prior adds the same
information as would be gained from observing b11 - 1 Helped
units in the $(X=1, Y=1)$ cell of the table.
nsamp
Size of the Monte Carlo sample used to summarize the posterior.