I am in a real bind and need some help understanding how SAS conducts a chi-squared test to compare two coefficients in a logistic regression. Specifically, I am testing whether the coefficient on the variable RHS1 is statistically different from the coefficient on RHS2. I am using the TEST statement in the following code to conduct the comparison:
PROC LOGISTIC DATA = data1 DESC;
MODEL LHS = RHS1 RHS2;
TEST RHS1 - RHS2 = 0;
RUN;
The code above gives me the following output:
Linear Hypotheses Testing Results
Label Wald Chi-Square DF Pr > ChiSq
Test 1 0.1654 1 0.6843
My question is specifically how does SAS conduct this test? Any help with this will be greatly appreciated. Thanks in advance.
Chris
PROC LOGISTIC DATA = data1 DESC;
MODEL LHS = RHS1 RHS2;
TEST RHS1 - RHS2 = 0;
RUN;
The code above gives me the following output:
Linear Hypotheses Testing Results
Label Wald Chi-Square DF Pr > ChiSq
Test 1 0.1654 1 0.6843
My question is specifically how does SAS conduct this test? Any help with this will be greatly appreciated. Thanks in advance.
Chris