Question

This table gives body mass index (BMI) as a function of age and percentile of the...

This table gives body mass index (BMI) as a function of age and percentile of the population.

Age/Percentile 10% 20% 30% 40% 50% 60% 70% 80% 90%
10 Years 14.9 15.6 15.8 16.6 17 18.7 19.3 19.9 20.3
20 Years 19.7 20.4 21.2 22 22.5 23.8 25.4 26.9 28.4
30 Years 20.8 21.9 22.8 23.9 25 26.4 28.1 29.5 32.3
40 Years 22.7 23.3 24.1 25.5 26.5 28 29.2 31 33.5
50 Years 23 23.7 24.7 25.8 26.75 28.2 29.9 31.3 33.9
60 Years 22.9 23.8 24.6 25.9 27 28.3 29.8 31.2 33.8
70 Years 22.7 23.7 24.5 25.7 26.75 28.1 29.4 31 32.3

Interpolate to find the BMI for the 75% percentile of 67 year-olds (use linear, cubic and spline), give the value for each method to 1 decimal place using Matlab.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Below is the code for performing the interpolation of scattered data. For performing the interpolation, the function used here is griddata(). It supports the methods 'linear' and 'cubic'. Since 'cubic' is a class of spline function, it gives the same result as spline method and hence is not written exclusively in the code.

% Defining age matrix
age = linspace(10,70,7);
age = repmat(age,9,1);

% Defining percentile matrix
percentile = linspace(10,90,9);
percentile = repmat(percentile,7,1)';

% Defining BMI data matrix
bmi = [
14.9, 19.7, 20.8, 22.7, 23, 22.9, 22.7;
15.6, 20.4, 21.9, 23.3, 23.7, 23.8, 23.7;
15.8, 21.2, 22.8, 24.1, 24.7, 24.6, 24.5;
16.6, 22, 23.9, 25.5, 25.8, 25.9, 25.7;
17, 22.5, 25, 26.5, 26.75, 27, 26.75;
18.7, 23.8, 26.4, 28, 28.2, 28.3, 28.1;
19.3, 25.4, 28.1, 29.3, 29.9, 29.8, 29.4;
19.9, 26.9, 29.5, 31, 31.3, 31.2, 31;
20.3, 28.4, 32.3, 33.5, 33.9, 33.8, 32.3
]

% Linear interpolation
griddata(percentile,age,bmi,75,67)

% Cubic interpolation
griddata(percentile,age,bmi,75,67,'cubic')

After evaluating the code in MATLAB, the answer obtained for BMI in the 75% percentile for 67 years of age is:

  • Linear order: 30.32
  • Cubic order/ Spline: 30.24

Please note that the values fluctuate every time the code is evaluated since the algorithm used for griddata always starts with random initial assumptions. However after convergence towards the solution, its value will lie very close to the above mentioned values.

Add a comment
Know the answer?
Add Answer to:
This table gives body mass index (BMI) as a function of age and percentile of the...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • The data represents the body mass index (BMI) values for 20 females. Construct a frequency distribution...

    The data represents the body mass index (BMI) values for 20 females. Construct a frequency distribution beginning with a lower class limit of 15.0 and use a class width of 6.0. 17.7 33.5 26.8 23.9 21.30 29.2 23.8 18.3 27.5 22.4 19.2 23.1 25.7 37.7 30.7 28.4 44.9 32.3 25.2 24.4 Frequency Frequency Body Mass Index 15.0-20.9 21.0-26.9 27.0-32.9 Body Mass Index 33.0-38.9 39.0-44.9

  • A researcher intended to investigate the potential difference in BMI between men and women. He also tried to evaluate th...

    A researcher intended to investigate the potential difference in BMI between men and women. He also tried to evaluate the effectiveness of a new physical exercise program in reducing BMI. Table 1 summarized the BMI data. At the beginning of the study (Day 0), 64 men and 49 women were included in the study and their BMI values were measured (defined as BMI_M0 and BMI_F0, respectively). After joining the new physical exercise program for 180 days, the participants’ BMI values...

  • You are required to write a concise report with all your answers in doc or pdf...

    You are required to write a concise report with all your answers in doc or pdf file. You should include tables or figures from Excel in your report if needed. All data sets were simulated using a statistical software. You can also find Excel temples in the attachment with my announcement, which helps you a lot! Part A. A researcher intended to investigate the potential difference in BMI between men and women. He also tried to evaluate the effectiveness of...

  • Suppose the following data show the percentage of 17- to 24-year-olds who are attending college in...

    Suppose the following data show the percentage of 17- to 24-year-olds who are attending college in several metropolitan statistical areas in four geographic regions of the United States. Northeast Midwest South West 28.6 36.2 60.5 16.2 39.1 32.7 37.1 33.2 31.1 22.9 28.0 21.5 46.0 44.1 40.5 12.1 33.0 31.5 34.4 43.8 14.7 59.1 18.3 27.0 37.1 31.3 30.9 57.1 36.9 64.6 67.8 14.5 37.5 26.8 33.3 36.8 58.6 55.6 30.2 28.4 60.7 78.0 38.4 16.8 42.5 29.9 32.8 74.6...

  • C1-T C2 c3 c4 C7 CB SEX AGE cs Св FOOT LE... SHOE PR... SHOE SIZE...

    C1-T C2 c3 c4 C7 CB SEX AGE cs Св FOOT LE... SHOE PR... SHOE SIZE HEIGHT 27.8 31.3 11.0 180.3 25.7 29.7 9.0 175.3 1 M 67 2 M 47 3 M 41 26.7 31.3 11.0 184.8 4 M 42 25.9 10,0 177.8 31.8 314 5 M 48 26.4 10.0 182.3 6 M 34 29.2 13.0 185.4 31.9 31.8 7 M 26 26.8 11.0 180.3 8 M 29 28.1 175.3 31.0 29.7 10.5 9.5 9 M 60 25.4 177.8...

  • 2. Using the data set of the Health Exam Results, conduct the following analysis between the variables of weight (WT) and Body Mass Index (BMI). Number the data set from 1 to 40, and select the...

    2. Using the data set of the Health Exam Results, conduct the following analysis between the variables of weight (WT) and Body Mass Index (BMI). Number the data set from 1 to 40, and select the following individuals: . Set 1 (Malo): 1, 5, 10, 13, 15, 18, 19, 24, 29, 31, 32, 33 .Set 2 (Fomalo): 4, 9, 15, 16, 17, 22, 23, 29, 33, 37, 38, 40 Draw a scatter diagram of the sample of 12 data set...

  • C1-T C2 c3 c4 C7 CB SEX AGE cs Св FOOT LE... SHOE PR... SHOE SIZE...

    C1-T C2 c3 c4 C7 CB SEX AGE cs Св FOOT LE... SHOE PR... SHOE SIZE HEIGHT 27.8 31.3 11.0 180.3 25.7 29.7 9.0 175.3 1 M 67 2 M 47 3 M 41 26.7 31.3 11.0 184.8 4 M 42 25.9 10,0 177.8 31.8 314 5 M 48 26.4 10.0 182.3 6 M 34 29.2 13.0 185.4 31.9 31.8 7 M 26 26.8 11.0 180.3 8 M 29 28.1 175.3 31.0 29.7 10.5 9.5 9 M 60 25.4 177.8...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT