Question: MATLAB Data set link: http://socr.ucla.edu/docs/resources/SOCR_Data/SOCR_Data_Dinov_020108_HeightsWeights.html 3. Write a function to compute the mean and SD of height using only the first N entries, and then
MATLAB
Data set link: http://socr.ucla.edu/docs/resources/SOCR_Data/SOCR_Data_Dinov_020108_HeightsWeights.html
3. Write a function to compute the mean and SD of height using only the first N entries, and then a. Plot these mean and standard values for N ranging between 3 and 500. b. Looking at these plots, what value of N would you choose to provide a good measure of mean height, and likewise for a good measure of the SD of height? c. Determine the minimum value of N such that the resulting mean is within 0.5% of the mean computed in Q2 (i.e., using all data) d. Determine the minimum value of N such that the resulting SD is within 0.5% of the SD computed in Q2 (i.e., using all data) e. Given results of parts c and d, does your answer to part b change? Explain and briefly discuss
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
