It ask to find mean, median , mode range, standard deviation, variance and coeff
ID: 1856793 • Letter: I
Question
It ask to find mean, median , mode range, standard deviation, variance and coefficient of variation for 8.8 9.5 9.8 9.4 10.0 9.4 10.1 9.2 11.3 9.4 10.0 10.4 7.9 10.4 9.8 9.8 9.5 8.9 8.8 10.6 10.1 9.5 9.6 10.2 8.9 This is what I have... % % Solves problem 1 from ch. 13 of the text % using Matlab's built-in functions % % given dataset data = [8.8 9.5 9.8 9.4 10.0 ... 9.4 10.1 9.2 11.3 9.4 ... 10.0 10.4 7.9 10.4 9.8 ... 9.8 9.5 8.9 8.8 10.6 ... 10.1 9.5 9.6 10.2 8.9]; % compute statistics data_mean = mean(data) % (a) data_median = median(data) % (b) data_mode = mode(data) % (c) data_min = min(data) data_max = max(data) data_range = range(data) % (d) data_std = std(data) % (e) data_var = var(data) % (f) data_cv = (data_std/data_mean)*100 % (g) coeff. of variation [%] An error is shown for range why?Explanation / Answer
not sure why range isnt working. easiest way to get around it is use the max and min command and range will be (min, max)
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.