Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A dataset with 25,000 records of heights (in inches) and weights (in pounds) obtained in 1993 by a survey of children from birth to 18

A dataset with 25,000 records of heights (in inches) and weights (in pounds) obtained in 1993 by a survey of children from birth to 18 years of age is available at http://wiki.stat.ucla.edu/socr/index.php/SOCR_Data_Dinov_020108_HeightsWeights

We will use a sample of 200 individuals which is displayed as a table. Manually copy the table, paste it to an Excel sheet and save to an "xlsx" or "csv" file named "heights_weights".

Read data from file "heights_weights" and use matplotlib to produce histogram of heights and weights, in separate figures, with 16 bins each.

Include the plot names and labels for the horizontal and vertical axes.

A histogram is a kind of bar plot that gives a discretized display of value frequency. The data points are split into discrete, evenly spaced bins, and the number of data points in each bin is plotted. You can use "hist" method to plot a histogram.

Your histograms should look like the ones displayed below.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

College Algebra

Authors: Margaret L. Lial, John Hornsby, David I. Schneider, Callie Daniels

12th edition

134697022, 9780134313795 , 978-0134697024

More Books

Students also viewed these Mathematics questions

Question

What is a lobbyist in US? How did this term emerge?

Answered: 1 week ago