I am getting an error when I put in these two codes. I am using Stata 12.
I have recoded CHILDREN
already as a dummy variable called CHILDRENDUMMY
and the variable is located in the list of variables. I am trying to run two margins
commands, but I am getting the error message
vsquish CHILDRENDUMMY not found in list of covariates
Can someone please help me?
First Code
margins, dydx (DISAGMT) at (CHILDRENDUMMY= (0 1)) vsquish
Second Code
margins, at dydx (DISAGMT= (0) CHILDRENDUMMY= (0 1)) vsquish