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
optimization with STATAI am unfamiliar with STATA programming, and I am trying to program some very rudimentary optimizatio…
covariates and distal outcomes in a latent class modelHi Statalist Is there a way to implement the 3-step Latent Class Analysis (to include the covariates…
ivreg2 - despite using partial option I get full rank errorIn a multiple instrument regression using ivreg2 with gmm2s option I'm using partial. Despite using …
Coefplot - multiple models with different dependent variablesAll, I am running multiple regressions with the same independent variable and 29 different dependent…
Reshape wide with no time/order variableHello. I am working with a dataset that has multiple observations for most of the identifiers labele…
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