Displaying 2 results from an estimated 2 matches for "socialgroup".
Did you mean:
localgroup
2012 Jun 30
2
Significance of interaction depends on factor reference level - lmer/AIC model averaging
...code of what I am doing and an example of the model
summary and model averaging results with location A as the ref level or
location B.
if A is the reference level...
#full model
Amodel<-lmer(d15N~(AGECAT2+Sex+Location1+AGECAT2:Location1+Sex:Location1+AGE
CAT2:Sex+(1|Year)+(1|Location1/Socialgroup/Tattoo)), REML=FALSE,
data=nocubs)
#standardise model
Amodels<-standardize(Amodel, standardize.y=FALSE)
#dredge models
summary(model.avg(get.models(Adredge,cumsum(weight)<0.95)))
Then the average model coefficients indicate no sex by location interaction
Component models:...
2012 Jun 26
2
MuMIn - assessing variable importance following model averaging, z-stats/p-values or CI?
...model averaging?
Heres the example code of what I'm doing....
#-------------------------------------------------------------------------------------#
ps<-lmer(tranPS~(
Sex+
Age.Cat2+
TOTAL+
Propfarm+
Maize+
TOTAL:Propfarm+
Maize:TOTAL+
Maize:Propfarm+
(1|Socialgroup)+(1|Year)+(1|Tattoo)),REML=FALSE, data=propspec)
pss<-standardize(ps,standardize.y = FALSE)
psdrg<-dredge(pss)
summary(model.avg(get.models(psdrg,subset=delta<2)))
#-------------------------------------------------------------------------------------#
REf -Grueber, C.E., Nakagawa, S.,...