I am new to Stata, and I am struggling with the following:

I have this table:

[![enter image description here](https://i.stack.imgur.com/xsyQ2.png)](https://i.stack.imgur.com/xsyQ2.png)

And I want something like this:

[![enter image description here](https://i.stack.imgur.com/OLVxg.png)](https://i.stack.imgur.com/OLVxg.png)