Hey there Stata friends (specifically Jeff Pitblado (StataCorp)!) -- I'm wondering if anyone has been successful in storing the type of test applied to which variable in a dimension/level within the table/dtable/etable command. As an example, I'd want to create a new table of which test was applied by variable or perhaps notate specific variables received a particular test in the notes.
Using the auto.dta dataset, I imagine I could do something like:
I know the original dtable command displays as a "note" all the tests that were done at the top of the initial dtable table preview, but I haven't yet found a way to store that elsewhere. Any ideas?
Thanks!
Using the auto.dta dataset, I imagine I could do something like:
Code:
clear all sysuse auto dtable i.rep78 mpg price, /// by(foreign) /// cont(mpg, stat(mean sd) test(regress)) /// cont(price, stat(median iqr) test(kwallis)) INSERT BUNCH OF COLLECT SUBCOMMANDS TO FORMAT THINGS collect preview
Thanks!
Comment