Hello,
I'm working with a panel data set covering the climate vulnerability scores for countries over a set of years. One of my categorical variables is region. For each observation, my dataset literally displays the full region name e.g. "East Asia & Pacific". For graphing my descriptive stats, I would like the region names to appear as abbreviations. For example, under the bars chart that shows my mean score for the outcome variable (vulnerability score), the x-axis is jumbled up from the full region names. I would like it to show EAP instead of "East Asia & Pacific. I have region dummy variables that are names after the region abbreviations. This could have been prevented if I replaced the region names with their respective abbreviations in excel, how may I do the same in Stata 17.
Related Posts with Changing variable names
Multivariate probit with sample selectionDears, I am developing a multivariate probit model in which one of the variables "access to qualifie…
Multilateral Resistance Term for distanceDear Statalist, I am trying to calculate a variable called "Mdistance" that was introduced in Baier…
Conflicting results with egen, max()Dear all, I'm trying to answer a question here: https://stackoverflow.com/questions/...rvations-sta…
label of x-axisDear All, I was asked this question (https://bbs.pinggu.org/thread-10348633-1-1.html). The data set …
help request with assigning values to paired casesI am struggling with how to code values to paired cases. I need to assign the same pre-post periods …
Subscribe to:
Post Comments (Atom)
0 Response to Changing variable names
Post a Comment