Hi there,
I am new to the forum. Hopefully I am posting correctly!
I am running a model with xtgee. It includes an interaction, and I'd like to use margins to interpret the results. However, because one of the variables in the interaction does not have a natural unit (it is a scale), I would also like to standardize that predictor. (Incidentally, it appears that the listcoef, help command does not work after an xtgee model). My question is: can I run the margins command to compute marginal effects if I use a standardized version of the variable (using egen std). In other words, does it make any sense to have a marginal effect of a standardized variable? I anticipate an interpretation along the lines of "the marginal effect of a unit increase in x", for which x has been standardized. But I don't know if that makes substantive sense.
Code:
xtgee y i.x1##c.zx2 x3...xn, i(id) corr(exch) robust
mtable, dydx(zx2) at(x1=(0 1))
where "zx2" is the standardized version of x2.
Many thanks,
Robbie Dembo
I am new to the forum. Hopefully I am posting correctly!
I am running a model with xtgee. It includes an interaction, and I'd like to use margins to interpret the results. However, because one of the variables in the interaction does not have a natural unit (it is a scale), I would also like to standardize that predictor. (Incidentally, it appears that the listcoef, help command does not work after an xtgee model). My question is: can I run the margins command to compute marginal effects if I use a standardized version of the variable (using egen std). In other words, does it make any sense to have a marginal effect of a standardized variable? I anticipate an interpretation along the lines of "the marginal effect of a unit increase in x", for which x has been standardized. But I don't know if that makes substantive sense.
Code:
xtgee y i.x1##c.zx2 x3...xn, i(id) corr(exch) robust
mtable, dydx(zx2) at(x1=(0 1))
where "zx2" is the standardized version of x2.
Many thanks,
Robbie Dembo
Comment