Displaying 2 results from an estimated 2 matches for "stagef".
Did you mean:
stage
2012 Dec 07
1
Negative Binomial GAMM - theta values and convergence
Hi there,
My question is about the 'theta' parameter in specification of a NB GAMM.
I have fit a GAM with an optimum structure of:
SB.gam4<-gam(count~offset(vol_offset)+
s(Depth_m, by=StnF, bs="cs")+StageF*RegionF,
family=negbin(1, link=log),
data=Zoop_2011[Zoop_2011$SpeciesF=='SB',])
However, this GAM shows heterogeneity in the residuals, and the model fit is not great. I would like to add a random effect to this GAM, for station (StnF), and a spatial correlation s...
2013 Jan 18
1
lattice: loess smooths based on y-axis values
...bundances at each depth level. Rather, I would like the loess smooth to still be based on 'averaging' abundance at each depth.
Essentially, I would like a mirror image of the plot from this code:
ord<-order(Zoo_nocyp$Depth_m, decreasing=TRUE)
xyplot(log10Ab[ord]~factor(-1*Depth_m[ord])|StageF[ord],
data=Zoo_nocyp[Zoo_nocyp$log10Ab!="0" ,],
type=c("p","smooth"),
par.settings=list(strip.background=list(col="white"), fontzize=list(text=16,points=10), lty = 0),
space=0, border=NA,
col=c("blue",&qu...