Skip to content
Prev 138147 / 398506 Next

COMPAR.GEE Output

Charles Willis <willis.charlie <at> gmail.com> writes:
1. It's useful to provide a small self-contained example, as recommended
by the posting guide (referred to after every r-help message).
  2. I would suggest asking this kind of question on the r-sig-phylo
mailing list, which is devoted to phylogenetic and comparative analyses
in R.
  3. In order to understand the output, you have to understand the
way in which R parameterizes statistical models.  I'm guessing
that you specified family=binomial in your compar.gee call, which
would mean by default assuming binomial error structure and a
logit link (if you don't know what that means, you should probably
read up on generalized linear models a bit ...).  X1 is then
the estimated logit-probability for state 1, X2 is the estimated
*difference* in logit-prob between states 1 and 2, similarly for
X3.  If you just want the estimated probabilities for the three
groups you can fit a model without an intercept using something
like "response~predictor-1" as your formula.
  4. When you print the model object (e.g. c1=compar.gee(...); c1)
it gives you standard errors and t statistics for each parameter
which are (I believe) essentially Wald statistics, although
you should certainly check the reference given in ?compar.gee ...

  good luck,
    Ben Bolker