Dear Statalist,
I am using -mkspline- and -probit- command to calculate the average marginal effect of probit model.
below are my command:
In order to display it by graph like this, is there any command in stata to graph the averge marginal effect of probit model (spline approach)?

Thanks in advance,
David
I am using -mkspline- and -probit- command to calculate the average marginal effect of probit model.
below are my command:
Code:
mkspline HAF21 0 HAF22= HAF2 probit open l.HAF21 l.HAF22 l.lncv222 l.lncv1 l.HERF l.cv41 l.cv61 l.cv7 i.yr indc1-indc28,vce(robust) nocon margins , dydx(l.HAF21 l.HAF22 l.lncv222 l.lncv1 l.HERF l.cv41 l.cv61 l.cv7) atmeans post
Thanks in advance,
David
Comment