Hello,
Suppose I have Y as my dependent variable, and I have three dummies, d1, d2, d3. Suppose I run
reg Y d1 d1#d2 d1#d3, nocons
Then having both d1 = 1 and d2 = 1 is equal to d1 + d1#d2.
I want to esttab this results, but instead of the coefficients of d1, d1#d2 and d1#d3 in the lines of the table, I want to have d1, d1 + d1#d2 and d1 + d1#d3.
Margins won't help in this case because I am not regressing Y d1 d2 d3 d1#d2 d1#d3 d2#d3, which would give all margins possible. (I tried using the margins command and it returned "Not Estimable" for the margins of d2 and d3)
Thanks in advance
Related Posts with Eststo/esttab with sum of coefficients (dummies)
mcompare method in command -pwcompare-Hi I have the following puzzle Several places in the (also the pdf) help for -pwcompare-, option mc…
Fine and Gray calculate risksDear all, Could anyone explain how I can calculate 10-year risks of each individual in my dataset a…
Finding closest neighboursI have a survey dataset with lat/long variables of respondents' households. How can I find the 13 cl…
Regression in data panel. Collinearity with FEHello, I am struggling with my data panel analysis. I am conducting a research with information of …
Bayesian Nominal Response ModelPlease the entire house, I need someone to guide me on how I can fit nominal response model using ba…
Subscribe to:
Post Comments (Atom)
0 Response to Eststo/esttab with sum of coefficients (dummies)
Post a Comment