Hi everyone,
I am fairly new to STATA and could not find an answer to this on the previous forums. I wanted to create multiple boxplots displaying categories of variables side by side. I have a dataset of 24 cytokine concentrations (individual variables) from animal model with each animal of different weight category (1 variable of BMI category with underweight, normal, overweight, overweight). I would like to display the boxplot of cytokine concentrations in different weight categories side by side. When I plot the cytokines and use the over(bmicat) it plots the boxplots of cytokines grouped by bmi category. Like this:
cytokine bargraph.pdf
graph box ln_elf_ifny_2 ln_elf_il10_2 ln_elf_il12p70_2 ln_elf_il13_2 ln_elf_il1b_2, over(bmicat)
I was hoping to have the cytokines grouped together with each grouping containing boxplots of the different category weights. So each group will have one cytokine and 4 different boxplots of cytokine concentrations broken down by weight categories side by side.
Thank you for any help or suggestions.
I am fairly new to STATA and could not find an answer to this on the previous forums. I wanted to create multiple boxplots displaying categories of variables side by side. I have a dataset of 24 cytokine concentrations (individual variables) from animal model with each animal of different weight category (1 variable of BMI category with underweight, normal, overweight, overweight). I would like to display the boxplot of cytokine concentrations in different weight categories side by side. When I plot the cytokines and use the over(bmicat) it plots the boxplots of cytokines grouped by bmi category. Like this:
cytokine bargraph.pdf
graph box ln_elf_ifny_2 ln_elf_il10_2 ln_elf_il12p70_2 ln_elf_il13_2 ln_elf_il1b_2, over(bmicat)
I was hoping to have the cytokines grouped together with each grouping containing boxplots of the different category weights. So each group will have one cytokine and 4 different boxplots of cytokine concentrations broken down by weight categories side by side.
Thank you for any help or suggestions.
Comment