My variables are: country (Angola, Armenia, Azerbaizan....) and year (2004, 2006, 2009). Is it possible to combine them to look like:
Angola_2004
Armenia_2006
Azerbaizan_2009
...
Related Posts with Combining two variables by variables names
Separate GMT date into date and military timeI have a data set with the date as shown in the sample data. I wish to separate the variable "date_G…
Extent Indicators, Zooming and Clearer Maps with grmapI'm doing a synthetic control analysis of COVID-19 vaccine mandates in the United States, and I want…
Underlying Computation of regress functionI know STATA is written in C. Does anyone know if C calls FORTRAN for the dqrls subroutine? Or does …
Counting years in panel dataHi all, I'm trying to create a count variable for the number of years a factory has been in product…
How to weight the analysis by the actual population?Dear Statalist, I hope you are well. In fact, I have used the method of random sampling to collect…
Subscribe to:
Post Comments (Atom)
0 Response to Combining two variables by variables names
Post a Comment