Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Home
- /
- Analytics
- /
- Forecasting
- /
- Re: How to interpret the marginal effect of a log transformed independ...

Options

- RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

🔒 This topic is **solved** and **locked**.
Need further help from the community? Please
sign in and ask a **new** question.

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

Posted 07-23-2019 06:33 PM
(2840 views)

In a logistic regression using SAS PROC QLIM, I have an independent variable, the natural log of annual earnings.

The average marginal effect on the dependent variable of this independent variable = -0.0204.

EXP(-.0204) = 0.9798 AND (1-0.9798) = 0.0202.

Does this mean that a 1.0 percent increase in log earnings reduces the probability of the event by 2.02 percent?

Or is the marginal effect interpreted differently?

Thanks.

1 ACCEPTED SOLUTION

Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

Hello,

For a logit model, the marginal effect of change in a regressor, say jth regressor for observation i, on the conditional probability that y_i=1 is

G(x_i'b)[1 - G(x_i'b)]b_j

where, G(x’b) = exp(x’b)/[1+exp(x’b)].

You can request these marginal effects for each regressor from PROC QLIM by specifying the OUTPUT statement and its MARGINAL option. For example,

OUTPUT OUT=myoutputdata MARGINAL;

The average marginal effect is the sample average of these marginal effects. For a logit model, this is

(1/N)*SUMOVER_i{ G(x_i'b)[1 - G(x_i'b)] }b_j

You can obtain this by averaging the column for the marginal effect of the log of annual earnings over the observations in the data set you specify with the OUT option (myoutputdata in the example above).

If you calculated the average marginal effect of the log of annual earnings as described above and obtained the value -0.0204, then the interpretation of this is that on average a 1 percent increase in log earnings reduces the probability of the event occurring by 2.04 percent.

I hope this helps,

Gunce

2 REPLIES 2

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

Hello,

For a logit model, the marginal effect of change in a regressor, say jth regressor for observation i, on the conditional probability that y_i=1 is

G(x_i'b)[1 - G(x_i'b)]b_j

where, G(x’b) = exp(x’b)/[1+exp(x’b)].

You can request these marginal effects for each regressor from PROC QLIM by specifying the OUTPUT statement and its MARGINAL option. For example,

OUTPUT OUT=myoutputdata MARGINAL;

The average marginal effect is the sample average of these marginal effects. For a logit model, this is

(1/N)*SUMOVER_i{ G(x_i'b)[1 - G(x_i'b)] }b_j

You can obtain this by averaging the column for the marginal effect of the log of annual earnings over the observations in the data set you specify with the OUT option (myoutputdata in the example above).

If you calculated the average marginal effect of the log of annual earnings as described above and obtained the value -0.0204, then the interpretation of this is that on average a 1 percent increase in log earnings reduces the probability of the event occurring by 2.04 percent.

I hope this helps,

Gunce

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

Very clear answer. Thank you.

**Available on demand!**

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

Multiple Linear Regression in SAS

Learn how to run multiple linear regression models with and without interactions, presented by SAS user Alex Chaplin.

Find more tutorials on the SAS Users YouTube channel.