1. LON-CAPA Logo
  2. Help
  3. Log In
 

Browsing resource, all submissions are temporary.


Body Mass Index: Part 1

In Fall 2016, more than 1500 Stat 100 and Stat 200 students responded to an anomymous survey at the beginning of the semester. Two questions asked in the survey were their height and weight. The computer randomly selects 200 students from the data set. The following shows the weights (in pounds) and heights (in inches) from the random sample.

weight <- c(160, 200, 170, 175, 150, 154, 205, 210, 160, 155, 132, 163, 130, 140, 172, 160, 174, 150, 155, 135, 156, 132, 197, 142, 118, 135, 155, 122, 180, 149, 165, 132, 145, 145, 160, 135, 150, 190, 110, 113, 118, 140, 130, 165, 120, 140, 144, 186, 250, 130, 150, 160, 127, 150, 132, 112, 160, 128, 125, 120, 87, 176, 145, 130, 170, 163, 118, 184, 175, 165, 140, 165, 127, 200, 135, 160, 170, 145, 122, 121, 138, 195, 300, 180, 139, 137, 135, 125, 165, 100, 119, 180, 170, 133, 135, 235, 175, 130, 135, 120, 167, 120, 120, 83, 187, 150, 140, 170, 300, 115, 160, 175, 157, 141, 110, 150, 152, 138, 160, 145, 120, 170, 150, 160, 115, 165, 137, 195, 130, 196, 150, 125, 115, 120, 141, 170, 142, 135, 160, 125, 125, 140, 130, 200, 160, 140, 140, 134, 150, 155, 138, 130, 140, 126, 128, 180, 145, 118, 190, 160, 140, 125, 113, 85, 142, 190, 140, 155, 133, 202, 128, 130, 113, 176, 150, 190, 140, 109, 280, 130, 270, 185, 155, 162, 146, 160, 160, 175, 130, 105, 146, 135, 170, 140, 128, 155, 150, 148, 125, 130)

height <- c(70, 72, 64, 72, 74, 64, 75, 75, 65, 70, 66, 73, 62, 67, 72, 69, 65, 70, 71, 66, 63, 62, 76, 66, 68, 66, 69, 67, 67, 65, 71, 72, 67, 68, 68, 70, 62, 72, 66, 64, 67, 70, 61, 71, 64, 68, 58, 69, 71, 65, 74, 71, 67, 64, 68, 62, 64, 64, 65, 64, 63, 75, 70, 63, 71, 70, 63, 68, 69, 66, 68, 69, 63, 74, 59, 68, 69, 66, 64, 60, 64, 74, 74, 69, 69, 59, 67, 64, 64, 66, 65, 67, 66, 62, 67, 74, 68, 69, 65, 62, 67, 63, 63, 73, 63, 70, 63, 90, 72, 68, 66, 70, 73, 63, 60, 67, 67, 68, 66, 74, 63, 70, 71, 68, 64, 68, 70, 67, 67, 72, 70, 64, 66, 61, 64, 69, 65, 63, 72, 63, 64, 75, 63, 68, 72, 65, 67, 72, 63, 66, 66, 62, 67, 66, 68, 68, 65, 63, 69, 68, 70, 66, 66, 62, 69, 66, 70, 65, 68, 70, 66, 64, 61, 75, 68, 70, 66, 60, 74, 65, 70, 72, 75, 68, 70, 72, 73, 74, 61, 64, 67, 64, 68, 66, 67, 65, 65, 72, 61, 63)

Copy and paste the commands to your R and execute them.

The body mass index (BMI) is defined as the body mass divided by the square of body height. The BMI is an attempt to quantify the amount of tissue mass (muscle, fat, and bone) in an individual, and then categorize that person as underweight, normal weight, overweight, or obese based on that value.

BMI is usually measured in units of kg/m2, resulting from mass in kilograms and height in metres. In our survey data, weight is measured in pounds and height is measured in inches. So we need to do a conversion. One pound of weight corresponds to a mass of 0.4536 kg and one inch is 0.0254 m, simple calculation shows that

BMI (in kg/m2) = 703 × (Wpound / H2in) ,

where Wpound is the body weight in pounds and Hin is height in inches.

Use the formula to calculate the BMI of the students in the sample. Be sure to use the conversion factor 703 in your calculation; otherwise your answers may not agree with computer's answers.

a. What are the mean and sample standard deviation of the BMI in the sample? Give your answers to 2 decimal places.

Mean = kg/m2

 Tries 0/3

sample standard deviation = kg/m2

 Tries 0/3

b. What is the median of the BMI in the sample? Give your answer to 2 decimal places.

Median = kg/m2

 Tries 0/3

c. Calculate the correlation matrix between weight, height and BMI. Give your answers to 3 decimal places.

Correlation between weight and height =

Correlation between weight and BMI =

Correlation between height and BMI =

 Tries 0/5

d. What are the maximum and minimum of BMI in the data? Give your answers to 2 decimal places.

Maximum BMI = kg/m2,    minimum BMI = kg/m2.

 Tries 0/5

e. What are the weight and height corresponding to the maximum BMI? If there are ties in the maximum BMI, find the weight and height of the first occurrence of maximum.

Consistency check: make sure the weight and height give you the maximum BMI you calculated in (d).

Weight = pounds,    height = inches.

 Tries 0/5

Is this student the heaviest in the sample?


 Tries 0/1

Is this student the shortest in the sample?


 Tries 0/1

f. What are the weight and height corresponding to the minimum BMI? If there are ties in the minimum BMI, find the weight and height of the first occurrence of minimum.

Consistency check: make sure the weight and height give you the minimum BMI you calculated in (d).

Weight = pounds,    height = inches.

 Tries 0/5

Is this student the lightest in the sample?


 Tries 0/1

Is this student the tallest in the sample?


 Tries 0/1