BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
MLAC
Fluorite | Level 6

In Logistic Regression, the Type 3 Analysis tests are performed to test the statistical significance of each input. What exactly is the statistical test?    

1 ACCEPTED SOLUTION

Accepted Solutions
StatDave
SAS Super FREQ

If you are asking what type of test the Type3 tests are, they are Wald chi-square tests if done by PROC LOGISTIC. If they are done by PROC GENMOD, they are likelihood ratio chi-square tests by default unless the WALD option is specified in the MODEL statement. But if the REPEATED statement is used in PROC GENMOD, then they are score chi-square statistics by default (again, WALD option makes them Wald chi-squares).

View solution in original post

6 REPLIES 6
Ksharp
Super User

I don't understand your question. Do you mean pick up the most significant variables ?

 

proc logistic data=sashelp.class;
model sex=age weight height/selection=stepwise;
run;
PaigeMiller
Diamond | Level 26

@MLAC wrote:

In Logistic Regression, the Type 3 Analysis tests are performed to test the statistical significance of each input. What exactly is the statistical test?    


https://documentation.sas.com/?docsetId=statug&docsetTarget=statug_introglmest_sect015.htm&docsetVer...

 

In layman's terms, Type III tests are what you would use if there is no particular ordering of the predictor variables, each is considered to be entered into the model last, to see if it adds any predictive value. (I think) PROC LOGISTIC only uses Type III anyway, the other types of tests are for PROC GLM and similar procedures, and it is called Type III in PROC LOGISTIC just to keep the naming consistent with other modeling procedures. (A case where you would have a definite ordering is a polynomial model, where linear term is entered first, and quadratic term is entered second, and so on, in which case you would use Type II test; but you don't mention anything like this, so Type III is appropriate)

--
Paige Miller
MLAC
Fluorite | Level 6
Is the type lll test Chi-Square Association test on each input?
PaigeMiller
Diamond | Level 26

The specific output table you want says "Type 3" (or maybe "Type III") in the header above the table.

--
Paige Miller
StatDave
SAS Super FREQ

If you are asking what type of test the Type3 tests are, they are Wald chi-square tests if done by PROC LOGISTIC. If they are done by PROC GENMOD, they are likelihood ratio chi-square tests by default unless the WALD option is specified in the MODEL statement. But if the REPEATED statement is used in PROC GENMOD, then they are score chi-square statistics by default (again, WALD option makes them Wald chi-squares).

MLAC
Fluorite | Level 6
Thanks. I was wondering if it is Wald Chi-Square test. Thanks for the confirmation.

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

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
  • 6 replies
  • 9660 views
  • 2 likes
  • 4 in conversation