time sec it took to complete a marathon age of runners sex o
time (sec) it took to complete a marathon, age of runners, sex of runners, and Body Mass Index (BMI), respectively. Don’t forget to check assumptions and transform if necessary.
Is there an effect of age and/or sex on marathon times?
Is there an effect of sex and/or BMI on marathon times?
| tim_sec | age | sex | BMI |
| 13615 | young | M | 18 |
| 18784 | young | M | 20 |
| 14256 | young | M | 23 |
| 10905 | young | M | 19 |
| 12077 | young | M | 22 |
| 16401 | young | F | 21 |
| 14216 | young | F | 25 |
| 15402 | young | F | 28 |
| 15326 | young | F | 26 |
| 12047 | young | F | 24 |
| 14677 | mid | M | 24 |
| 16090 | mid | M | 26 |
| 14086 | mid | M | 27 |
| 16461 | mid | M | 30 |
| 20808 | mid | M | 32 |
| 15357 | mid | F | 34 |
| 16771 | mid | F | 32 |
| 15036 | mid | F | 28 |
| 16297 | mid | F | 27 |
| 17636 | mid | F | 34 |
| 14528 | old | M | 35 |
| 17034 | old | M | 30 |
| 14935 | old | M | 29 |
| 14996 | old | M | 26 |
| 22146 | old | M | 35 |
| 17260 | old | F | 34 |
| 25399 | old | F | 39 |
| 18647 | old | F | 32 |
| 15077 | old | F | 26 |
| 25898 | old | F | 31 |
Solution
In this table, we easily see that there is a significant effect in age and sex on marathon times because in old age the time is large comparsion to younger age. Similarly, the female take more time in comparsion to male.
| Time sec. | Male | Female |
| young | 13927.4 | 14678.4 |
| Mid | 16424.4 | 16219.4 |
| old | 16727.8 | 20456.2 |
