I am using mfxrcspline to make a graph of the marginal effects of my splined regressor (X), on the dependent variable (Y). However, my regressor (X) is a price ratio (A/B). When I run mfxrcspline, I get a beautiful graph of the marginal effects of dY/dX, but I would like the marginal effects in terms of B (denominator of the price ratio) if I hold A constant. In other words, I’d like to calculate dY/dB. Is there anyway to do this using mfxrcspline?
Thank you!
Thank you!
Comment