Dear all,
I want to produce a graph from a dataset containing the production of aluminum in different years by different countries. I have a long panel format, i.e. each year is repeated for all the countries and the production value is under the variable "value". Is there a way I can do this without having to change the format of my data and for example by generating the values for different countries as new variables?
Secondly, I need to make another graph showing the total product of all countries for each year. I am new to graphs and would appreciate your help. You could find my dataset attached.
Best regards,
Shadi
Related Posts with stacked bar graph for different years showing shares of countries
tebalance summarize coefplotHi everyone, I am working (still in process on the matching model) on a project using teffects psma…
Conditions for a logistic regression?Hey everyone, I have a question considering the conditions on how you should prepare your data for …
Survey dataGood morning I need some advice for my master thesis please. My data is a cross-sectional survey. A…
Roc curve after beta regressionHi everyone, I want to perform Roc analysis after beta regression and fractional regression. I have …
Sample selection for a panel: struggling with panel bootstrap in the programDear Statalisters, I am using Stata 15.1 and I would like to address the sample selection problem i…
Subscribe to:
Post Comments (Atom)
0 Response to stacked bar graph for different years showing shares of countries
Post a Comment