Hello,
I am in need of some assistance. I am trying to create a stacked bar graph to observe the expenditure per age group while also observing what kind of health coverage they have. I have attached my current bar graph and code. I would like to take out the zero or figure out an easier way to do this. Any help is appreciated.
Code: graph bar (mean) TotalEXP [pweight = weight], over(Medicare) over(Medicaid) over(Age) stack blabel(bar) title(Figure 1: Average Health Expenditures by Age)
Array
Related Posts with Stacked Bar Graph
Weight and mathematically adjust certain valuesHi All, I am looking to generate some new variables on the dataset listed below, but I'm not quite …
Group identifiers with conditional _n-1 statementsHello, I have data where individuals may be represented multiple times in the data and I am trying t…
How would I predict a wage from a quadratic regression?Hi there, I am currently trying to describe the relationship between wage and education using the re…
Creating identifiers based on two groupsHi there, Statalisters, I have a question similar to one that was asked some years ago, and I am no…
Count the digits of variableHello, I would like to create a variable ('digit') that counts the number of digits of a number var…
Subscribe to:
Post Comments (Atom)
0 Response to Stacked Bar Graph
Post a Comment