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
Major change in coefficient when adding a squared variable in fixed effects model. Interpretation?When I use the xtreg command with fixed effects to look at the correlation between use of marijuana …
Automate file names using current dateHi All! I'm trying to create a local string reflecting the current date in the format, "YYYY-MM-DD"…
using tabstat for mean annual procedure volumeGood morning, I have a dataset of companies (ik), case-number, year, procedure-type and quintiles. …
ANOVA test for clusteringHi, I want to check whether there is a need to cluster my results. I am doing a panel regression re…
outreg2Good morning, I am looking to create a table for logistic regression results, with a title, odds rat…
Subscribe to:
Post Comments (Atom)
0 Response to Table from string and numeric variables
Post a Comment