Most of the time, we use -tabstat- to displays summary statistics for variables that is calculated (conditioned on) another variable. Now if I want to display variable's mean (or any statistics else) that is calculated separately other variables (suppose those variables all have same number of categeries, for example, group variables created using different methods), how can I achieve it?
Code:
--------------------------------------------------------------------------- groups | 1st 2nd 3rd 4th 5th ----------+---------------------------------------------------------------- 1 | 4.026 4.126 4.726 4.326 4.026 2 | 5.435 5.335 5.335 5.735 5.035 3 | 7.311 7.301 7.331 7.321 7.311 4 | 10.274 10.374 10.374 10.674 10.174 5 | 13.346 13.346 13.246 13.346 13.646 ---------------------------------------------------------------------------
0 Response to How to list simultaneously variable's mean by two or more category variables
Post a Comment