Dear Statalist,
I feel embarrassing to come up with this simple question since I don't know how to google it by a short sentence. I want to plot a box graph for a categorical variable for one of my two group subjects, so I use -if- to limit the range for the plotting. But the problem is, the other group of subjects are all with value of a number that not exist in the plotting group, like the values for the plotting group are 1,2,3... but for the other the value is 88. Thus the 88 always show in the bar graph, even it has no observation under the condition.
I'd like to know how to omit it when plotting the graph for only one group? Thank you!
Yue
I feel embarrassing to come up with this simple question since I don't know how to google it by a short sentence. I want to plot a box graph for a categorical variable for one of my two group subjects, so I use -if- to limit the range for the plotting. But the problem is, the other group of subjects are all with value of a number that not exist in the plotting group, like the values for the plotting group are 1,2,3... but for the other the value is 88. Thus the 88 always show in the bar graph, even it has no observation under the condition.
I'd like to know how to omit it when plotting the graph for only one group? Thank you!
Yue
Comment