Hi all,
I have dataset:
and I want to repeat the observation that result like this table below:
I try to use stack command, but it doesn't work (I refer the command from this post https://www.statalist.org/forums/for...r-combinations)
Could anybody give me a clue on how to solve it?
Thank you.
Regards.
Khresna
I have dataset:
| A | B | C |
| 1 | 2 | 45 |
| 1 | 3 | 46 |
| 1 | 4 | 47 |
| 2 | 3 | . |
| 2 | 4 | . |
| A | B | C |
| 1 | 2 | 45 |
| 1 | 2 | 46 |
| 1 | 2 | 47 |
| 1 | 3 | 45 |
| 1 | 3 | 46 |
| 1 | 3 | 47 |
| 1 | 4 | 45 |
| 1 | 4 | 46 |
| 1 | 4 | 47 |
| 2 | 3 | 45 |
| 2 | 3 | 46 |
| 2 | 3 | 47 |
| 2 | 4 | 45 |
| 2 | 4 | 46 |
| 2 | 4 | 47 |
I try to use stack command, but it doesn't work (I refer the command from this post https://www.statalist.org/forums/for...r-combinations)
Could anybody give me a clue on how to solve it?
Thank you.
Regards.
Khresna

Comment