# APPENDIX A

# BASIC STATISTICS

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

In Chapter 6 we make use of some basic descriptive statistics. We utilize the mean absolute deviation in Chapter 9. We start first with the definition of the mean.

**Definition A.1 (Mean).** *Let* **x** = (*x*_{1}, *x*_{2}, … , *x _{n}*)

*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 *x _{med}* such that the number of data below

*x*is equal to the number of data above

_{med}*x*.

_{med}**Definition A.2 (Median).** *Let* **x** = (*x*_{1}, *x*_{2}, … , *x _{n}*)

*be a list of numbers. The*median

*x*

_{med}is constructed by first sorting the values x_{1},

*x*

_{2}, … ,

*x*

_{n}from smallest to largest. Call this new list**y**= (

*y*

_{1},

*y*

_{2}, … ,

*y*).

_{n}*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, x*= (

_{med}*y*

_{n/2}+

*y*

_{n/2+l}). ...

Get *Discrete Wavelet Transformations: An Elementary Approach with Applications* now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.