Hi,
I'd like to generate a one-way table with summary statistics that also has nested row variables. I've been able to do this with the table command, but have run into a few issues:
This creates a table similar to what I want, but I cannot get more than five columns without a "too many stats()" error being thrown. I'd also like to rename columns and put t-stats under some column names.
I've looked into using another command, i.e. tabout, but don't think I still use the nested row variables construction with by() and contents(mean ..). Would appreciate thoughts on how to troubleshoot this so that I can add more columns.
Thanks in advance for help.
I'd like to generate a one-way table with summary statistics that also has nested row variables. I've been able to do this with the table command, but have run into a few issues:
Code:
table lagged_return_decile if inlist(lagged_return_decile, 1, 5, 10), /// contents(mean month_return mean volume mean median_size_decile mean median_stock_price /// mean K_3 mean K_6) by(J)
I've looked into using another command, i.e. tabout, but don't think I still use the nested row variables construction with by() and contents(mean ..). Would appreciate thoughts on how to troubleshoot this so that I can add more columns.
Thanks in advance for help.