Hi,
my data looks like this:
fyear ctar_d ctar_nd
2000 0.5 1.1
2001 0.7 1.3
2000 1.1 1.6
2001 1.4 0.2
2002 1.0 0.4
2003 0.3 0.5
For every year I want to test if there is a statistical significant difference between the average cash to asset ratio of firms that pay dividends and the average cash to asset ratio of firms that don't pay dividends. I came up with the following code:
bysort fyear: ttest cashtoassetratio_dividend == cashtoassetratio_nondividend, unpaired
I was wondering if there's is a possibility to put the yearly test outputs to an excel file. Thank you for your hints!
Markus
my data looks like this:
fyear ctar_d ctar_nd
2000 0.5 1.1
2001 0.7 1.3
2000 1.1 1.6
2001 1.4 0.2
2002 1.0 0.4
2003 0.3 0.5
For every year I want to test if there is a statistical significant difference between the average cash to asset ratio of firms that pay dividends and the average cash to asset ratio of firms that don't pay dividends. I came up with the following code:
bysort fyear: ttest cashtoassetratio_dividend == cashtoassetratio_nondividend, unpaired
I was wondering if there's is a possibility to put the yearly test outputs to an excel file. Thank you for your hints!
Markus
Comment