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
Running out of memory while merging .dtaDear all, I am encountering a problem similar to this post (running out of memory while merging). In…
Conditionally Replacing Values in Long-Data Format Dataset?Hello, I have simplified an original question I had so that it is much more approachable. I have lo…
Advice on how to compute generalized residuals for order probit with panel dataHello, I am using a control function approach to correct for an endogenous ordinal variable (with t…
Test statistics from multinomial logit regression using esttabPlease I would like to perform joint tests of significance in a multinomial logit and include the re…
Allignement of Histogram BarsHow can I change the alignment of the bars in a histogram without changing the x variable. The bars …
Subscribe to:
Post Comments (Atom)
0 Response to Table from string and numeric variables
Post a Comment