CS 1173 Computation for Scientists and Engineers Lab 5
Gender differences in infants

Objectives:

  • Use normplot to assess normality of a dataset.
  • Apply the two-sample t-test to assess whether the means of the underlying populations of two samples are likely to be the same.
  • Practice manipulating rows and columns of an array.
  • Use overlaid scatter plots to assess similarity of distributions.
  • Calculate the correlation between variables to measure similarity.
  • Interpret data and draw conclusions.
Male baby growth chart icon with link to CDC growth charts

Objectives:

Hand-in Requirements:

All projects and laboratories should be submitted submitted electronically through Blackboard under the Assignments menu. Zip up your entire lab5 directory to submit. (Right click on the project folder and follow the Send To link.)

Overview

This laboratory looks at head size, length, and weight of female and male infants in the United States. The underlying question is whether male and female infants have significantly different characteristics at birth. The data corresponds to hypothetical individuals and was derived from the standard pediatrician growth charts available from the National Center for Health Statistics of the Center for Disease Control at http://www.cdc.gov/growthcharts/.

Description of the data

This laboratory uses three data sets, all of which contain measurements at the time of birth: Note: The 1600 individuals in third data set are different from the ones in the first and second data sets.

Part I: Input the data

Part II: Test for normality using norm plots and the Lilliefors test for normality

Part III: Compare length versus weight for male and female infants

Part IV: Are male and female infants different size at birth?

Part V: Develop bullet points to summarize the results

Create a MS Word file with four sets of bullet points: Note: Do not write in complete statements, just use phrases for your points. In this laboratory, your bullet points will be graded for accuracy. We will use the bullet points as a basis for a future writing homework assignment.

Grading rubric (point values)

Criterion
Performance indicator
Missing Needs improvement Needs a little improvement Meets expectations
Required variables are correctly created 0 0.5 0.75 1
The normplot graphs are correctly created and labeled 0 1 1.5 2
The lillietest is correctly applied 0 1 1.5 2
The scatter plots are correctly created and labeled 0 1 1.5 2
The correlations are correctly computed and printed 0 0.5 0.75 1
The two-sample t-test is correctly applied and the results are printed 0 1 1.5 2
The lab5Script contains all code 0 1 1.5  2
The context bullet points are present and correct 0 1 1.5 2
The test for normality bullet points are present and correct 0 1 1.5 2
The length-weight relationship bullet points are present and correct 0 1 1.5 2
The dependence of size on gender bullet points are present and correct 0 1 1.5 2

This laboratory was written by Kay A. Robbins of the University of Texas at San Antonio and last modified on 09-Nov-2011. Please contact krobbins@cs.utsa.edu with comments or suggestions. Image is an icon of the Birth to 36 months: Boys Head circumference-for-age and Weight-for-length percentiles available from the Centers for Disease Control.