Displaying 1 result from an estimated 1 matches for "anconva".
Did you mean:
ancona
2003 Apr 17
0
Howto calculate R^2 from an anconva glm
Hi,
If I have the follow example:
y = count data
x1 = continuous data
x2 = qualitative data (2 factors levels)
I make a model
glm(y~x1,family=poisson)
The model has only one curve, to calculate r-square, I do
"x1 Deviance"/"total Deviance"
But in a model with x2
glm(y~x1+x2,family=poisson)
I have two curves, but I dont have, using summary() or anova(), the deviance