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
How to use Loocv?I am studying econometrics for a PhD and am more familiar with STATA, so I am currently using that f…
Scatter plot with linear fit of two-period independent variable and one dependent variable. Dear All, I've data on y for period 1 and data on x for periods 4 and 5. I want to graphically dep…
Running a loop n times with different outcome variable and storing the p values in an output matrixI am trying to run loop within loop and get the p values in the matrix. I want to assign random trea…
Fama MacBeth Regression with missing explanatory variablesI am trying to run a Fama-MacBeth regression with multiple independent variables. The dependent vari…
Can you define outreg2 options as a macro?I want to print estimation output with outreg2 as a tex file. I combine several results for which on…
Subscribe to:
Post Comments (Atom)
0 Response to Combining two variables by variables names
Post a Comment