Dear community,
I have a question concerning the interpretation of the marginal effect within a logistic regression. Is the interpretation of the marginal effect the same using both methods AME (average marginal effects) and marginal effects at the means (MEM)? In other words, when I look for example at the variable D_ProdBus (.1695874) using MEM and (.1651408) using AME: Do both numbers represent the predicted probability a change in the independent variable has on the outcome of my bivariate dependent variable? The only difference the predicted probability is based on is the way it is caluclated, right? For MEM, all other covariates are held at their means whilst for AME they´re held at their actual values. I am just confused by the name "average" marginal effects and marginal effects at the means both pointing out to someting being "averaged"...
I know that there is more calculations and differences to these two methods for calculation marginal effects, however I am for now only interested in the interpretation of the numbers. And if both give me the predicted probability change of y given a change in x, this would be enough of an answer for now :-)
Would be great if someone could help.
Thanks and best regards
Alex Huber
- Logistic regression followed by MEM -
------------------------------------------------------------------------------
margins, dydx (D_Age D_ProdBus Q_Patents Q_NetInc) post atmeans level(90)
Conditional marginal effects Number of obs = 98
Model VCE : OIM
Expression : Pr(Q_VC), predict()
dy/dx w.r.t. : D_Age 1.D_ProdBus 1.Q_Patents 1.Q_NetInc
at : D_Age = 8.173469 (mean)
0.D_ProdBus = .255102 (mean)
1.D_ProdBus = .744898 (mean)
0.Q_Patents = .6326531 (mean)
1.Q_Patents = .3673469 (mean)
0.Q_NetInc = .122449 (mean)
1.Q_NetInc = .877551 (mean)
------------------------------------------------------------------------------
| Delta-method
| dy/dx Std. Err. z P>|z| [90% Conf. Interval]
-------------+----------------------------------------------------------------
D_Age | -.0008956 .0101539 -0.09 0.930 -.0175973 .0158061
1.D_ProdBus | .1695874 .1016935 1.67 0.095 .0023165 .3368583
1.Q_Patents | .217947 .1028693 2.12 0.034 .0487421 .3871519
1.Q_NetInc | .1867139 .1075301 1.74 0.082 .0098427 .3635851
------------------------------------------------------------------------------
Note: dy/dx for factor levels is the discrete change from the base level.
- Logistic regression followed by AME -
------------------------------------------------------------------------------
margins, dydx (D_Age D_ProdBus Q_Patents Q_NetInc) post level(90)
Average marginal effects Number of obs = 98
Model VCE : OIM
Expression : Pr(Q_VC), predict()
dy/dx w.r.t. : D_Age 1.D_ProdBus 1.Q_Patents 1.Q_NetInc
------------------------------------------------------------------------------
| Delta-method
| dy/dx Std. Err. z P>|z| [90% Conf. Interval]
-------------+----------------------------------------------------------------
D_Age | -.0008379 .0095007 -0.09 0.930 -.0164651 .0147893
1.D_ProdBus | .1651408 .101731 1.62 0.105 -.0021918 .3324734
1.Q_Patents | .211453 .0998145 2.12 0.034 .0472727 .3756332
1.Q_NetInc | .1837894 .1106558 1.66 0.097 .0017768 .365802
------------------------------------------------------------------------------
Note: dy/dx for factor levels is the discrete change from the base level.
.
end of do-file
I have a question concerning the interpretation of the marginal effect within a logistic regression. Is the interpretation of the marginal effect the same using both methods AME (average marginal effects) and marginal effects at the means (MEM)? In other words, when I look for example at the variable D_ProdBus (.1695874) using MEM and (.1651408) using AME: Do both numbers represent the predicted probability a change in the independent variable has on the outcome of my bivariate dependent variable? The only difference the predicted probability is based on is the way it is caluclated, right? For MEM, all other covariates are held at their means whilst for AME they´re held at their actual values. I am just confused by the name "average" marginal effects and marginal effects at the means both pointing out to someting being "averaged"...
I know that there is more calculations and differences to these two methods for calculation marginal effects, however I am for now only interested in the interpretation of the numbers. And if both give me the predicted probability change of y given a change in x, this would be enough of an answer for now :-)
Would be great if someone could help.
Thanks and best regards
Alex Huber
- Logistic regression followed by MEM -
------------------------------------------------------------------------------
margins, dydx (D_Age D_ProdBus Q_Patents Q_NetInc) post atmeans level(90)
Conditional marginal effects Number of obs = 98
Model VCE : OIM
Expression : Pr(Q_VC), predict()
dy/dx w.r.t. : D_Age 1.D_ProdBus 1.Q_Patents 1.Q_NetInc
at : D_Age = 8.173469 (mean)
0.D_ProdBus = .255102 (mean)
1.D_ProdBus = .744898 (mean)
0.Q_Patents = .6326531 (mean)
1.Q_Patents = .3673469 (mean)
0.Q_NetInc = .122449 (mean)
1.Q_NetInc = .877551 (mean)
------------------------------------------------------------------------------
| Delta-method
| dy/dx Std. Err. z P>|z| [90% Conf. Interval]
-------------+----------------------------------------------------------------
D_Age | -.0008956 .0101539 -0.09 0.930 -.0175973 .0158061
1.D_ProdBus | .1695874 .1016935 1.67 0.095 .0023165 .3368583
1.Q_Patents | .217947 .1028693 2.12 0.034 .0487421 .3871519
1.Q_NetInc | .1867139 .1075301 1.74 0.082 .0098427 .3635851
------------------------------------------------------------------------------
Note: dy/dx for factor levels is the discrete change from the base level.
- Logistic regression followed by AME -
------------------------------------------------------------------------------
margins, dydx (D_Age D_ProdBus Q_Patents Q_NetInc) post level(90)
Average marginal effects Number of obs = 98
Model VCE : OIM
Expression : Pr(Q_VC), predict()
dy/dx w.r.t. : D_Age 1.D_ProdBus 1.Q_Patents 1.Q_NetInc
------------------------------------------------------------------------------
| Delta-method
| dy/dx Std. Err. z P>|z| [90% Conf. Interval]
-------------+----------------------------------------------------------------
D_Age | -.0008379 .0095007 -0.09 0.930 -.0164651 .0147893
1.D_ProdBus | .1651408 .101731 1.62 0.105 -.0021918 .3324734
1.Q_Patents | .211453 .0998145 2.12 0.034 .0472727 .3756332
1.Q_NetInc | .1837894 .1106558 1.66 0.097 .0017768 .365802
------------------------------------------------------------------------------
Note: dy/dx for factor levels is the discrete change from the base level.
.
end of do-file
Comment