Hello
I have data that is set out with a first row being numbers that I would like as variable names. Since I cannot name the variables with these names (because they are digits), I would like to name my variables with the letter K in front. eg the first row appears 010 011 012 ... 200 and I would like to name the variables which fill each of their columns K010 K011 K012... K200.
This is probably a simple thing to do but I am struggling as a new STATA user- any help would be greatly appreciated!
Thanks
Related Posts with Renaming variables with modified versions of label names
Extraction of submatrix containing probit estimatesI want to extract submatrices of the coefficient vector and the var/cov matrix which are returned fo…
Use outreg2 on multiple analysesHello, Running the module fairlie produces two tables: logistic regression and decomposition, and i…
Scatter plot: individual slope versus baseline GFRDear Stata users, I am trying to create a scatter plot of individual slopes (GFR) versus baseline …
import excel and reshapeDear All, I have this data set in excel as: Array and data is here test.xlsx. How can I obtain the …
PvarI am using 7 countries and 7 variables for the 19 years. My problem is that pvarsoc does not work. I…
Subscribe to:
Post Comments (Atom)
0 Response to Renaming variables with modified versions of label names
Post a Comment