Displaying 2 results from an estimated 2 matches for "tadt".
Did you mean:
adt
2001 May 16
0
glm.nb difficulties
...e advice beyond "don't do that"? I did get some results
out of glm(...,family=quasipoisson()), but ideally I'd like to be able to
get likelihoods/AIC for model selection out of this exercise.
thanks,
Ben Bolker
#############################################
library(MASS)
tadT <- c(0,0,0,450,0,0,0,315,233,0,200,300)
Distance <- rep(c(10,100,500),rep(4,3))
plot(tadT)
plot(Distance,jitter(tadT))
## constant model
tad.con <- glm.nb(tadT ~ 1, control=glm.control(trace=10))
log(mean(tadT)) ## OK, it got the mean right at least ...
## given more iterations to get...
2012 Apr 14
1
R Error/Warning Messages with library(MASS) using glm.
Hi there,
I have been having trouble running negative binomial regression (glm.nb)
using library MASS in R v2.15.0 on Mac OSX.
I am running multiple models on the variables influencing the group size of
damselfish in coral reefs (count data). For total group size and two of my
species, glm.nb is working great to deal with overdispersion in my count
data. For two of my species, I am getting a