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
Problems with Multivariate multiple regressionHi all, I performed a multivariate multiple regression in Stata 16.1 with three dependent variables…
Clustering standard errors with logistic regression for panel dataHello, this is my first time using Statalist, so I apologise in advance for any mistakes. I was won…
Tracking changing in variableDear all, I have the following dataset Code: * Example generated by -dataex-. To install: ssc insta…
Problem Pre-test post-test multivariate methodHi all, My data set consist of three dependent variables post-crisis reputation, post-crisis anger…
Hausman test problemHi everyone, I'm doing panel data analysis and I have a problem with the Hausman test, trying to dec…
Subscribe to:
Post Comments (Atom)
0 Response to Questions
Post a Comment