LogitZellnerPrior(
predictors,
successes = NULL,
trials = NULL,
prior.success.probability = NULL,
expected.model.size = 1,
prior.information.weight = .01,
diagonal.shrinkage = .5,
optional.coefficient.estimate = NULL,
max.flips = -1,
prior.inclusion.probabilities = NULL)TRUE/FALSE, or 1/-1. This is only used to obtain the empirical
overall success rate, so it can be left NULL if
prior.success.probability is specified.NULL) then this can
be NULL as well, signifying that theoptional.coefficient.estimate, and it is used as a weight for
the prior information matncol(x), representing a guess at
the number of significant predictor variables. Used to obtain the
'spike' portion of the spike and slab prior.NULL then a
default set of probabilities is obtained by setting each element
equal to min(1, expected.model.size / ncol(x)).LogitZellnerPrior, which is a list
with data elements encoding the selected prior values. It inherits
from LogitPrior, which implies that it contains an element
prior.success.probability. This object is intended for use with logit.spike.
$$\beta | \gamma \sim N(b, V)$$ $$\gamma \sim B(\pi)$$
where $\pi$ is the vector of
prior.inclusion.probabilities, and $b$ is the
optional.coefficient.estimate. Conditional on
$\gamma$, the prior information matrix is
$$V^{-1} = \kappa ((1 - \alpha) x^Twx / n + \alpha diag(x^Twx / n))$$
The matrix $x^Twx$ is, for suitable choice of the weight vector $w$, the total Fisher information available in the data. Dividing by $n$ gives the average Fisher information in a single observation, multiplying by $\kappa$ then results in $\kappa$ units of "average" information. This matrix is averaged with its diagonal to ensure positive definiteness.
In the formula above, $\kappa$ is
prior.information.weight, $\alpha$ is
diagonal.shrinkage, and $w$ is a diagonal matrix with all
elements set to prior.success.probability * (1 -
prior.success.probability). The vector $b$ and the matrix
$V^{-1}$ are both implicitly subscripted by $\gamma$,
meaning that elements, rows, or columsn corresponding to gamma = 0
should be omitted.