Hi everyone,
I'm not quite sure how to phrase this request, but I want to create a bar graph that shows the mean of a full sample and compare it to the mean of groups within the sample in *one* graph. In the attached image, you see the far right bar represents the general population and the remaining graphs represent the major religious groups in the gen pop. I'd like to recreate something along these lines. Many thanks for the help.
Related Posts with Bar graph comparing full sample mean with means by group
Keep specific rows in a variableHello, I have a dataset with two variables: time and title. Title refers to some headline news -- t…
How to drop the duplicates with the fewest missing values?I have duplicates that share values, but some are missing. I would like to keep the observation of e…
Fractional response model with binary endogenous explanatory variableHello everyone, As the title mention, I have an endogenous explanatory variable, which happens to be…
Generating a variable that is gives average score based on 'yes' responses on a bunch of variablesHello experts, I have been facing a challenge in producing an output that is based on average score…
Looping over folders in the directory and then over files in each folderHi everyone, I want to make a panel data dta file from several excel files sitting in several folde…
Subscribe to:
Post Comments (Atom)
0 Response to Bar graph comparing full sample mean with means by group
Post a Comment