Hello,
I import data (related to one single variable "stringency" in excel to stata. However it appears in a single column the day-week-month and it appears in each column the values for each country. This means that each variable is a name of a country. How can I change this data in order to have the countries in one column and the date (day-month-year) in another country. Can you help me with this issue?
I sent you an example. Thank you in advance.
country_name aruba afghanistan angola albania andorra unitedarabemirates argentina australia
01Jan2020 0 0 0 0 0 0 0 0
02Jan2020 0 0 0 0 0 0 0 0
03Jan2020 0 0 0 0 0 0 0 0
04Jan2020 0 0 0 0 0 0 0 0
05Jan2020 0 0 0 0 0 0 0 0
Related Posts with How to organize a dataset in order to have years in one column and countries in another column
Logit & conformability error in inteff I am using a survey data to run a logit regression, and currently I am testing the interactions of …
Drop variables based on nameHi, I have a dataset with 100 variables, 50 of which are called Xi_ante and 50 of which are called X…
Fractional logit model for proportions over timeDear all, I have calculated a “Diversity Index” for a given population. Per the census website, the …
Comparing age adjusted mortality ratesHello everyone. I am trying to compare age-adjusted mortality rate for two population. Rural age ad…
Fractional logit model for proportions over timeDear all, I have calculated a “Diversity Index” for a given population. Per the census website, the …
Subscribe to:
Post Comments (Atom)
0 Response to How to organize a dataset in order to have years in one column and countries in another column
Post a Comment