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
optimization with STATAI am unfamiliar with STATA programming, and I am trying to program some very rudimentary optimizatio…
Assuming ICCHello everyone, This is my first post here. I need icc for power calculation. I have outcome variabl…
generate t-statHow can we modify this code to generate t-stat of the means instead of standard deviation (sd), and …
Transform a table: making options as variableDear all, I have this type of table: ID Date Culture ID Culture type Sample result 1 1 Jan 202…
ivreg2 - despite using partial option I get full rank errorIn a multiple instrument regression using ivreg2 with gmm2s option I'm using partial. Despite using …
Subscribe to:
Post Comments (Atom)
0 Response to Table from string and numeric variables
Post a Comment