The first pair and the second pair look similar while the two pairs look differnet, right? The question is how can we KNOW if two sets are truly (significantly) different or not?

icon
Related questions
Question
7]: fig, ax = plt.subplots()
data_d.plot.hist(density=False,
ax=ax, title='Histogram: Set1 and Setl samples vs. Set2 and Set2 samples', bins=40)
data.plot.hist (density=False, ax=ax, bins=40)
ax.set_ylabel('Count')
ax.grid(axis='y')
Count
Histogram: Set1 and Set1 samples vs. Set2 and Set2 samples
35
30
25
20
15
10
600
500
400
300
5
200
0
100
0
100
Use boxplots to compare the four sets. Discuss their differences.
0
200
8]: fig = plt.figure(figsize =(10, 7))
plt.boxplot ([set1, set1_s, set2, set2_s],1, '')
plt.show()
300
400
500
Setls
Set2s
Set1
Set2
2
600
3
The first pair and the second pair look similar while the two pairs look differnet, right? The question is how can we KNOW if two sets are truly (significantly) different or not?
Transcribed Image Text:7]: fig, ax = plt.subplots() data_d.plot.hist(density=False, ax=ax, title='Histogram: Set1 and Setl samples vs. Set2 and Set2 samples', bins=40) data.plot.hist (density=False, ax=ax, bins=40) ax.set_ylabel('Count') ax.grid(axis='y') Count Histogram: Set1 and Set1 samples vs. Set2 and Set2 samples 35 30 25 20 15 10 600 500 400 300 5 200 0 100 0 100 Use boxplots to compare the four sets. Discuss their differences. 0 200 8]: fig = plt.figure(figsize =(10, 7)) plt.boxplot ([set1, set1_s, set2, set2_s],1, '') plt.show() 300 400 500 Setls Set2s Set1 Set2 2 600 3 The first pair and the second pair look similar while the two pairs look differnet, right? The question is how can we KNOW if two sets are truly (significantly) different or not?
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps

Blurred answer