Hello Stata friends,
I have to reproduce a table in which the means of different variables are compared. For example the mean of log(sales) for companies with women on the board (dummy variable) with log(sales) mean of companies without women on the board. So the chart would look like this:
I have the means already calculated but I can't figure out how to build that table...
Thanks in advance for any help. I tried google myself but all I could find was the pwmean function and that doesn't cut it I think.
I have to reproduce a table in which the means of different variables are compared. For example the mean of log(sales) for companies with women on the board (dummy variable) with log(sales) mean of companies without women on the board. So the chart would look like this:
Variables | with female | without female | difference |
var1 | mean (var1_female) | mean(var1_male) | colom 1- colom 2 (with stars for statistical significance |
var2 | mean(var2_female) | mean(var2_male) | colom 1- colom 2 (with stars for statistical significance |
var3 | mean(var3_female) | mean(var3_male) | colom 1- colom 2 (with stars for statistical significance |
I have the means already calculated but I can't figure out how to build that table...
Thanks in advance for any help. I tried google myself but all I could find was the pwmean function and that doesn't cut it I think.
Comment