search for: fitglm0

Displaying 2 results from an estimated 2 matches for "fitglm0".

Did you mean: fitglm
2011 Oct 28
4
Contrasts with an interaction. How does one specify the dummy variables for the interaction
...ou, John library(contrast) # Create 2x2 contingency table. counts=c(50,50,30,70) row <- gl(2,2,4) column <- gl(2,1,4) mydata <- data.frame(row,column,counts) print(mydata) # Show levels of 2x2 table levels(mydata$row) levels(mydata$column) # Models, no interaction, and interaction fitglm0 <- glm(counts ~ row + column, family=poisson(link="log")) fitglm <- glm(counts ~ row + column + row*column, family=poisson(link="log")) # Contrasts for model without interaction works fine! anova(fitglm0) summary(fitglm0) con0<-contrast(fitglm0,list(row=&...
2011 Oct 28
2
Thank you
Dear r-community, Today I have completed my PhD.  I would like to take this opportunity to thank the r-community for helping me with the r-coding.  I use r to do data manipulation during my PhD and I benefit a lot through the discussion in the r-forum. I will continue using R and help the others too. Thank you so much. Regards, Roslina UniSA. [[alternative HTML version deleted]]