Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: Partial F Test on a Multiple Imputed Set
From
Steve Samuels <[email protected]>
To
[email protected]
Subject
Re: st: Partial F Test on a Multiple Imputed Set
Date
Mon, 27 May 2013 12:35:12 -0400
The solution can be found in the Manual Entry for -mi test-, in particular Example 2: Testing Linear Hypotheses.
Steve
On May 27, 2013, at 11:09 AM, Eduardo Moreira wrote:
Dear all,
I am sorry if this has been asked before, but I searched and couldn't find the answer to this question.
Say you want to compare 2 regression models on the same dependent variable Y. The second model contains 2 dummy variables, D1 and D2.
- Model A: Y = b0 + bX
- Model B: Y = b0 + bX + bD1 + bD2
usually what I would do is:
regress Y X D1 D2
test D1 + D2 == 0
So far, so good, right?
The problem I run into is when I try to do the same with a mulitple imputed set. I run the following commands:
mi estimate: regress Y X D1 D2
mi test D1 + D2 == 0
The regression works fine, but test part doesn't. It gives the following error message: "=exp not allowed".
Is there some way to perform this Partial F-test on a MI set?
Thanks,
Eduardo Moreira
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/