Statistical Procedures

Programming the statistical procedures from SAS
BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
ray7
Calcite | Level 5

Hi, is there a way on how to get the marginal effects for multinomial logistic model obtained by SURVEYLOGISTIC?

1 ACCEPTED SOLUTION

Accepted Solutions
Sa_S
SAS Employee

Hi  @ray7 ,
 

Please consider the following details:

Solved: Marginal effects with multiple imputed and bootstrapped data - SAS Support Communities

Usage Note 30333: FASTats: Frequently Asked-For Statistics
https://support.sas.com/kb/30/333.html, and search for "marginal effects".

 

Margins, predictive and marginal effects
The MARGINS statement can estimate and test predictive margins and marginal effects for CLASS (categorical) predictors and is available beginning in these releases in these SAS Viya procedures: GLIMMIX (2021.1.3), LOGISTIC, SURVEYLOGISTIC, SURVEYPHREG, SURVEYREG, LMIXED (2022.12). For both categorical and continuous predictors, the Margins macro (SAS Note 63038) is available in SAS/STAT beginning in SAS 9.4M8 or can be downloaded. The Margins macro can estimate and test predictive margins and average marginal effects in generalized linear and GEE models fit using SAS/STAT PROC GENMOD. Predictive margins and average marginal effects can be estimated by the macro at specified values of other model variables or at computed values such as means or medians. For binary or ordinal logit or probit models, point estimates of marginal effects for predictors not involved in interactions can be obtained from the MARGINAL option in the OUTPUT statement of SAS/ETS PROC QLIM. SAS Note 22604 discusses and illustrates the estimation of marginal effects in logit and probit models.


Usage Note 22604: Marginal effect estimation for predictors in logistic and probit models:
https://support.sas.com/kb/22/604.html

 

Additionally, you might be best served by contacting Technical Support and requesting SAS Content Assessment Tool support. 
Here is a link for your convenience: https://support.sas.com/en/technical-support.html#contact 

Thank you for using SAS!

View solution in original post

1 REPLY 1
Sa_S
SAS Employee

Hi  @ray7 ,
 

Please consider the following details:

Solved: Marginal effects with multiple imputed and bootstrapped data - SAS Support Communities

Usage Note 30333: FASTats: Frequently Asked-For Statistics
https://support.sas.com/kb/30/333.html, and search for "marginal effects".

 

Margins, predictive and marginal effects
The MARGINS statement can estimate and test predictive margins and marginal effects for CLASS (categorical) predictors and is available beginning in these releases in these SAS Viya procedures: GLIMMIX (2021.1.3), LOGISTIC, SURVEYLOGISTIC, SURVEYPHREG, SURVEYREG, LMIXED (2022.12). For both categorical and continuous predictors, the Margins macro (SAS Note 63038) is available in SAS/STAT beginning in SAS 9.4M8 or can be downloaded. The Margins macro can estimate and test predictive margins and average marginal effects in generalized linear and GEE models fit using SAS/STAT PROC GENMOD. Predictive margins and average marginal effects can be estimated by the macro at specified values of other model variables or at computed values such as means or medians. For binary or ordinal logit or probit models, point estimates of marginal effects for predictors not involved in interactions can be obtained from the MARGINAL option in the OUTPUT statement of SAS/ETS PROC QLIM. SAS Note 22604 discusses and illustrates the estimation of marginal effects in logit and probit models.


Usage Note 22604: Marginal effect estimation for predictors in logistic and probit models:
https://support.sas.com/kb/22/604.html

 

Additionally, you might be best served by contacting Technical Support and requesting SAS Content Assessment Tool support. 
Here is a link for your convenience: https://support.sas.com/en/technical-support.html#contact 

Thank you for using SAS!

sas-innovate-white.png

Special offer for SAS Communities members

Save $250 on SAS Innovate and get a free advance copy of the new SAS For Dummies book! Use the code "SASforDummies" to register. Don't miss out, May 6-9, in Orlando, Florida.

 

View the full agenda.

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
  • 1 reply
  • 386 views
  • 2 likes
  • 2 in conversation