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?
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?
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?](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F140bd83b-645e-45c3-8644-e53276eab044%2F20ee943c-906b-4c60-81f2-977ebdeed72e%2Fdombib_processed.png&w=3840&q=75)
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
![](/static/compass_v2/shared-icons/check-mark.png)
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 3 steps
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)