Hello all,
I am trying to test for the equivalence of marginal effects of the same variable at two different indicator variable set points after a regression with an interaction term. Here is the jist of my commands:
reg Y c.X1 i.dummy c.X1#i.dummy
margins dy/dx(X1) at(dummy=0 dummy=1) post
Then I would like to test for whether the marginal effect of X1 at dummy=0 is different than the marginal effect of X1 at dummy=1. I am having trouble with referring to the same variable within the same test command. i.e.: test X1=X1. Thank you in advance for what I am sure is a very simple solution.
Karen.
Related Posts with Testing for equivalence of marginal effects of the same variable at different '_at'
Unbalanced panel dataHi Statalists I have an unbalanced panel data set of countries in the period 2002-2015 and I want t…
Confusion about how to keep students in the right courses in the right levelStata 15.1 I have a list of students who are taking certain courses. Some of the courses have level …
Tobit regression will not workI'm running a tobit regression to work out price elasticises and cross price elasticities for demand…
Survival Function List - Cox RegressionHello, I am able to generate the survivor function overtime with the following code and associated …
PESCADF / MULTIPURT panel unit root testsHello, I am just wondering if there is a way to choose the number of lags in PESCADF or MULTIPURT p…
Subscribe to:
Post Comments (Atom)
0 Response to Testing for equivalence of marginal effects of the same variable at different '_at'
Post a Comment