BookmarkSubscribeRSS Feed
HEB1
Calcite | Level 5

I have 3 models: same dependent variable (indicator variabl with 3 group: 1,2,3- no order among them ). I use proc survey logistic.

 

Here are the 3 modles, and the refrence group for the dependent variable is "2":

 

1) proc surveylogistic data=lib.data ;
strata industry fyear loc /list ;
where b_a=0 ;
class ac1 (ref='2') Mandatory (ref=first) Enforcement(ref=first) registration (ref=first) / param = ref ;
model ac1 = registration
log_fvalue debt_to_equity ROA_NI/ link=glogit RSQUARE ;
run;


2) proc surveylogistic data=lib.data;
strata industry fyear loc /list ;
where b_a=0 ;
class ac1 (ref='2') Mandatory (ref=first) Enforcement(ref=first) registration (ref=first) / param = ref ;
model ac1 = registration Enforcement Mandatory
log_fvalue debt_to_equity ROA_NI/ link=glogit RSQUARE ; 
run; 

 

3) proc surveylogistic data=lib.data;
strata industry fyear loc /list ;
where b_a=0 ;
class ac1 (ref='2') Mandatory (ref=first) Enforcement(ref=first) registration (ref=first) / param = ref ;
model ac1 = X1 x2
registration Enforcement Mandatory
log_fvalue debt_to_equity ROA_NI/ link=glogit RSQUARE; 
run; 

 

As you can see model 3 includes more independent variables.  I want to Compare the Incremental Explanatory Power of model 3 over model 2 and model 1. 

Now i  just comare the R sequre of the 3 models, but  I want to Compare the Incremental Explanatory Power, using wald statistic for the model or other measure to compare the explenatory power of the model.

What is the right syntax? 

tnk

 

1 REPLY 1
SAS_Rob
SAS Employee

You could use CONTRAST statements to test the nested models.  There are some good examples in the usage note linked below.

24447 - Examples of writing CONTRAST and ESTIMATE statements (sas.com)

 

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 383 views
  • 0 likes
  • 2 in conversation