In: Statistics and Probability
Use "PLUC" data and the description for the dataset on the blackboard. Conduct a two sample independent t test to test if the population means of heights of male is higher than that of female. Use R to calculate the p-value. ***Answer is 0.8974*** |
sex | hgt |
m | 45.68187 |
m | 54.76593 |
m | 43.80479 |
f | 46.1765 |
m | 57.60508 |
f | 40.02826 |
f | 52.50647 |
f | 43.14426 |
m | 45.27999 |
m | 41.95513 |
m | 43.67319 |
f | 58.09449 |
m | 42.47022 |
f | 55.91853 |
m | 44.01857 |
f | 43.25757 |
m | 57.4945 |
m | 44.54295 |
f | 42.07507 |
f | 46.80839 |
m | 47.21837 |
m | 40.30104 |
f | 47.83167 |
m | 50.56327 |
f | 57.1638 |
f | 43.69665 |
f | 40.73333 |
f | 50.98321 |
f | 49.23148 |
f | 48.01014 |
m | 43.69635 |
f | 46.56424 |
f | 45.98231 |
f | 53.03273 |
m | 50.92119 |
m | 55.55145 |
m | 40.36097 |
f | 55.32514 |
f | 56.41127 |
m | 51.95264 |
f | 43.82211 |
f | 40.41359 |
f | 57.65748 |
m | 40.59866 |
f | 41.96207 |
f | 49.08051 |
m | 38.99055 |
m | 54.74286 |
f | 49.63484 |
m | 47.71419 |
m | 53.74624 |
m | 41.75912 |
f | 55.97797 |
m | 44.82507 |
f | 57.68229 |
m | 45.85581 |
m | 46.21859 |
m | 53.61966 |
f | 49.08471 |
m | 41.36863 |
***Answer is 0.8974***