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
Fractional RegressionHello, I have to perform a regression and my dependent variable is a probability. My two independen…
Interaction with instrumented variableI am measuring the impact of distance to the nearest city on employment outcomes. Y = b0 + b1*X1 + …
Doubts about interpretation of the estimated coefficients using a stochastic frontier modelIn my thesis, I´m estiming a stochastic frontier model (SFM). The first equation estimates the produ…
Looping correlation between variablesHi, With following data: Code: * Example generated by -dataex-. To install: ssc install dataex cle…
Issue with histogram: Single outlier and x-axis scaleI have uploaded a .png of my experimental histogram. The code for it is as follows Code: histogr…
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