Displaying 2 results from an estimated 2 matches for "trafford".
Did you mean:
afford
2012 Mar 14
1
Questing on fitting Baseline category Logit model
...L, 3L, 3L, 3L, 3L, 3L, 3L, 3L, 3L, 3L, 3L,
4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L,
4L, 4L, 4L, 4L, 4L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L,
1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L), .Label = c("George",
"Hancock", "Oklawaha", "Trafford"), class = "factor")), .Names =
c("Number",
"Food", "Size", "Sex", "Lake"), row.names = c(NA, 80L), class = "data.frame")
library(VGAM)
vglm(Food~Size+Sex+Lake, data = My_Data, fam=multinomial, weights = Number)
However...
2008 Aug 01
0
multinomRob: Error in eigen [..] infinite or missing values in 'x'
...the most common food choice and is therefore used as baseline category
# Create Table 7.3 in Agresti 2002 (p 270)
size.labs<-factor(c("<2.3",">2.3"),levels=c(">2.3","<2.3"))
lake.labs<-factor(c("hancock","oklawaha","trafford","george"),levels=c("george", "hancock", "oklawaha","trafford"))
table<-expand.grid(lake=lake.labs,size=size.labs)
fish<-c(23,7,5,13,5,8,16,17)
invert<-c(4,0,11,8,11,7,19,1)
reptile<-c(2,1,1,6,2,6,1,0)
bird<-c(2,3,0,1,1,3,2,1)
ot...