The following seems to be true:
a) If after you run a regression (non-linear), you manually use the predict command for a particular independent variable and then make an epsilon change in that variable and get a new prediction, then the difference between the prediction s(divided by epsilon) is approximately the same result as using margins, dydx, but
b) If after you run a regression and then use the margins command to get two predictions, the predictions need to be a unit (the number 1) difference in the independent variable to approximate the margins, dydx command.
Two questions:
1) Is this generally true, and
2) Why is it true?
a) If after you run a regression (non-linear), you manually use the predict command for a particular independent variable and then make an epsilon change in that variable and get a new prediction, then the difference between the prediction s(divided by epsilon) is approximately the same result as using margins, dydx, but
b) If after you run a regression and then use the margins command to get two predictions, the predictions need to be a unit (the number 1) difference in the independent variable to approximate the margins, dydx command.
Two questions:
1) Is this generally true, and
2) Why is it true?
Comment