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
Annual and Monthly Stock PricesDear All Hope you are well. I am working on some share prices and I would really appreciate some h…
Maximum value for each quarterDear all, I'm stuck with something that I think you may help me : ) I have a data set on a monthly b…
Issues with unbalanced Panel DataHello everyone: I have a few questions concerning the choices I have to make with respect to unbala…
Lead and Lag Variables in RegressionsHi All I have an example of a regression model with leads and lags, and I was wondering if I am cor…
Logit estimation - Margins - not estimableDear forum members, I face the following issue. I am running a logit regression on survey data (ind…
Subscribe to:
Post Comments (Atom)
0 Response to Questions
Post a Comment