Showing posts with label mode. Show all posts
Showing posts with label mode. Show all posts

Thursday, September 16, 2010

Median

Median is the middle point in the data set. An equal number of items are below and above this value.

The dataset must be ordered before the median can be determined.

The number of items (n) will determine where the median is located.

(n+1)/2 = median rank

For example:

1 , 1 , 2 , 4 , 6 , 2 , 9 , 3 , 7 , 5 , 2 , 5 , 9 , 6

Ordered:
1 , 1 , 2 , 2 , 2 , 3 , 4 , 5 , 5 , 6 , 6 , 7 , 9 , 9

Total count:
n=14

Median rank = (14+1)/2=7.5

Since this dataset has an even number of items (n=14) then the median is found between the 7th and 8th position. The 7th value is 4, and the 8th value is 5. The value inbetween is (4+5)/2=4.5. The median is 4.5. There are 7 items above and below this value.

For datasets with odd number n, the median falls exactly on the median rank.

To illustrate:

1 , 1 , 2 , 4 , 6 , 2 , 9 , 3 , 7 , 5 , 2 , 5 , 9 , 6, 4

Ordered:
1 , 1 , 2 , 2 , 2 , 3 , 4 , 4 , 5 , 5 , 6 , 6 , 7 , 9 , 9

Median rank = (15+1)/2 = 8

The value in the 8th position is 4, so the median is 4. There are 7 items above and below it.

The mean, median, and mode are all measures of central tendency. The skew can be determined by comparing these three measures.




Frequency

Frequency is the number of times an item is counted in a dataset.

For example:


In the following the sample, the frequency of 2 is 3.


1 , 1 , 2 , 5 , 6 , 2 , 9 , 5 , 7 , 5 , 2 , 5 , 9 , 5


Count the number of times 2 appears.


Frequency is important for presenting data in tables or charts, and in calculating probability (relative frequency).


The value that occurs with the most frequency is the mode.

Tuesday, September 14, 2010

Mode

Mode is the value in a dataset that appears the most frequently.

For example:

In the following the sample, the mode is 5

1
1
2
5
6
2
9
5
7
5
2
5
9
5

Count the number of times 5 appears. It appears the most, so it is the mode.

Some datasets have more than one mode.

If there is a single mode, the term 'unimodal' is used. The example above is unimodal. There are five 5's. Had there also been five 2's, than the example is no longer unimodal. Then, both five and two would be called modes.

The mean, median, and mode are all measures of central tendency. The skew can be determined by comparing these three measures.

Wednesday, July 21, 2010

Normal Distribution

A commonly used continuous probability distribution that is unimodal (see mode) and symetric. It's graph is a bell-curve.