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'
Line Plots : Count and Proportions Code: * Example generated by -dataex-. To install: ssc install dataex clear input int year str1 fi…
Weights and Descriptive statisticsI am conducting a study that examines the impact of a state-level policy on individuals living in co…
xtset with time variable and categorical variableHi, Im trying to set up a long format data structure to use xtgee models. For each time variable (we…
Propensity score matching on countryHello together, I have a paneldata set and I want to run propensity score matching and restrict/for…
how to generate lower quartile and upper quartileHello every one I need to know how to run the command of summarizing with getting lower quartile an…
Subscribe to:
Post Comments (Atom)
0 Response to Testing for equivalence of marginal effects of the same variable at different '_at'
Post a Comment