Dear all users, I am dealing with the following problem:
I have to put in a graph the distribution of my outcome variable dividing it in subgroups defined by another variable (10 subgroups) so the option of a box whisker plot seemed perfect to me!
The problem is that my outcome variable goes from 0 to 11, and only few (but still a considerable quantity) records have the greater values so when I try to graph it stata recognizes them as outliers but since they are not I would need considers them as the highest values of the range. How to do that?
the code I use is:
graph box var, over(independet var). I know that to get rid of outliers I shall use the option "nooutside" but on contrary I need to consider them all as part of the graph. Any idea how to fix it?
thank you so much in advance!
I have to put in a graph the distribution of my outcome variable dividing it in subgroups defined by another variable (10 subgroups) so the option of a box whisker plot seemed perfect to me!
The problem is that my outcome variable goes from 0 to 11, and only few (but still a considerable quantity) records have the greater values so when I try to graph it stata recognizes them as outliers but since they are not I would need considers them as the highest values of the range. How to do that?
the code I use is:
graph box var, over(independet var). I know that to get rid of outliers I shall use the option "nooutside" but on contrary I need to consider them all as part of the graph. Any idea how to fix it?
thank you so much in advance!
Comment