Hi,
I have a (probably fairly easy question) where I cannot find a proper solution.
I have a big data set where observations are sampled within 5 countries and I have a dummy variable., where I want to display the percentages for 1 within the country with a horizontal mean line.
Now I want to create a bar graph that displays the percentages of saying 1 in that dummy variable within the countries. Additionally, I want to include a horizontal line at the overall mean of saying "Yes".
More specifically, I have
country = 1(1)5, testlang == 0|1, and I want to display the percentages within the different countries and total.
I presume I have to use a twoway plot but mostly it results in the plot where 0 & 1 are displayed.
I hope that the information is sufficient and you can help me.
Thank you very much in advance,
Hannah
I have a (probably fairly easy question) where I cannot find a proper solution.
I have a big data set where observations are sampled within 5 countries and I have a dummy variable., where I want to display the percentages for 1 within the country with a horizontal mean line.
Now I want to create a bar graph that displays the percentages of saying 1 in that dummy variable within the countries. Additionally, I want to include a horizontal line at the overall mean of saying "Yes".
More specifically, I have
country = 1(1)5, testlang == 0|1, and I want to display the percentages within the different countries and total.
I presume I have to use a twoway plot but mostly it results in the plot where 0 & 1 are displayed.
I hope that the information is sufficient and you can help me.
Thank you very much in advance,
Hannah
Comment