The material in Chapter 9 makes use of several ideas from basic statistics. We also use some simple descriptive statistics in the edge detection application in Section 6.4. In this appendix we review some basic statistical concepts.
A.1 DESCRIPTIVE STATISTICS
Definition A.1 (Mean). Let x = (x1, x2, … , xn) be a list of numbers. Then the mean is defined as
A second statistic that is used to measure the center of the data is the median. The median is a number xmed such that the number of data below xmed is equal to the number of data above xmed.
Definition A.2 (Median). Let x = (x1, x2, … , xn) be a list of numbers. The median xmed is constructed by first sorting the values x1, x2, … , xn from smallest to largest. Call this new list y = (y1, y2, … , yn). If n is odd, we set . If n is even, we take the median to be the average of the two middle components. That is, xmed = (yn/2 + yn/2+l). ...