Stata-like Marginal Effects for Logit and Probit Models in R 
My thanks to those who emailed comments and suggestions for my ‘mfx’ function, I’m happy that I could fill a void for some people. I also received a request/suggestion from Tony Cookson, along with a helpful fix for a bug in the code, to include an option that would allow the user to specify values at which the marginal effects are evaluated (other than at the sample means). I’ve updated the previous post with the new code, and an example.
To leave a comment
for the author, please follow the link and comment on their blog: TimeSeriesIreland » R
offers daily e-mail updates
news and tutorials
on topics such as: visualization (ggplot2
), programming (RStudio
, Web Scraping
) statistics (regression
, time series
) and more...
If you got this far, why not subscribe for updates
from the site? Choose your flavor: e-mail
, or facebook