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'
R2 for xtnbreg modelHello everyone, i am currently analyzing a count variable with the -xtnbreg- command. This command …
Missing valuesHello, fellow stata lovers! I am working on my thesis and have a dataset from the Enterprise Survey…
loop for missing valuesHi everyone! I am trying to complete a database in form of a "tree", adding as values the last avail…
Displaying Significance Stars in combined summary and correlations tableDear Forum, i merged my correlations and summary statistics to one table via the below code (thanks…
Esttab: Store value of matrix and display in tex-tableDear All, I am encountering the following issue. I want to compute a mean after a regression with t…
Subscribe to:
Post Comments (Atom)
0 Response to Testing for equivalence of marginal effects of the same variable at different '_at'
Post a Comment