Hi everyone. I have the 2019 LFS data and I am trying to produce a bar chart that describes the percentage of individuals who are immigrants by province. I want to use the two-way bar command. Can anyone help me with the syntax?
The data for immigration includes three cases:
1 Immigrant, landed 10 or less years earlier
2 Immigrant, landed more than 10 years earlier
3 Non-immigrant
The Provinces are :
10 Newfoundland
11 Prince Edward Island
12 Nova Scotia
13 New Brunswick
24 Quebec
35 Ontario
46 Manitoba
47 Saskatchewan
48 Alberta
59 British Columbia
I only want to include four provinces (Newfoundland, New Brunswick, Nova scotia, and Prince Edward Island).
I tried twoway bar immig prov if prov=="Newfoundland, New Brunswick, Nova Scotia, Prince Edward Island" but it didn't work
I would appreciate it if anyone can tell me what syntax I should use?
The data for immigration includes three cases:
1 Immigrant, landed 10 or less years earlier
2 Immigrant, landed more than 10 years earlier
3 Non-immigrant
The Provinces are :
10 Newfoundland
11 Prince Edward Island
12 Nova Scotia
13 New Brunswick
24 Quebec
35 Ontario
46 Manitoba
47 Saskatchewan
48 Alberta
59 British Columbia
I only want to include four provinces (Newfoundland, New Brunswick, Nova scotia, and Prince Edward Island).
I tried twoway bar immig prov if prov=="Newfoundland, New Brunswick, Nova Scotia, Prince Edward Island" but it didn't work
I would appreciate it if anyone can tell me what syntax I should use?
Comment