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}

Respuesta :

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.

Step-by-step 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.

Ver imagen cdchavezq

Answer:

A values are higher, above 80 and max 100.

B values are lower than 60 and max 80.

ACCESS MORE
EDU ACCESS