
Concept explainers
Whether the

Answer to Problem 11E
Solution:
The median would be better for the student.
Explanation of Solution
The given data is,
The formula to calculate the mean of set of data is,
Here,
Substitute
Here number of data in the given data set is
Mean of A is
Substitute
Mean of B is
The formula to calculate the median of set of ordered data is,
Here
Arrange the given data in increasing order.
Number of values in data set is
Substitute
The median of A is
Substitute
The median of B is
Since, mean deviation about mean is zero, whereas, mean deviation about median is minimum. Hence, median would be better for the student.
MATLAB Code:
A = [99 88 95];
B = [99 70 77];
mean_A = mean(A)
mean_B = mean(B)
median_A = median(A)
median_B = median(B)
Save the MATLAB script with the name, Chapter14_54793_14_11E.m in the current folder. Execute the script by typing the script name at the command window to generate output.
Result:
Therefore, the required program is stated above.
Want to see more full solutions like this?
Chapter 14 Solutions
MATLAB: A Practical Introduction to Programming and Problem Solving
- Business Discussarrow_forwardThe following data represent total ventilation measured in liters of air per minute per square meter of body area for two independent (and randomly chosen) samples. Analyze these data using the appropriate non-parametric hypothesis testarrow_forwardeach column represents before & after measurements on the same individual. Analyze with the appropriate non-parametric hypothesis test for a paired design.arrow_forward
- Should you be confident in applying your regression equation to estimate the heart rate of a python at 35°C? Why or why not?arrow_forwardGiven your fitted regression line, what would be the residual for snake #5 (10 C)?arrow_forwardCalculate the 95% confidence interval around your estimate of r using Fisher’s z-transformation. In your final answer, make sure to back-transform to the original units.arrow_forward
- Glencoe Algebra 1, Student Edition, 9780079039897...AlgebraISBN:9780079039897Author:CarterPublisher:McGraw HillHolt Mcdougal Larson Pre-algebra: Student Edition...AlgebraISBN:9780547587776Author:HOLT MCDOUGALPublisher:HOLT MCDOUGALBig Ideas Math A Bridge To Success Algebra 1: Stu...AlgebraISBN:9781680331141Author:HOUGHTON MIFFLIN HARCOURTPublisher:Houghton Mifflin Harcourt
- Algebra for College StudentsAlgebraISBN:9781285195780Author:Jerome E. Kaufmann, Karen L. SchwittersPublisher:Cengage LearningIntermediate AlgebraAlgebraISBN:9781285195728Author:Jerome E. Kaufmann, Karen L. SchwittersPublisher:Cengage Learning





