Deviance goodness of fit testHi can someone help me interpret both Pearson and Deviance goodness of fit test in the context of Poisson's regression? I am trying to determine if X= # of factors (aka medical items used on a patient can determine their length of stay in days (Y). My overall model is significant but my goodness of fit stats are not. See below, also i should note both my intercept and x parameter are significant

Thank you
#STATISTICS
AnalyticsOtherRe: Deviance goodness of fit testThere are two tests for goodness of fit. They both estimate a Chi square sample statistic. They are both based on the change in the negative log likelihood between the full model (fitted) and the saturated model. A significant test indicates lack of fit. The Pearson test is older.
The choice of alpha (level of significance required) is up to you but your example does not appear to exhibit lack of fit.
Re: Deviance goodness of fit testThank you! I just wanted to make sure in this case they were flipped from traditional hypothesis test and that you didn't want a significant p-value you!