Computational & Statistical Analysis:
You are given data similar to the examples and sample problems in the statistics topic. Write MATLAB program to do the following:
1) Plot histogram, relative frequency histogram, cumulative frequency histogram, vertical or horizontal bar graph, pie chart of the data.
2) Compute the mean, mode and median. This comprises grouped data and no built-in function (like mean) must be used.
3) Compute sample standard deviation, average deviation and population deviation. This comprises grouped data and no built-in function must be used.
4) Compute the percentile rank of a term in a distribution.
5) Compute the z-scores of the data.
6) Plot the scatter diagram, Compute the coefficient of correlation and verify the reliability of this coefficient. If it is reliable, then find out the equation for the estimated regression line based on the method of least squares.