BookmarkSubscribeRSS Feed
juvepirlo
Calcite | Level 5

As shown, I'm processing nhanes data with the Survey Logistic process, but what I don't understand is why the t-test is used instead of the chi-square test in the maximum likelihood ratio estimation in Surveylogistic. In the global test, the same is not used chi-square test but the f-test, in normal logistics regression, both the global test and the maximum likelihood ratio estimation use the chi-square test, I don't know why surveylogistic and logistic are different..

1c4c5d52a1ea707e3e9bdd88a96bce3.png

proc surveylogistic data=sasuser.begin nomcar;
strata sdmvstra;
cluster sdmvpsu;
weight WTFOL2YR;
domain category('1');
class serumgroup/param=ref ref=first;
model diabete(desc) = serumgroup;
run;
proc surveylogistic data=sasuser.begin nomcar;
strata sdmvstra;
cluster sdmvpsu;
weight WTFOL2YR;
domain category('1');
class serumgroup/param=ref ref=first;
model diabete(desc) = serumgroup;
run;
1 REPLY 1
StatDave
SAS Super FREQ

This is discussed in the SURVEYLOGISTIC documentation. See the "Details: Testing Global Null Hypothesis: BETA=0" section. As noted there, you can use the CHISQ option in the MODEL statement, such as CHISQ(NOADJUST). See the discussion for details on the available suboptions that control the computation of the chi-square statistic. 

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 452 views
  • 1 like
  • 2 in conversation