Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need Help with understanding how SAS conducts Chi-Squared Test

Status
Not open for further replies.

cte1

Technical User
Aug 16, 2010
9
US
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

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top