Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: testing levels as well as the linear difference between 2 vars


From   SC Wainwright <[email protected]>
To   "[email protected]" <[email protected]>
Subject   st: testing levels as well as the linear difference between 2 vars
Date   Tue, 12 Apr 2005 15:49:51 +0100

hello,

i would like confirmation of the appropriateness of my solution to the
following;

i have 2 rhs continuous variables, say A and B and would like to test if the
levels of either are significant, in addition to their linear difference, 
without running separate regressions.

i am using the menu post-estimation linear tests to achieve this, plus the
accumulate option;

test (A-B==0)

test (A==0), accumulate

where such test returns the relevant chi-square statistic, does this confirm the
separate effect of the level of A, independently of the way it determines A-B ?

many thanks

claire
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index