You are on page 1of 6

Homework #1 Due 09/03/08 ABE 6986 Ramin Shamshiri UFID # 90213353 1- Calculate the ratio W/H for each

age. Answer: Table 1: Dependence of height (H) and weight (W) on age (t) for males in Belgium. yr 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 25 30 40 50 60 70 80 H 0.5 0.7 0.8 0.86 0.93 0.99 1.05 1.11 1.17 1.23 1.28 1.33 1.36 1.4 1.49 1.56 1.61 1.67 1.7 1.71 1.71 1.72 1.72 1.71 1.67 1.64 1.62 1.61 W 3.2 10 12 13.21 15.07 16.7 18.04 20.16 22.26 24.09 26.12 27.85 31 35.32 40.5 46.41 53.39 57.4 61.26 65 68.29 68.9 68.81 67.45 65.5 63.03 61.22 W/H 6.4 14.28571 15 15.36047 16.2043 16.86869 17.18095 18.16216 19.02564 19.58537 20.40625 20.93985 22.79412 25.22857 27.18121 29.75 33.16149 34.37126 36.03529 38.0117 39.70349 40.05814 40.23977 40.38922 39.93902 38.90741 38.02484

Ramin Shamshiri

ABE 6986, HW #1

Due 09/03/08

2- Plot H vs. W on linear-linear graph paper. Answer:

Ramin Shamshiri

ABE 6986, HW #1

Due 09/03/08

3- Plot W/H vs. W on linear-linear graph paper. Answer:

Ramin Shamshiri

ABE 6986, HW #1

Due 09/03/08

4- Perform linear regression on W/H vs. W for 1t25 year to obtain intercept, slope and correlation coefficient (r) for the regression. Answer: Linear regression model: W/H = a*W + b Coefficients (with 95% confidence bounds): Slop: a= 0.4385 (0.4305, 0.4465) Intercept: b= 9.404 (9.1, 9.708) Goodness of fit: SSE: 1.799 R-square: 0.9987 r= 0.9993 Adjusted R-square: 0.9986 RMSE: 0.3162 5- Draw the regression line on (3) Answer: Linear regression model: W/H = a*W + b Coefficients (with 95% confidence bounds): Slop: a = 0.4658 (0.4485, 0.4831) Intercept: b= 8.46 (7.679, 9.242) Goodness of fit: SSE: 23.41 R-square: 0.9919 r= 0.9959 Adjusted R-square: 0.9916 RMSE: 0.9677

Ramin Shamshiri

ABE 6986, HW #1

Due 09/03/08

6- Assume the phase relation follows the hyperbolic equation: = Estimate values of the constant from (4) Answer: General model: f(W) = (Hm*W)/(Kw+W) Coefficients (with 95% confidence bounds): Hm = 66.1 (55.4, 76.81) Kw = 52.5 (37.51, 67.48) Goodness of fit: SSE: 53.47 R-square: 0.9599 Adjusted R-square: 0.9577 RMSE: 1.723 7- Draw the phase curve on (2) Answer: General model: f(W) = (Hm*W)/(Kw+W) Coefficients (with 95% confidence bounds): Hm = 2.177 (2.093, 2.261) Kw = 19.1 (16.89, 21.31) Goodness of fit: SSE: 0.05688 R-square: 0.9833 r=0.9916 Adjusted R-square: 0.9826 RMSE: 0.0477

Ramin Shamshiri

ABE 6986, HW #1

Due 09/03/08

8- Discuss your results. Does the phase equation appear reasonable for these data? How would you justify the phase relation Eq. (1)? Answer: From the result, we can see that the correlation coefficient (r) in the linear model is close to 1 which shows a very good fit. In the other side, the phase equation seems to fit most of the data spots on its curve. The question is that which equation, the linear or the phase is more reasonable in this case. If the accuracy is not a big issue, I think the linear model is enough in this case, however for a sensitive case, if the higher accuracy is required; a more complex equation such as hyperbolic equation is a better representative of the correlation. Results show that up to a certain age point, the data lie on the phase curve, but after that the phase equation model does not perform a good prediction. A question that comes to my mind is that, can we compare the goodness of fit for two models? For example, here we have a linear and a hyperbolic model with r=0.9959 and r=0.9916 respectively. Are we allowed to compare these two values to conclude which one is a better prediction model?

Ramin Shamshiri

ABE 6986, HW #1

Due 09/03/08

You might also like