Hi, I am wanting to compare the mean of an outcome amongst male and female children in households with a male pensioner to those in households with a female pensioner. The pension variables are such that it takes on the value 0 if there is no pensioner or the pensioner is not the specified gender. Using multiple over() statements I see I have to generate 2 graphs. One comparing means in male-pensioner households to households with no pensioners and the other comparing means in female-pensioner households to those with no pensioners. Is it possible to only have one graph that compares households with male pensioners to those with female pensioners, ignoring the households with no pensioners.
Related Posts with combining two bar graphs
Adding error bars to bar graphHi all, can someone please assist me with how to add error bars to the bar graph attached. Thanks. …
convert panel data from annual to monthly dataHere is my panel data, and I want to convert the dataset from annually to monthly data. So can we re…
Reshape wide to longHi I have a question using the code -reshape-. For each year denoted by alphabet 'a' to 'd'. Ex) 20…
balancetable testing differences across multiple subsamplesHello, I am using the balance table command to create a balance table. I would like to report p val…
List values of one variable in blocksDear Stata users, I have a name list, and I want to list these names in blocks according to a crite…
Subscribe to:
Post Comments (Atom)
0 Response to combining two bar graphs
Post a Comment