Maarten is absolutely correct.
The deviance for model X is: (log-likelihood for saturated model) -
(log likelihood for model X)
This makes the deviance for the saturated model equal to zero. The
likelihood ratio test statistic for comparing models X & Y (nested
in X) is identical to the Deviance test statistic for comparing the
same 2 models:
Deviance for Y - Deviance for X = (log-likelihood for X) - (log-
likelihood for Y)
-Steve
On Dec 21, 2008, at 9:03 AM, Maarten buis wrote:
--- Sebastián Daza <[email protected]> wrote:
I need get deviance-based hypothesis test (df) with stata (10) for a
logistic model:
Aren't deviance-based tests just a variation on likelihood ratio
tests?
In that case, see -help lrtest-.
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/