Stata command "margin" in Matlab?

For a current research project I have to do some Probit Regression models. Especially I am interested in Marginal Effect at the Means (MEM), Average Marginal Effects (AME) and Marginal Effects at Representative Values (MER). I know in Stata there is the command margin to compute these measures for the x variables of the regression model. But I didn't found that command - or something similiar - in MatLab.
So does anyone know, if there is any similar function in MatLab for computing MEM / AME / MER or the margin command of Stata?
Thanks, Tim

2 件のコメント

per isakson
per isakson 2017 年 11 月 12 日
TimV
TimV 2017 年 11 月 12 日
Hi,
Thank you for the answer! I guess the Logit function in this Toolkit will probably be what I am looking for. The MEM should be ME1 and the AME should be ME2 . Just the MER is missing in that function, but this is already a great help!

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeMATLAB についてさらに検索

質問済み:

2017 年 11 月 12 日

コメント済み:

2017 年 11 月 12 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by