there is this thing that bothers me so much about the likelihood ratio test application in GLMs.
Suppose we want to test whether we can drop some of the covariates for the model. Than we expect the difference in deviances to behave like a chi-squared random variable and we can test this by using a LRT and based on its p-value say whether we want to discard or assume the null hypothesis.
The following is an R-code which uses this test:
1-pchisq(bw.glm2$deviance-bw.glm$deviance,2)  0.002490797
The question is: Why do we have the
1- bit in the beginning in order to calculate the p-value?
Thanks a lot