Binary logistic regression in R
I have derived the chi square statistic and degrees of freedom for my model (200.7839, 8, respectively) however, when I attempt to determine the probability associated with the chi square statistic, I get a value of 0 with no decimal places - just "0". I was expecting a probability <0.05 so I can reject the null hypotheses. Please see my code below. Does anyone have any suggestions as to why R would return a value of 0 with no decimal places? or is the value simply 0.00000 etc and therefore significant? Cheers!
modelChi<-Model1.0$null.deviance - Model1.0$deviance modelChi chidf<-Model1.0$df.null - Model1.0$df.residual chidf chisq.prob<- 1 - c(modelChi, chidf) chisq.prob