I have generated three variables and I want to combine the three into a table with one variable in each column and the column name as the variable name. Is that possible in STATA? If it is possible, what is the command for that?
For example, I have variable name, life time, and weight
For example, I have variable name, life time, and weight
| Name | Life time | Weight |
| Patient 1 | 3 | 60 |
| Patient 2 | 4 | 76 |
| Patient 3 | 5 | 45 |
| Patient 4 | 2 | 31 |
| Patient 5 | 6 | 77 |
| Patient 6 | 8 | 56 |
| Patient 7 | 10 | 59 |
| Patient 8 | 12 | 80 |
| Patient 9 | 7 | 73 |

Comment