variability. case no.ageheightm/f 12368m 22264f 32369f 42571m 52764f 62272m 72465f 82366m 92366f...

12
VARIABILITY

Upload: blake-higgins

Post on 18-Jan-2018

218 views

Category:

Documents


0 download

DESCRIPTION

Dispersion and the mean Dispersion: How scores or values arrange themselves around the mean If most scores cluster about the mean the shape of the distribution is peaked – This is the so-called “normal” distribution – In social science the scores or values for many variables are normally or near-normally distributed – This allows use of the mean to describe the dataset (that’s why it’s called a “summary statistic”) When scores are more dispersed a distribution’s shape is flatter – Distance between most scores and the mean is greater – Many scores are at a considerable distance from the mean – The mean loses value as a summary statistic Normal distribution “Flat” distribution Mean A good 3.0  descriptor Arrests TT Mean A poor 3.65  descriptor

TRANSCRIPT

Page 1: VARIABILITY. Case no.AgeHeightM/F 12368M 22264F 32369F 42571M 52764F 62272M 72465F 82366M 92366F 102568F 112168M 122162F 132471M 142766F 152162F 162556F

VARIABILITY

Page 2: VARIABILITY. Case no.AgeHeightM/F 12368M 22264F 32369F 42571M 52764F 62272M 72465F 82366M 92366F 102568F 112168M 122162F 132471M 142766F 152162F 162556F

Case no. Age Height M/F

1 23 68 M2 22 64 F3 23 69 F4 25 71 M5 27 64 F6 22 72 M7 24 65 F8 23 66 M9 23 66 F10 25 68 F11 21 68 M12 21 62 F13 24 71 M14 27 66 F15 21 62 F16 25 56 F17 22 71 M18 22 70 M19 25 66 F20 26 60 F21 21 52 F22 31 70 F23 24 71 M24 31 61 F25 23 72 M26 27 71 F27 25 71 M28 26 64 F29 22 66 F30 29 69 M31 24 67 F

Summarystatistics mean = 24 mean = 67 %M 39

%F 61

Review: DistributionAn arrangement of cases according to their score or value on one or more variables

•Categoricalvariable

•Continuousvariable

Page 3: VARIABILITY. Case no.AgeHeightM/F 12368M 22264F 32369F 42571M 52764F 62272M 72465F 82366M 92366F 102568F 112168M 122162F 132471M 142766F 152162F 162556F

Dispersion and the mean• Dispersion: How scores or values

arrange themselves around the mean• If most scores cluster about the mean the

shape of the distribution is peaked– This is the so-called “normal”

distribution– In social science the scores or values

for many variables are normally or near-normally distributed

– This allows use of the mean to describe the dataset (that’s why it’s called a “summary statistic”)

• When scores are more dispersed a distribution’s shape is flatter

– Distance between most scores and the mean is greater

– Many scores are at a considerable distance from the mean

– The mean loses value as a summary statistic

Normal distribution

“Flat” distribution

Mean A good 3.0 descriptor

Arrests

Arrests

TT

TT

Mean A poor 3.65 descriptor

Page 4: VARIABILITY. Case no.AgeHeightM/F 12368M 22264F 32369F 42571M 52764F 62272M 72465F 82366M 92366F 102568F 112168M 122162F 132471M 142766F 152162F 162556F

Measuring dispersion• Average deviation

(x - ) ----------- n

– Average distance between the mean and the values (scores) for each case– Uses absolute distances (no + or -)– Affected by extreme scores

• Variance (s2): A sample’s cumulative dispersion

(x - )2

----------- n use n-1 for small samples

• Standard deviation (s): A standardized form of variance, comparable between samples

(x - )2

----------- n use n-1 for small samples

– Square root of the variance– Expresses dispersion in units of equal size for that particular distribution– Less affected by extreme scores

Page 5: VARIABILITY. Case no.AgeHeightM/F 12368M 22264F 32369F 42571M 52764F 62272M 72465F 82366M 92366F 102568F 112168M 122162F 132471M 142766F 152162F 162556F

Sample 1 (n=10)

