Skip to content
Prev 138615 / 398503 Next

package for repeated measures ANOVA with various link functions REDUX

On Tue, Mar 4, 2008 at 9:48 PM, John Sorkin <jsorkin at grecc.umaryland.edu> wrote:
But does such a structure extend to models with binary or count
responses?  You have mentioned that you want to use an arbitrary link
function such as quasibinomial.  What I understand the effect of the
REPEATED statement to be is to specify a parameterized form of the
marginal variance-covariance matrix of the responses.  If the response
variable has a multivariate normal distribution it is possible to
independently specify the mean (determined by the fixed-effects
parameters) and the marginal variance-covariance.

However, in the case of generalized linear models the mean response is
determined by a linear predictor and a link function while the
variance-covariance of the response is determined by prior weights and
a variance function.  The same is true for generalized linear mixed
models except that this description applies to the conditional
distribution of the response given the random effects.  The link and
the variance functions must agree so, for example, using a logit or
probit link which restricts the value of mu to the interval [0,1]
would imply a variance function (up to prior weights) of mu(1-mu).  At
least I think so - others may feel that it is possible to specify an
arbitrary variance function but I don't see how that can make sense.
To me the whole point of generalized linear models is to transform the
linear predictor to the desired range for the mean and to take into
account what this implies about the variance.

Even if you feel that it is possible to relax the ties between the
link function and the variance function I don't see how it would be
possible to specify an arbitrary structure for the marginal
variance-covariance of the response.  If you say that the marginal
variance-covariance must have a block-wise compound symmetry structure
but you are going to restrict the mean to the range [0,1] I think you
have painted yourself into a corner.  I don't think it is possible to
specify a mean on a restricted range and separately specify an
arbitrary variance-covariance structure.  In particular, when the mean
is on the range [0,1] then you better have the variance going to zero
as the mean goes to 0 or to 1.  You can't arbitrarily say that the
variance within a block must be constant, regardless of the values of
the means in those blocks.