Dear all
I've unfortunately been struggling for quite some time now with my output tables. I have tried using different functions/packages, including estout and outreg2 but have been unsuccessful so far. Would anyone be able to kindly help me achieve the following:
I have several variables ("var1" "var" and "var") and would like to create a table which gives their average on a yearly basis (ideally also including whether they are different from 0 on a statistically significant level). My output table would therefore ideally look something like this (also including a fifth column as the difference between var3 and var1)
year var 1 var2 var3 var3-var1
2000 0.2 0.3 0.3 0.1
2001 0.1 0.2 0.1 0.0
2002 0.2 0.1 0.2 0.0
... --- --- ---
I have so far been trying this, but apprently this doesn't work for more than two groups: estpost ttest var1 var2 var3 var4(var3-var1) , by(year)
I would be very grateful for any suggestions anyone may have.
Thanks in advance and best regards,
Jay
I've unfortunately been struggling for quite some time now with my output tables. I have tried using different functions/packages, including estout and outreg2 but have been unsuccessful so far. Would anyone be able to kindly help me achieve the following:
I have several variables ("var1" "var" and "var") and would like to create a table which gives their average on a yearly basis (ideally also including whether they are different from 0 on a statistically significant level). My output table would therefore ideally look something like this (also including a fifth column as the difference between var3 and var1)
year var 1 var2 var3 var3-var1
2000 0.2 0.3 0.3 0.1
2001 0.1 0.2 0.1 0.0
2002 0.2 0.1 0.2 0.0
... --- --- ---
I have so far been trying this, but apprently this doesn't work for more than two groups: estpost ttest var1 var2 var3 var4(var3-var1) , by(year)
I would be very grateful for any suggestions anyone may have.
Thanks in advance and best regards,
Jay
Comment