Officer Score Mean Diff. Sq. 1 3 2.9 .1 .012 3 2.9 .1 .013 3 2.9 .1 .014 3 2.9 .1 .015 3 2.9 .1 .016 3 2.9 .1 .017 3 2.9 .1 .018 1 2.9 -1.9 3.619 2 2.9 -.9 .8110 5 2.9 2.1 4.41____________________________________________________ Sum 8.90Variance (sum of squares / n-1) s2 .99Standard deviation (sq. root of variance) s .99

Variabilityexercise

Random sample of patrol officers,each scored 1-5 on a cynicism scale

This is not an acceptable graph – it’s only to illustrate dispersion

Page 6: VARIABILITY. Case no.AgeHeightM/F 12368M 22264F 32369F 42571M 52764F 62272M 72465F 82366M 92366F 102568F 112168M 122162F 132471M 142766F 152162F 162556F

Sample 2 (n=10)

Officer Score Mean Diff. Sq.

1 2 ___ ___ ___2 1 ___ ___ ___3 1 ___ ___ ___4 2 ___ ___ ___5 3 ___ ___ ___6 3 ___ ___ ___7 3 ___ ___ ___8 3 ___ ___ ___9 4 ___ ___ ___10 2 ___ ___ ___

Sum ____ Variance s2 ____

Standard deviation s ____

Another random sample of patrol officers,each scored 1-5 on a cynicism scale

Compute ...

Page 7: VARIABILITY. Case no.AgeHeightM/F 12368M 22264F 32369F 42571M 52764F 62272M 72465F 82366M 92366F 102568F 112168M 122162F 132471M 142766F 152162F 162556F

Sample 2 (n=10)

Officer Score Mean Diff. Sq.1 2 2.4 -.4 .162 1 2.4 -1.4 1.963 1 2.4 -1.4 1.964 2 2.4 -.4 .165 3 2.4 .6 .366 3 2.4 .6 .367 3 2.4 .6 .36 8 3 2.4 .6 .369 4 2.4 1.6 2.5610 2 2.4 -.4 .16

Sum 8.40Variance (sum of squares / n-1) s2 .93Standard deviation (sq. root of variance) s .97

Sample 1 (n=10)

Officer Score Mean Diff. Sq. 1 3 2.9 .1 .012 3 2.9 .1 .013 3 2.9 .1 .014 3 2.9 .1 .015 3 2.9 .1 .016 3 2.9 .1 .017 3 2.9 .1 .018 1 2.9 -1.9 3.619 2 2.9 -.9 .8110 5 2.9 2.1 4.41

Sum 8.90Variance (sum of squares / n-1) s2 .99Standard deviation (sq. root of variance) s .99

Two random samples of patrol officers, each scored 1-5 on a cynicism scale

These are not acceptable graphs – they’re only used here to illustrate how the scores disperse around the mean

Page 8: VARIABILITY. Case no.AgeHeightM/F 12368M 22264F 32369F 42571M 52764F 62272M 72465F 82366M 92366F 102568F 112168M 122162F 132471M 142766F 152162F 162556F

Normal distributions• Characteristics:

– Unimodal and symmetrical: shapes on both sides of the mean are identical– 68.26 percent of the area “under” the curve – meaning 68.26 percent of the cases –

falls within one “standard deviation” (+/- 1 ) from the mean– NOTE: The fact that a distribution is “normal” or “near-normal” does NOT imply that

the mean is of any particular value. All it implies is that scores distribute themselves around the mean “normally”.

• Means depend on the data. In this distribution the mean could be any value.• By definition, the standard deviation score that corresponds with the mean of a

normal distribution - whatever that score might be - is zero.

Mean (whatever it is)

Standard deviation (always 0 at the mean)

Page 9: VARIABILITY. Case no.AgeHeightM/F 12368M 22264F 32369F 42571M 52764F 62272M 72465F 82366M 92366F 102568F 112168M 122162F 132471M 142766F 152162F 162556F

Number of tickets

B D F H KA C E G I J L M

2.13 4.46 6.79 -1 SD mean +1 SD

How well do means represent(summarize) a sample?

Mean = 4.46 SD = 2.33

