# Question:How to boxplot with descriptors/quartiles?

## Question:How to boxplot with descriptors/quartiles?

Maple
Hello there, I can plot a set of data into a boxplot, but I am unable to plot a boxplot directly from a set of descriptors including quartiles, minimum and maximum. Say I have these data: 3, 12, 13, 16, 20 - 3 being the minimum, 20 the max, and 12,13,16 are my quartiles (lower, median, and upper). Is there a way to plot these into a boxplot? a) Make a box plot of the results for each of the two classes and describe the difference between the two classes of performance test. Loading Statistics with(stats); > data := [3, 6, 6, 10, 12, 12, 12, 12, 12, 13, 13, 15, 15, 15, 16, 16, 16, 17, 17, 20, 20]; Lower quartile > describe[quartile[1]](data); = print(`output redirected...`); # input placeholder 12 Median > describe[quartile[2]](data); = print(`output redirected...`); # input placeholder 13 Upper quartile > describe[quartile[3]](data); = print(`output redirected...`); # input placeholder 16 All descriptors can also be directly calculated > quartiles := [seq(describe[quartile[i]], i = 1 .. 3)]; > quartiles(data); = print(`output redirected...`); # input placeholder [12, 13, 16] Smallest and largest observation were 3 and 20, so we insert.. > with(stats); > data1 := [3, 12, 13, 16, 20]; > data2 := [4, 9, 12, 18, 19]; > p := statplots[boxplot](data1, data2, view = [-1 .. 3, 0 .. 25], axes = FRAMED); > p Greetings, Jonas.
﻿