Re: [R] Chi square value of anova(binomialglmnull, binomglmmod, test=Chisq)

2012-06-06 Thread lincoln
David Winsemius wrote This is making me think you really have multiple observation on the same individuals (and that persons make transitions from one state to another as a result of the passage of time. That needs a more complex analysis than simple logistic regression. You might

Re: [R] Chi square value of anova(binomialglmnull, binomglmmod, test=Chisq)

2012-06-06 Thread peter dalgaard
On Jun 6, 2012, at 10:59 , lincoln wrote: David Winsemius wrote This is making me think you really have multiple observation on the same individuals (and that persons make transitions from one state to another as a result of the passage of time. That needs a more complex analysis

Re: [R] Chi square value of anova(binomialglmnull, binomglmmod, test=Chisq)

2012-06-06 Thread Marc Schwartz
On Jun 6, 2012, at 9:36 AM, peter dalgaard wrote: On Jun 6, 2012, at 10:59 , lincoln wrote: David Winsemius wrote This is making me think you really have multiple observation on the same individuals (and that persons make transitions from one state to another as a result of the

Re: [R] Chi square value of anova(binomialglmnull, binomglmmod, test=Chisq)

2012-06-06 Thread lincoln
Thank you all, This was exactly the sort of help I hoped to get. -- View this message in context: http://r.789695.n4.nabble.com/Chi-square-value-of-anova-binomialglmnull-binomglmmod-test-Chisq-tp4632293p4632568.html Sent from the R help mailing list archive at Nabble.com.

Re: [R] Chi square value of anova(binomialglmnull, binomglmmod, test=Chisq)

2012-06-05 Thread lincoln
Thank you for your commentaries and suggestions. Site 0 and site 1 are interpretable like events. In fact these data come from a simultaneous observations of individuals in two different sites (so they are independent observations: while one individual is observed in one site it can't be in

Re: [R] Chi square value of anova(binomialglmnull, binomglmmod, test=Chisq)

2012-06-05 Thread David Winsemius
On Jun 5, 2012, at 4:52 AM, lincoln wrote: Thank you for your commentaries and suggestions. Site 0 and site 1 are interpretable like events. In fact these data come from a simultaneous observations of individuals in two different sites (so they are independent observations: while one

[R] Chi square value of anova(binomialglmnull, binomglmmod, test=Chisq)

2012-06-04 Thread lincoln
Hi all, I have done a backward stepwise selection on a full binomial GLM where the response variable is gender. At the end of the selection I have found one model with only one explanatory variable (cohort, factor variable with 10 levels). I want to test the significance of the variable cohort

Re: [R] Chi square value of anova(binomialglmnull, binomglmmod, test=Chisq)

2012-06-04 Thread David Winsemius
On Jun 4, 2012, at 7:00 AM, lincoln wrote: Hi all, I have done a backward stepwise selection on a full binomial GLM where the response variable is gender. At the end of the selection I have found one model with only one explanatory variable (cohort, factor variable with 10 levels). I

Re: [R] Chi square value of anova(binomialglmnull, binomglmmod, test=Chisq)

2012-06-04 Thread lincoln
So sorry, My response variable is site (not gender!). The selection process was: str(data) 'data.frame': 1003 obs. of 5 variables: $ site : Factor w/ 2 levels 0,1: 1 1 1 1 1 1 1 1 1 1 ... $ sex : Factor w/ 2 levels 0,1: NA NA NA NA 1 NA NA NA NA NA ... $ age : Factor w/ 2 levels 0,1:

Re: [R] Chi square value of anova(binomialglmnull, binomglmmod, test=Chisq)

2012-06-04 Thread David Winsemius
On Jun 4, 2012, at 11:31 AM, lincoln wrote: So sorry, My response variable is site (not gender!). The selection process was: If there is a natural probability interpretation to site==1 being a sort of event, (say perhaps a non-lymphatic site for the primary site of a lymphoma) then