Hello,
this is a general question about the best approach. I am using stata 16.1
I want to make a table from one string variable and several numeric variables for e.g. the first 50 observations (showing single observations not summary statistics). I want to use the string variable as row labels. There should be many customization options.
I have tried several approaches but neither seems optimal.
The list command does in principle what I want to do but with very limited customization options. I want to use variable labels instead for the variable names, different formats and column width for the numeric variables. If possible customized placement of separating lines would be nice (customization a little bit like in Excel).
I came closest by using matrices but labeling the row names is challenging and the maximum length of the label expression is limited (as I understand it).
Which approach would you suggest?
Thanks!
Related Posts with Table from string and numeric variables
Data mergeHi Statalist, I am new to Stata and need help to merge two data sets. The merge or by variables are…
Replacing String variables with another string variable. (String variables contain data from multi select questions)Hi. im trying to replace observations of a string variable from another string variable (Both the st…
Running two loopsHey, I have the following problem. Let's suppose I have this data set country A B C Germany 5 6 7…
Measuring the average Wage before and After movingHello Members, I have data on individuals moving across regions and I have grouped each region into…
Using numbers from tabulate var1 var2 into mcciDear Statalists, I need to perform a lot of McNemars using mcc or mcci (with a preference for mcci)…
Subscribe to:
Post Comments (Atom)
0 Response to Table from string and numeric variables
Post a Comment