Important: The stats package has been deprecated. Use the superseding package Statistics instead.
>
|
|
>
|
|
>
|
|
change axes to frame:
>
|
|
Usually, there are more than one box plot in a statistical plot. Two sets of data can be compared in this manner:
>
|
|
>
|
|
Plotting data1 versus data2 with box plots in the margin of a scatter plot:
>
|
|
One of the box plots above x=14
>
|
|
The other box plots above x=6
>
|
|
Flip that one so that it is now on its side, centered at y=6
>
|
|
Display the composite plot.
>
|
|
Examples of notched box plots (use the abbreviated command):
>
|
|
>
|
|
In the following plot, one could conclude that data3 and data4 are samples from the same population, and that data5 was drawn from a different population. This is exactly the situation, since data3 and data4 come from a random sample of a chi-square distribution with three degrees of freedom, whereas data5 comes from a Student's t distribution with three degrees of freedom.
>
|
|
>
|
|
>
|
|
>
|
|