Dear all,
I have subdivided my particpants into 3 group based on bmi (0, 1, 2). i want to plot (box plot) a variable X over only 0 and 2 ( or 1 and 2) and further by gender (0 for men and 1 for women).
What is the code i need please.
with the code below i get my plot but in the categories of BMI. i don't know how to exclude the category 1.
Code:
graph box cnv if sex==0, over (BMIcat1)
Thanks in advance

stata 15.1 IC mac