I am using estat mfx to compute marginal effects after asmprobit. After that I need to compute the following partials:
Thank you so much!
Wilson
dP/dx = (dP1/dx)s1 + (dP2/dx)s2 + (dP3/dx)s3and I need to compute the standard error of dP/dx. Stata computes dP1/dx, dP2/dx, and dP3/dx for me. s1, s2, and s3 are constants. It’s difficult to manually calculate them because asmprobit is simulation-based and slow. Program the algebraic solution to use predictnl might be feasible but really messy. Since Stata uses delta method to compute standard errors, somewhere in the code, the partial derivatives of dP1/dx must be available, right? Margins returns the Jacobian matrix. Can we get the same matrix from "estat mfx"? If so, I can compute my own standard error by computing (d^2P/dBdX). Or, is there another way to accomplish this?
Thank you so much!
Wilson
Comment