hello everyone,
I am new to Stata and have a question with regard to variable creation. I am trying to label the axis using the actual province abreviations rather than the designated number in the data sheet. the code I am using is:
keep prov hrlyearn
label define provincelables 10 "NL" 11 "PEI" 12 "NS" 13 "NB" 24 "QC" 35 "ON" 46 "MB" 47 "SK" 48 "AB" 59 "BC"
graph twoway scatter hrlyearn prov
This code generates the graph but has the provinces numbers along the axis rather than the abreviations
Related Posts with Questions
Plotting robust fitHi, I made a simple linear regression and I used a scatter plot to show it visually. I was trying to…
Using strpos to generate a new variable conditional on the last digit of another stringDear Statalisters, I'm struggling with Stata in handling a string problem. I have a dataset of indu…
Problem with attribute having different dimensions across treatment groups for mixed logit model estimationHi all, I am analysing a discrete choice experiment. I joined the project at a later stage, so I wa…
Plotting Matrix as pdf with two values in each cell and coloring with respect to both valuesHello, I'm trying to plot a matrix as a pdf file. There are two things in particular I would like t…
Robust standard errors for Panel Count DataHi Statalisters, I have panel count data and it appears to me that it has rather a negative binomia…
Subscribe to:
Post Comments (Atom)
0 Response to Questions
Post a Comment