13 officers scored on numbersof tickets written in one weekOfficer A: 1 ticketOfficers B & C: 2 tickets eachOfficers D & E: 3 tickets eachOfficers F & G: 4 tickets eachOfficers H & I: 5 tickets eachOfficer J: 6 ticketsOfficers K & L: 7 tickets eachOfficer M: 9 tickets

In a normal distribution about 66% of cases fall within 1 SD of the mean. .66 X 13 cases = 9 casesBut here only 7 cases (Officers D-J) fallwithin 1 SD of the mean. Six officers wrote very few or very many tickets, making the distribution considerably more dispersed than “normal.”

So…for this sample, the mean does NOT seem to be a good summary statistic. It is NOT a good shortcut for describing how officers in this sample performed.

If variable “no. of tickets” was “normally” distributed most

cases would fall inside the bell-shaped curve. Here they don’t.

Page 10: VARIABILITY. Case no.AgeHeightM/F 12368M 22264F 32369F 42571M 52764F 62272M 72465F 82366M 92366F 102568F 112168M 122162F 132471M 142766F 152162F 162556F

Mean = 4.69 SD = 2.1

In a normal distribution 66percent of the cases fall within1 SD of the mean .66 X 13 = 8.58 = 9 cases

Here, 9 of the 13 cases (officers C-K)do fall within 1 SD of the mean.The distribution is normal becausemost officers wrote close to the samenumber of tickets, so the cases“clustered” around the mean.

So, for this sample the mean is a goodsummary statistic - a good shortcut fordescribing officer performance

D G E H JA B C F I K L M

2.59 4.69 6.79 -1 SD mean +1 SD

Number of tickets

13 officers scored on numbersof tickets written in one week

Officer A: 1 ticketOfficer B: 2 ticketsOfficer C: 3 ticketsOfficers D, E, F: 4 tickets eachOfficers G, H, I: 5 tickets eachOfficers J & K: 6 tickets eachOfficer L: 7 ticketsOfficer M: 9 tickets

If variable “no. of tickets” was “normally” distributed most

cases would fall inside the bell-shaped curve. Here they do!

Page 11: VARIABILITY. Case no.AgeHeightM/F 12368M 22264F 32369F 42571M 52764F 62272M 72465F 82366M 92366F 102568F 112168M 122162F 132471M 142766F 152162F 162556F

Going beyond description…• As we’ve seen, when variables are normally or near-

normally distributed, the mean, variance and standard deviation can help describe datasets

• But they are also useful in explaining why things change; that is, in testing hypotheses

• For example, assume that patrol officers in the XYZ police dept. were tested for effectiveness, and that on a scale of 1 (least eff.) to 5 (most eff.) their mean score was 3.2, distributed about normally

• You want to use XYTZ P.D. to test the hypothesis that college-educated cops are more effective: college greater effectiveness

– Independent variable: college (Y/N)– Dependent variable: effectiveness (scale 1-5)

• You draw two officer samples (we’ll cover this later in the term) and compare their mean effectiveness scores

– 10 college grads (mean 3.7)– 10 non-college (mean 2.8)

• The difference between means is in the hypothesized direction. But does that “prove” that college grads are more effective? Each group’s variance is used in a test that determines whether the difference in mean scores is large enough to be “statistically significant.” Don’t worry - we’ll cover this later!

College grads

Non-college grads

Are college-educated cops

more effective?

Page 12: VARIABILITY. Case no.AgeHeightM/F 12368M 22264F 32369F 42571M 52764F 62272M 72465F 82366M 92366F 102568F 112168M 122162F 132471M 142766F 152162F 162556F

Exam information

• You must bring a regular, non-scientific calculator with no functions beyond a square root key.

• You need to understand the concept of a distribution.• You will be given data and asked to create graph(s) depicting the

distribution of a single variable.• You will compute basic statistics, including mean, median, mode and

standard deviation. All computations must be shown on the answer sheet.

• You will be given the formula for variance (s2). You must use and display the procedure described in the slides and practiced in class for manually calculating variance (s2) and its square root, known as standard deviation (s).

• This is a relatively brief exam. You will have one hour to complete it. We will then take a break and move on to the next topic.