Dear All:
I create with table a two-way-table with proportions within each factor-variable level. This works well.
Now I would like to continue working with resulting table, either as a matrix or dataset (also happy to export as CSV to Excel). But it eludes my how to do it.
My search revealed alternatives to table, e.g. xtable or tabulate. But with those I am not able to create that table as I would like to have it (usuall weights or proporations are an issue).
In any case here is a workable example:
webuse total, clear
table heartatk (sex) [pw=swgt], stat(fvproportion race)
How do I save/export the results of this command to continue working with it?
Thank!
Stefan
I create with table a two-way-table with proportions within each factor-variable level. This works well.
Now I would like to continue working with resulting table, either as a matrix or dataset (also happy to export as CSV to Excel). But it eludes my how to do it.
My search revealed alternatives to table, e.g. xtable or tabulate. But with those I am not able to create that table as I would like to have it (usuall weights or proporations are an issue).
In any case here is a workable example:
webuse total, clear
table heartatk (sex) [pw=swgt], stat(fvproportion race)
How do I save/export the results of this command to continue working with it?
Thank!
Stefan