Hello everyone,
I am trying to produce a esttab table in .tex format. Basically, I want a table showing my regression coefficients, but only the coefficient on female (which is ca_sex==2), the interaction between female (ca_sex==2) and the dummy for whether the individual has children or not (children_below16 ==1 if children below 16), and finally the constant.
Here is the code that I produced:
But I obtain some coefficients (in fact a lot) that are 0.
Is that way of coding with esttab correct?
Thank you very much in advance.
Best,
Michael
I am trying to produce a esttab table in .tex format. Basically, I want a table showing my regression coefficients, but only the coefficient on female (which is ca_sex==2), the interaction between female (ca_sex==2) and the dummy for whether the individual has children or not (children_below16 ==1 if children below 16), and finally the constant.
Here is the code that I produced:
Code:
// Create table and report coefficients of interest in .tex format
*
eststo: quietly regress working_c19 ca_sex
*
eststo: quietly regress working_c19 ca_sex occupation
*
eststo: quietly reghdfe working_c19 ca_sex, absorb(occupation)
*
eststo: quietly reghdfe working_c19 ca_sex i.ca_sex##i.children_below16, absorb(occupation)
esttab, coef(ca_sex children ca.sex#children_below16 _cons) ///
label title("Regression Results")
*
*
// Save the table in .tex format
esttab using table.tex, replace
Is that way of coding with esttab correct?
Thank you very much in advance.
Best,
Michael

Comment