Displaying 1 result from an estimated 1 matches for "year1992".
Did you mean:
year1990
2007 Dec 07
1
Adding a subset to a glm messes up factors?
...3Q Max
-2.0962 -0.5851 -0.1241 0.4805 3.9236
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 0.8899 0.1844 4.825 1.42e-06 ***
year1990 -0.6107 0.1925 -3.173 0.00152 **
year1991 -1.7466 0.1902 -9.184 < 2e-16 ***
year1992 -1.4061 0.1864 -7.544 5.07e-14 ***
year1993 -1.4069 0.1860 -7.565 4.31e-14 ***
...
> model<-glm(log(cpue)~year,family=gaussian,subset(data.all,species=="n")
Call:
glm(formula = log(cpue) ~ year, family = gaussian, data = subset(data.all,
species == "n&qu...