Mode and Median
Usually the mode of a binomial B(n, p) distribution is equal to, where is the floor function. However when (n + 1)p is an integer and p is neither 0 nor 1, then the distribution has two modes: (n + 1)p and (n + 1)p − 1. When p is equal to 0 or 1, the mode will be 0 and n correspondingly. These cases can be summarized as follows:
In general, there is no single formula to find the median for a binomial distribution, and it may even be non-unique. However several special results have been established:
- If np is an integer, then the mean, median, and mode coincide and equal np.
- Any median m must lie within the interval ⌊np⌋ ≤ m ≤ ⌈np⌉.
- A median m cannot lie too far away from the mean: |m − np| ≤ min{ ln 2, max{p, 1 − p} }.
- The median is unique and equal to m = round(np) in cases when either p ≤ 1 − ln 2 or p ≥ ln 2 or |m − np| ≤ min{p, 1 − p} (except for the case when p = ½ and n is odd).
- When p = 1/2 and n is odd, any number m in the interval ½(n − 1) ≤ m ≤ ½(n + 1) is a median of the binomial distribution. If p = 1/2 and n is even, then m = n/2 is the unique median.
Read more about this topic: Binomial Distribution
Famous quotes containing the word mode:
“Yours of the 24th, asking the best mode of obtaining a thorough knowledge of the law is received. The mode is very simple, though laborious, and tedious. It is only to get the books, and read, and study them carefully.... Work, work, work, is the main thing.”
—Abraham Lincoln (18091865)