Develop an M-file function to compute descriptive statistics for a vector of values. Have the function determine

Question:

Develop an M-file function to compute descriptive statistics for a vector of values. Have the function determine and display number of values, mean, median, mode, range, standard deviation, variance, and coefficient of variation. In addition, have it generate a histogram. Test it with the data from Prob. 14.3.


Data From Problem 14.3

Given the data

Determine (a) the mean, (b) median, (c) mode, (d) range, (e) standard deviation, (f) variance, and (g) coefficient of variation.
(h) Construct a histogram. Use a range from 28 to 34 with increments of 0.4.
(i) Assuming that the distribution is normal, and that your estimate of the standard deviation is valid, compute the range (i.e., the lower and the upper values) that encompasses 68% of the readings. Determine whether this is a valid estimate for the data in this problem.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: