26.8k views
3 votes
Compare the following two sets of data by using box-and-whisker plots. Explain the similarities and differences between the two data sets. Set A = {56, 62, 71, 82, 92, 101, 106, 103, 97, 84, 68, 57} Set B = {36, 42, 48, 56, 63, 72, 78, 75, 69, 58, 46, 37}

2 Answers

3 votes

Answer:

A values are higher, above 80 and max 100.

B values are lower than 60 and max 80.

User Mikhail Sidorov
by
5.1k points
2 votes

Answer:

After graphing you can see that There are many differences between the sets. In general for A, values are much higher, the mean median for the set A is above 80 whereas the median for B is below 60, the maximum of A is above 100 and the maximum for B is about 80.

Explanation:

With python you can use this code to see the graph.

import pandas as pd

import seaborn as sns

dfA = pd.DataFrame()

dfB = pd.DataFrame()

dfA['Value'] = pd.Series([56, 62, 71, 82, 92, 101, 106, 103, 97, 84, 68, 57])

dfA['Letter'] = 'A'

dfB['Value'] = pd.Series([36, 42, 48, 56, 63, 72, 78, 75, 69, 58, 46, 37])

dfB['Letter'] = 'B'

df = pd.concat([dfA,dfB],axis = 0).reset_index(drop = True)

sns.boxplot(x = 'Letter', y = 'Value', data = df)

After graphing you can see that There are many differences between the sets. In general for A, values are much higher, the mean median for the set A is above 80 whereas the median for B is below 60, the maximum of A is above 100 and the maximum for B is about 80.

Compare the following two sets of data by using box-and-whisker plots. Explain the-example-1
User Alyus
by
4.4k points