lab5Script.m script containing your work for all parts.lab5 directory
to submit. (Right click on the project folder and follow the Send To link.)
This laboratory looks at head size, length, and weight of female and male infants in the United States. The underlying question is whether male and female infants have significantly different characteristics at birth. The data corresponds to hypothetical individuals and was derived from the standard pediatrician growth charts available from the National Center for Health Statistics of the Center for Disease Control at http://www.cdc.gov/growthcharts/.
lab5 in Z:\working\MATLAB
and ownload the data files to this directory.lab5Script.m that will contain your
commands for this laboratory.xlabel, title, and legend to label the graph
rather than editing with the MATLAB plottools.)lillietest to each of the 6 variables to test normality.xlabel, ylabel, title, and legend to label the graph
rather than editing with the MATLAB plottools.) ttest2) to test whether
the mean head sizes for male and female infants are likely to be different.h), the p-value, and
the confidence interval values that were returned by ttest2.
Also output the mean head size for male and for female infants.| Criterion | ||||
| Missing | Needs improvement | Needs a little improvement | Meets expectations | |
| Required variables are correctly created | 0 | 0.5 | 0.75 | 1 |
The normplot graphs are correctly created and labeled |
0 | 1 | 1.5 | 2 |
The lillietest is correctly applied |
0 | 1 | 1.5 | 2 |
| The scatter plots are correctly created and labeled | 0 | 1 | 1.5 | 2 |
| The correlations are correctly computed and printed | 0 | 0.5 | 0.75 | 1 |
| The two-sample t-test is correctly applied and the results are printed | 0 | 1 | 1.5 | 2 |
The lab5Script contains all code |
0 | 1 | 1.5 | 2 |
| The context bullet points are present and correct | 0 | 1 | 1.5 | 2 |
| The test for normality bullet points are present and correct | 0 | 1 | 1.5 | 2 |
| The length-weight relationship bullet points are present and correct | 0 | 1 | 1.5 | 2 |
| The dependence of size on gender bullet points are present and correct | 0 | 1 | 1.5 | 2 |