Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: RE: comparing nested models

From   Susan Bondy <>
To   "" <>
Subject   st: RE: comparing nested models
Date   Thu, 3 Feb 2011 11:20:45 -0500

Look up the lrtest command.

The two models are nested and can be compared using a likelihood ratio test (LRT) if the fully-spelled-out set of beta coefficients in the model are nested (one is a reduced set of the other) and the observations are identical and data are independent (e.g., not survey data).  If the five categories are the 10 categories collapsed in pairs, for one example, you can compare using a LRT.  

If models being compared are on the same observations but you are working with non-independent data or the two models are not nested (i.e., same number of beta coefficients) then there are measures of goodness of fit to allow non-nested models to be compared and people have suggested means to test critical levels of improvement of fit using these measures.  Look up AIC BIC and VIC in your favourite regression texts.


-----Original Message-----
From: [] On Behalf Of Nikolas Asasa
Sent: February 3, 2011 11:09 AM
Subject: st: comparing nested models

Dear All, 
I have two models aiming to estimate effect of age on wage. In the first model age is recorded in 5 categories. In the second model age is recorded in 10 categories.
The question is how to compare goodness of fit of two models? 

In principle I would apply F-test, but I am not sure whether "test" procedure in Stata allows me to do it? Should I use ANOVA instead?

Thank you for your replies.

*   For searches and help try:

*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index