Download (right-click, save target as ...) this page as a jupyterlab notebook Lab21-TH


Exercise Set 21: "Compare Two Collections"

LAST NAME, FIRST NAME

R00000000

ENGR 1330 Exercise Set 21


Exercise

The data below are the impact impact strength of packaging materials in foot-pounds of two branded boxes. Produce a histogram of the two series, and determine if there is evidence of a difference in mean strength between the two brands.

Amazon Branded Boxes Walmart Branded Boxes
1.25 0.89
1.16 1.01
1.33 0.97
1.15 0.95
1.23 0.94
1.20 1.02
1.32 0.98
1.28 1.06
1.21 0.98
1.14 0.94
1.17 1.02
1.34 0.98

Deliverables:

  • Working scripts that produce perform the necessary plot
  • Narrative (or print blocks) that supply answer questions
  • CCMR citations for sources (URL for outside sources is OK)

Hints:

  • A suggested set of code cells is listed below
  • Add/remove cells as needed for your solution
In [1]:
# define lists and make into dataframe 
In [24]:
# describe lists/dataframe 
In [25]:
# histograms
In [27]:
# interpret findings (could be a markdown cell, or embed into code)