After running a xtlogit regression, I was trying to compare the effects of investing on the mental health of men and women. So I used the command
Code:
margins sex, dydx (invest) pwcompare
. However, I am not sure how to interpret the results, as there seems to be no standard error or p value.

When the variable invest is continuous, the result seems to be the difference between the two derivatives using the command
Code:
margins, dydx (invest) at (sex=(0 1))
. But if the dependent variable is categorical, I don't know how to understand the result.

Thank you.