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
Fixed effects model with control groupDear all, I am examining the impact of merger activities on the costs of firms. The purpose is the …
Dummy for first duplicateHello, I am trying to figure out how to create a dummy variable for the first duplicates of the yea…
Survey weights in pooled dataHi, I am using for my analysis pooled survey data from five different countries. I would normally u…
Calculate Relative Risk with 95% CI from two-way tableHello, i have to variables (sex (male/female) & hypertens) and would like to calculate the 95% C…
Do File Error - Incomplete Command ExecutionHi All I am using Stata 13 (on a MacBook MacOS Catalina), I have an error in executing commands fro…
Subscribe to:
Post Comments (Atom)
0 Response to combining two bar graphs
Post a Comment