Array
I have created two three variables. TradeBoth is = 1 given that both export and import has a positive value. TradeOne is 1 given that one of export or import has a positive value, but the other one is unobserved. A variable "missing" that is 1 given that both export and import is missing. If these variables are not 1, then I have them as "."
I tried initially to run something like this to then built upon it. However, I can't get percent to work.
graph bar (percent) TradeBoth TradeOne missing, over(year) stack title("Data distribution")
Thank you for any helpful answers!
Sincerely,
Jonathan
0 Response to Stacked charts
Post a Comment