Skip to content

type III effect from glm()

5 messages · (Ted Harding), Simon Pickett, Mark Difford

#
On 19-Feb-09 10:38:50, Simon Pickett wrote:
So, above, you have fitted two models: m1, m2
And here you are comparing two models: m1, m1b

Could this be the reason for your result?
--------------------------------------------------------------------
E-Mail: (Ted Harding) <Ted.Harding at manchester.ac.uk>
Fax-to-email: +44 (0)870 094 0861
Date: 19-Feb-09                                       Time: 10:56:12
------------------------------ XFMail ------------------------------
#
Sorry, that was a typo in the email, not the model. So I still have the 
problem.....

Cheers, Simon.



----- Original Message ----- 
From: "Ted Harding" <Ted.Harding at manchester.ac.uk>
To: "Simon Pickett" <simon.pickett at bto.org>; <r-help at r-project.org>
Sent: Thursday, February 19, 2009 10:56 AM
Subject: RE: [R] type III effect from glm()
#
Hi Simon,
[A different approach...] This is not really a sensible question until you
have established that there is no significant interaction between "yrs" and
"district." If this interaction is significant then, ipso facto, the effect
of "yrs" is not unique but depends on "district." So establish that first.

There is a good section on marginality in MASS (Venables & Ripley) and, as
Mark has mentioned, in Prof Fox's texts. From what I can remember, some of
these tests are reparametrized behind the scenes to enforce the marginality
constraint.

Regards, Mark.
Simon Pickett-4 wrote:

  
    
#
Hi Simon,
On reading through this...what I mean is that yours seems not to be a
"sensible approach," the question itself may be reasonable. What you want to
be doing is testing whether the interaction term (yrs:district) gets
dropped. Do it by comparing nested models (basically as you have done), or
use dropterm() or stepAIC() [both are in MASS].

Regards, Mark.
Mark Difford wrote: