Write for the request count on day . Both fits are Poisson regression models with independentIn model 1,where the variables are indicator variables for winter, weekend, bank holiday, and low or medium pollution; non-winter weekdays that are not bank holidays and have high pollution form the baseline. Model 2 imposesretaining only winter and weekend effects.
The models are nested, and the likelihood-ratio test statistic is the decrease in residual deviance,There are three restrictions. By Wilks theorem, under this statistic is asymptotically a chi-squared distribution with three degrees of freedom. Sincewe reject model 2 at the level in favour of model 1.
Articles by others on the same topic
There are currently no matching articles.