You are not logged in. You can browse but not post. Login or Register by clicking 'Login or Register' at the top-right of this page. For more information on Statalist, see the FAQ.
Perhaps I am missing something, but I don't see any need to do anything special here. In general, the various regressors in a model are typically not independent of each other, even when they are not related by a lag operator. The regression command itself has presumably dealt with this already by the time you get to running -margins-.
By the way, it is the norm in this community that we use our real first and last names as our usernames. It helps maintain a professional atmosphere. Please click on "CONTACT US" and send the forum operator a request to change the username on your account accordingly. Thank you in advance.
Thank you Clyde, will do. I meant to have a situation such as X{t} = a + b*X{t-1} + u{t}. Is it correct to evaluate the marginal effect of X{t} at the average of X{t-1}?.
Well, this is a somewhat different story because you have a regressor that is a lag of your dependent variable. So the problem is the potential for autoregressive error structure. If your regression model handles this appropriately, you can run -margins- without worry. -margins- itself doesn't deal with these issues: it just uses the information in the estimates from the regression itself.
Autoregressive error structure is not something that comes up much in my field, and I don't have the expertise to advise you. But I can assure you that once you get the regression right, you can just apply -margins- in the usual way.
Comment