Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Transform country-by-country data

    Dear Community,

    Could you please help me to transform country-by-country data from this format

    Click image for larger version

Name:	Format 1.png
Views:	1
Size:	78.0 KB
ID:	1694938


    to this format

    Click image for larger version

Name:	Format 2.png
Views:	1
Size:	25.5 KB
ID:	1694939


    Thank you!

  • #2
    You will need to use the reshape long command.

    For more concrete advice, start by creating a Stata dataset containing the data as it now exists and then use the dataex command to recreate the example you posted in a form usable for demonstrating Stata coding.

    Comment

    Working...
    X