4 Bayes linear method for categorical data
Kelly Cristina M. Gonçalves, Fernando A. S. Moura et Helio S. Migon
Previous | Next
Often
one may be interested in cases where the observed characteristic is whether or
not the population unit possesses some attribute of interest. We can define a
dichotomized variable
if the
unit has that
attribute, and refer to this as a success, and
otherwise. For
the binary case when the sample size is not large enough to rely on the Central
Limit Theorem, the design-based approach could use the randomization introduced
by the sampling design to justify the distribution of the binary random
quantities. For instance, Cochran (1977), sections 3.4 and 3.5, shows how to
apply hypergeometric and binomial distributions to obtain confidence intervals
for population proportions when, respectively, simple random sampling with and
without replacement designs are employed. On the other hand, model-dependent
approaches have also been advanced and applied for predicting totals or means
in the categories of interest. Malec, Sedransk, Moriarity and LeClere (1997)
considered a logistic hierarchical model with two levels, where the clusters
are the second one. They also compared the full hierarchical Bayes estimates
with empirical Bayes estimates and standard methods. Moura and Migon (2002)
presented a logistic hierarchical model approach for small area prediction of
proportions, taking into account both possible spatial and unstructured
heterogeneity effects. Nandram and Choi (2008) proposed a time-dependent
multinomial-Dirichlet model to predict the results of an election under
ignorable and non-ignorable non-response. They also used a Bayesian approach to
allocate the undecided voters to the candidates.
Here
again, we do not need to make any use of full model assumptions or a randomization
approach, but we do need to make some assumptions about the first and the
second moments of the random quantities involved. The BLE for binary data was
briefly introduced by O'Hagan (1985), but here we develop it more generally for
the case where we are interested in analyzing more than one attribute in a
population. The purpose is to describe the estimation of the proportion of
successes with categorical data. Let
be the variable
that indicates that unit
is in category
given by
The
main aim is to estimate a vector
where
is the
proportion of units in category
given
a vector of
dimension
defined as
As we are
dealing with situations in which for each unit it is only possible to associate
a unique attribute, we have
Thus, we only
need to estimate
parameters,
since it follows that
and the variance
estimate is also analogously obtained by
In
the absence of any other structural information, we suppose that the units in
any given category are second-order exchangeable, but we do not assume any
exchangeability between units of different categories. Our prior beliefs are
expressed for
as follows:
where
for all
For
we analogously
obtain the covariance between these categories as
Often, we do not have all the data
but only a
sufficient statistics, such as the sample proportion for each category,
Let
be the
-vector whose
position is
given by the sample mean for category
Using the
general model in (2.4), we obtain:
Applying
the general model in (2.4), where: the responde variable is given by
the vector
has dimension
and
we obtain from
(2.10):
where
and
as stated in
(2.6).
Let
The BLE of
and its
associate variance given in (4.1) can be written in terms of the prior
quantities
and
by noting that
and
Therefore, the
matrix
with
and
and
with
and
Analogously, we
get
4.1 Prior elicitation
Elicitation
is the process of formulating a person's knowledge and beliefs about one or
more uncertain quantities into a probability distribution for those quantities.
According to Garthwaite, Kadane and O'Hagan (2005), it is convenient to think
of the elicitation task as involving a facilitator, who helps the expert
formulate the expert's knowledge in probabilistic form. In the context of
eliciting a prior distribution for a Bayesian analysis, it is the expert's
prior knowledge that is being elicited, but in general the objective is to
express the expert's current knowledge in probabilistic form. If the expert is
a statistician, or is very familiar with statistical concepts, then there may
be no formal need for a facilitator, but this is rare in practice. O'Hagan (1998)
illustrated with a practical example how to elicitate first and second moments.
In particular, he adopted the Bayes linear approach because it makes easy the
application of the elicitation procedure by engineers.
In
this section, some restrictions about the prior quantities and an alternative
to facilitate the process of elicitation are presented to obtain the BLE for
categorical data. Because
and
are
probabilities, and
and
are the
covariance matrices in model (2.4), the following restrictions must be
satisfied:
1.
and
2.
and
are positive-definite symmetric matrices.
In
order to verify if condition (2.2) is satisfied, the following steps may be
carried out:
i. verify if
and
are symmetric by
checking if
ii. verify if
and
are
positive-definite matrices by finding the eigenvalues of
and
If the eigenvalues
are positive, then the matrices are positive-definite.
It
should be noted that the eigenvalues are the roots of the characteristic
polynomial and if this polynomial is of degree
it is possible
to analytically get its roots by using Bhaskara, Cardan or Ferrari; see
Jacobson (2009), chapter 4, for formulas. However, if
we usually need
to apply an iterative method to get them. Nevertheless, for matrices higher
than
it is not
trivial to analytically obtain these restrictions based on eigenvalues. The
next proposition presents the conditions that
and
must satisfy in
order to obtain a suitable prior for a multinomial model with three categories
using the Bayesian linear estimation approach.
Proposition 1 Suppose that we elicit
such that
Then, given
and
we obtain
and
by (4.2). The
prior quantities
and
for
must satisfy the
following constraints for the matrices
and
to be
positive-definite:
The
verification of the Proposition 1 requires some algebra. We check that the
matrices
and
are
positive-definite using (i) and (ii) above. We use the fact that the
eigenvalues of a matrix with dimension
are positive if
and only if its determinant is positive and then we obtain
which satisfies
this restriction for both matrices. For cases with more than three categories
we must numerically verify if the matrices
and
are
positive-definite when replacing the numerical values of
and
into them.
On
the other hand, if an expert has some difficulty in specifying some of these
conditional probabilities
it may be
simpler to assign a prior to the coefficient of correlation. Define
as the prior of
the coefficient of correlation between two different units within categories
and
that is:
for
Therefore,
given
we get
It
should be noted that if there is some past data obtained from a previous
survey, it is possible for an expert to use this information. For instance,
can be obtained
by estimating the proportion of units in category
from the
previous survey. Analogously,
can be obtained
using previous survey data. As stated in restriction (2.1),
cannot assume
the values 0 and 1, otherwise the correlations would not be defined.
4.2 Prior sensitivity analysis
It
is worth checking how the estimator and its associated variance depend on the
priors assigned. We deal with the simple case of only two categories. It should
be noted that in the case with more than 2 categories the number of prior
quantities to be elicited increases fast, but the conclusions obtained under
this illustration can be extended. On the other hand, if there is no prior
information available we can use non-informative priors and, as described in
Section 2.2, the estimators from the design-based approach are recovered.
The
BLE for proportion for binary data can be obtained as a particular case of the
estimator in (4.1),
where
and
Note that
and
depend on
see page 13. We
analyze how the estimates are affected by
1. If
then
and
Thus, the estimator for the non-observed
values largely depend on the value of the prior.
2. If
then
and
Thus, the estimator for the non-observed
values does not depend on the value of the prior.
Moreover,
it is trivial to see that if
To illustrate
these results, we created some artificial dataset by fixing the true proportion
at
and the sample
mean at
These values
were taken from Moura and Migon (2002). Then, we assessed how the values of
and
affect the
estimator
Figure 4.1
presents the two-dimensional plots of the absolute error of
versus
for some
particular cases. The grey line represents the absolute error between the
sample proportion
and the true
It
should be noted that, as
or
increases, the
absolute error decreases for any prior values. Moreover, when
the absolute
error increases when
considerably
differs from the true proportion
but it decreases
as the sample size increases. Finally, as
we observe that
the absolute error of
tends to the
absolute error of the sample proportion
. Thus, if we have good prior information, in terms of
the estimator
proposed performs well for all the values of
But, if there is
no prior information available, non-informative priors characterized by
can be used and
we obtain results similar to a design-based approach.
Figure 4.1 Two-dimensional plots of the absolute error of
versus
for some particular cases
Description for figure 4.1
Note: Absolute error for fixed
and
and varying
The grey line
represents the absolute error of the sample proportion
Previous | Next