Skip to content

models with fixed effets nested in random effects

1 message · Hallstrom, Wayne (Calgary)

#
Hi Andrew,
Note comments interted below...
---------------
++Hi Wayne,

On Mon, Mar 05, 2007 at 12:10:16PM -0700, Hallstrom, Wayne (Calgary)
wrote:
++ The decision about year looks good to me, based on your description
above.

++ There may well be a temporal correlation structure to watch out for
within the lowest- level random effects.  ++ If that be the case then
you might want to move to using lme(), which has well-configured helper
functions for
++ fitting the more complicated models.

I considered using lme(), but I have overdispersed count data and need
to use the more flexible glm structure of LMER. I could be wrong, but
the way I the model set up should allow me to note any substantaial
effect of year in one of the candidate models. That was not the case,
models with year were not anywhere near as good fit.
the same results by a different name?

++ Yes, it would.  I hope that my addition of that text wasn't
confusing.
++ I merely meant to include it as a possiblity to deal with concerns
about the same effects being fixed and 
++ random.  I do think that it would be clearler in some cases.

I can see what you mean though since it makes the formula 'cleaner'.
++ Ok, this implies to me that MIT_UNMIT represents the intervals
somehow, and that each interval has one or more
++ FenceEnd associated with it.  What exactly does MIT_UNMIT mean?  I
assume that it's mitigation vs no
++ mitigation.  

MIT_UNMIT is the fencing treatment. Yes, each fence has one or two ends.
++ I'm a bit confused by the nesting of MIT_UNMIT inside FEsection.
Your earlier text implies to me that the
++ MIT_UNMIT treatment differed at the FenceEnd level.  Nesting it
inside FEsection implies that every level of
++ FEsection has all the MIT_UNMIT levels nested within them. That seems
like a contradiction to me.

++ Also, based on your description I wonder if FEsection should be
recoded to have a continuous basis as well as
++ a categorical one - for the purposes of representing an underlying
distance?  I note from your earlier email
++ that FEsection appears as a 10-level factor, and that seems (prima
facie) more difficult to interpret.

++ Cheers,
++ Andrew

Well, that is sort of true about the nesting of MIT_UNMIT inside
FEsection. Most do, but not all fence end sections will have both
MIT_UNMIT treatments. I am not sure however that this is a major concern
since all that means is there are never records for MITIGATED for
FEsections 1-5 outside the fence. I was thinking of it as explaining the
locations, then add in treatment effects at each location last. I
suppose I could have tried FenceEnd/MIT_UNMIT/FEsection instead but I
don't think that works since then you have FEsections inside MIT_UNMIT
which does not always occur either. There is no way around this issue
because using a distance measure also has the same problem (no roadkill
distance-mitigated combination exists outside the fence end). I suppose
maybe I could add something in about NA records to cover that though?

I did not use distance since many of the records are from before a given
fence ends exists, so a distance measure is sort of meaningless for that
time period. I chose 1km sections since those are not tied to one
particular location in the same way, and because there is some error in
the mortality record locations which is partially removed by lumping the
data into sections.
projects.
I guess what I really am trying to get at here is:
  - do wildlife roadkill counts differ between FEsections 1-10
pre-fencing, or are they uniformly distributed?
  - post-fencing, does the distribution of roadkill counts change
compared to pre-fencing? 
  - where do any observed differences crop up realtive to the fence end?

These questions seem to have been answered by looking at the various
models, including interactions. Best fit model was FEsection +
MIT_UNMIT. A significant effect from FEsection shows that roadkill
differs between the sections, and MIT_UNMIT shows that mortality
distribution before after fencing differs. There was no interaction in
the best model which shows that the effect of MIT_UNMIT is consistent
across all the fence end sections where mitigation occurred. If there
were an interaction and no main effects that would demonstrate that
mitigation only changed roadkill distribution in some cases (but this
did not happen).

Compared to the multivariate G-test (like a chi-test) method I used
initially, this sometimes has seemed to be trying to fit a square peg of
data into a round hole of a statistical method. That method allowed me
to define exact locations of differences in counts and go back to see
what was there on the ground. I guess that is still useful info for the
discussion anyway.




--
Andrew Robinson  
Department of Mathematics and Statistics            Tel: +61-3-8344-9763
University of Melbourne, VIC 3010 Australia         Fax: +61-3-8344-4599
http://www.ms.unimelb.edu.au/~andrewpr
http://blogs.mbs.edu/fishing-in-the-bay/ 
*** WORLEYPARSONS GROUP NOTICE ***
"This email is confidential.  If you are not the intended recipient, you must not disclose  or  use the  information  contained in it.  If you have received this email in error,  please notify us immediately by return email and delete the email and any attachments. Any personal views or opinions expressed by the writer may not necessarily reflect the views or opinions of any company in the WorleyParsons Group of Companies."