lecture 2 dustin lueker. parameter ◦ numerical characteristic of the population calculated using...

25
Lecture 2 Dustin Lueker

Upload: eileen-fowler

Post on 29-Jan-2016

254 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Lecture 2 Dustin Lueker.  Parameter ◦ Numerical characteristic of the population  Calculated using the whole population  Statistic ◦ Numerical characteristic

Lecture 2Dustin Lueker

Page 2: Lecture 2 Dustin Lueker.  Parameter ◦ Numerical characteristic of the population  Calculated using the whole population  Statistic ◦ Numerical characteristic

Parameter◦ Numerical characteristic of the population

Calculated using the whole population Statistic

◦ Numerical characteristic of the sample Calculated using the sample

2STA 291 Spring 2008 Lecture 2

Page 3: Lecture 2 Dustin Lueker.  Parameter ◦ Numerical characteristic of the population  Calculated using the whole population  Statistic ◦ Numerical characteristic

A survey of 300 random individuals was conducted in Louisville that revealed that President Bush had an approval rating of 34%.◦ Is 34% a statistic or parameter?◦ The surveyors stated that only 34% of

Kentuckians approved of President Bush. What is the problem with this statement? Why might the surveyors have chosen Louisville as

their sampling location?

3STA 291 Spring 2008 Lecture 2

Page 4: Lecture 2 Dustin Lueker.  Parameter ◦ Numerical characteristic of the population  Calculated using the whole population  Statistic ◦ Numerical characteristic

1936 presidential election of Alfred Landon vs. Franklin Roosevelt◦ Literary Digest sent out over 10 million

questionaires in the mail to predict the election outcome What type of sample is this?

◦ 2 million responses predicted an landslide victory for Alfred Landon

◦ George Gallup used a much small random sample and predicted a clear victory for FDR

FDR won with 62% of the vote

4STA 291 Spring 2008 Lecture 2

Page 5: Lecture 2 Dustin Lueker.  Parameter ◦ Numerical characteristic of the population  Calculated using the whole population  Statistic ◦ Numerical characteristic

Whenever you see results from a poll, check whether they come from a random sample

Preferably, it should be stated ◦ Who sponsored and conducted the poll?◦ How were the questions worded?◦ How was the sample selected? ◦ How large was it?

If not, the results may not be trustworthy

5STA 291 Spring 2008 Lecture 2

Page 6: Lecture 2 Dustin Lueker.  Parameter ◦ Numerical characteristic of the population  Calculated using the whole population  Statistic ◦ Numerical characteristic

Kalton et al. (1978), England Two groups get questions with slightly

different wording◦ Group 1

“Are you in favor of giving special priority to buses in the rush hour or not?”

◦ Group 2 “Are you in favor of giving special priority to buses in

the rush hour or should cars have just as much priority as buses?”

6STA 291 Spring 2008 Lecture 2

Page 7: Lecture 2 Dustin Lueker.  Parameter ◦ Numerical characteristic of the population  Calculated using the whole population  Statistic ◦ Numerical characteristic

Result: Proportion of people saying that priority should be given to buses.

7

Without reference to cars

With reference

to cars

Difference

All respondents 0.69 (n=1076) 0.55 (n=1081) 0.14

Women 0.65 (n=585) 0.49 (n=590) 0.16

Men 0.74 (n=491) 0.66 (n=488) 0.08

Non Car-owners 0.73 (n=565) 0.55 (n=554) 0.18

Car owners 0.66 (n=509) 0.54 (n=522) 0.12

STA 291 Spring 2008 Lecture 2

Page 8: Lecture 2 Dustin Lueker.  Parameter ◦ Numerical characteristic of the population  Calculated using the whole population  Statistic ◦ Numerical characteristic

Two questions asked in different order during the cold war◦ (1)“Do you think the U.S. should let Russian newspaper

reporters come here and send back whatever they want?”

◦ (2)“Do you think Russia should let American newspaper reporters come in and send back whatever they want?” When question (1) was asked first, 36% answered “Yes” When question (2) was asked first, 73% answered “Yes” to

question (1)

STA 291 Spring 2008 Lecture 2 8

Page 9: Lecture 2 Dustin Lueker.  Parameter ◦ Numerical characteristic of the population  Calculated using the whole population  Statistic ◦ Numerical characteristic

Descriptive Statistics◦ Summarizing the information in a collection of

data Inferential Statistics

◦ Using information from a sample to make conclusions/predictions about the population

9STA 291 Spring 2008 Lecture 2

Page 10: Lecture 2 Dustin Lueker.  Parameter ◦ Numerical characteristic of the population  Calculated using the whole population  Statistic ◦ Numerical characteristic

71% of individuals surveyed believed that the Kentucky Football team will return to a bowl game in 2007◦ Is 71% an example of descriptive or inferential

statistics? From the same sample it is concluded that

at least 65% of Kentucky Football fans approve of Coach Brooks’ job here at UK◦ Is 65% an example of descriptive or inferential

statistics?

10STA 291 Spring 2008 Lecture 2

Page 11: Lecture 2 Dustin Lueker.  Parameter ◦ Numerical characteristic of the population  Calculated using the whole population  Statistic ◦ Numerical characteristic

Nominal◦ Gender, nationality, hair color, state of residence

Nominal variables have a scale of unordered categories It does not make sense to say, for example, that green

hair is greater/higher/better than orange hair

Ordinal◦ Disease status, company rating, grade in STA 291

Ordinal variables have a scale of ordered categories, they are often treated in a quantitative manner (A = 4.0, B = 3.0, etc.) One unit can have more of a certain property than does

another unit

11STA 291 Spring 2008 Lecture 2

Page 12: Lecture 2 Dustin Lueker.  Parameter ◦ Numerical characteristic of the population  Calculated using the whole population  Statistic ◦ Numerical characteristic

Quantitative◦ Age, income, height

Quantitative variables are measured numerically, that is, for each subject a number is observed The scale for quantitative variables is called interval

scale

12STA 291 Spring 2008 Lecture 2

Page 13: Lecture 2 Dustin Lueker.  Parameter ◦ Numerical characteristic of the population  Calculated using the whole population  Statistic ◦ Numerical characteristic

A survey of Kentucky Football fans obtained the following information◦ Age◦ Whether they preferred the new blue helmet or the old

white helmet◦ The number of games they think the team will win in

2007◦ How they felt the UK vs. UofL game would turn out

UofL in a blowout UofL in a close game UK in a close game UK in a blowout

Are these qualitative or quantitative variables and what is the scale for each?

13STA 291 Spring 2008 Lecture 2

Page 14: Lecture 2 Dustin Lueker.  Parameter ◦ Numerical characteristic of the population  Calculated using the whole population  Statistic ◦ Numerical characteristic

A variable is discrete if it can take on a finite number of values◦ Gender◦ Favorite MLB team

Qualitative variables are discrete Continuous variables can take an infinite

continuum of possible real number values◦ Time spent studying for STA 291 per day

27 minutes 27.487 minutes 27.48682 minutes

Can be subdivided into more accurate values Therefore continuous

14STA 291 Spring 2008 Lecture 2

Page 15: Lecture 2 Dustin Lueker.  Parameter ◦ Numerical characteristic of the population  Calculated using the whole population  Statistic ◦ Numerical characteristic

An observational study observes individuals and measures variables of interest but does not attempt to influence the responses◦ Purpose of an observational study is to describe/compare

groups or situations Example: Select a sample of men and women and ask

whether he/she has taken aspirin regularly over the past 2 years, and whether he/she had suffered a heart attack over the same period

15STA 291 Spring 2008 Lecture 2

Page 16: Lecture 2 Dustin Lueker.  Parameter ◦ Numerical characteristic of the population  Calculated using the whole population  Statistic ◦ Numerical characteristic

An experiment deliberately imposes some treatment on individuals in order to observe their responses◦ Purpose of an experiment is to study whether the

treatment causes a change in the response Example: Randomly select men and women, divide the

sample into two groups. One group would take aspirin daily, the other would not. After 2 years, determine for each group the proportion of people who had suffered a heart attack.

16STA 291 Spring 2008 Lecture 2

Page 17: Lecture 2 Dustin Lueker.  Parameter ◦ Numerical characteristic of the population  Calculated using the whole population  Statistic ◦ Numerical characteristic

Observational Studies◦ Passive data collection◦ We observe, record, or measure, but don’t interfere

Experiments◦ Active data production◦ Actively intervene by imposing some treatment in order

to see what happens

◦ Experiments are preferable if they are possible We are able to control more things and be sure our data isn’t

tainted

17STA 291 Spring 2008 Lecture 2

Page 18: Lecture 2 Dustin Lueker.  Parameter ◦ Numerical characteristic of the population  Calculated using the whole population  Statistic ◦ Numerical characteristic

Suppose the population can be divided into separate, non-overlapping groups (“strata”) according to some criterion◦ Select a simple random sample independently

from each group Usefulness

◦ We may want to draw inference about population parameters for each subgroup

◦ Sometimes, (“proportional stratified sample”) estimators from stratified random samples are more precise than those from simple random samples

STA 291 Spring 2008 Lecture 2 18

Page 19: Lecture 2 Dustin Lueker.  Parameter ◦ Numerical characteristic of the population  Calculated using the whole population  Statistic ◦ Numerical characteristic

The proportions of the different strata are the same in the sample as in the population

Mathematically◦ Population size N◦ Subpopulation Ni

◦ Sample size n◦ Subpopulation ni

STA 291 Spring 2008 Lecture 2 19

N

N

n

n ii

Page 20: Lecture 2 Dustin Lueker.  Parameter ◦ Numerical characteristic of the population  Calculated using the whole population  Statistic ◦ Numerical characteristic

Total population of the US◦ 281 Million (2000)

Population of Kentucky◦ 4 Million (1.4%)

◦ Suppose you take a sample of size n=281 of people living in the US If stratification is proportional, then 4 people in the

sample need to be from Kentucky◦ Suppose you take a sample of size n=1000. If you

want it to be proportional, then 14 people (1.4%) need to be from Kentucky

STA 291 Spring 2008 Lecture 2 20

Page 21: Lecture 2 Dustin Lueker.  Parameter ◦ Numerical characteristic of the population  Calculated using the whole population  Statistic ◦ Numerical characteristic

Simple Random Sampling (SRS)◦ Each possible sample has the same probability of being

selected Stratified Random Sampling

◦ The population can be divided into a set of non-overlapping subgroups (the strata)

◦ SRSs are drawn from each strata Cluster Sampling

◦ The population can be divided into a set of non-overlapping subgroups (the clusters)

◦ The clusters are then selected at random, and all individuals in the selected clusters are included in the sample

Systematic Sampling ◦ Useful when the population consists as a list◦ A value K is specified. Then one of the first K individuals is

selected at random, after which every Kth observation is included in the sample

STA 291 Spring 2008 Lecture 2 21

Page 22: Lecture 2 Dustin Lueker.  Parameter ◦ Numerical characteristic of the population  Calculated using the whole population  Statistic ◦ Numerical characteristic

Selection Bias ◦ Selection of the sample systematically excludes

some part of the population of interest Measurement/Response Bias

◦ Method of observation tends to produce values that systematically differ from the true value

Nonresponse Bias ◦ Occurs when responses are not actually

obtained from all individuals selected for inclusion in the sample

STA 291 Spring 2008 Lecture 2 22

Page 23: Lecture 2 Dustin Lueker.  Parameter ◦ Numerical characteristic of the population  Calculated using the whole population  Statistic ◦ Numerical characteristic

STA 291 Spring 2008 Lecture 2 23

Assume you take a random sample of 100 UK students and ask them about their political affiliation (Democrat, Republican, Independent)

Now take another random sample of 100 UK students

Will you get the same percentages?◦ Why not?

Page 24: Lecture 2 Dustin Lueker.  Parameter ◦ Numerical characteristic of the population  Calculated using the whole population  Statistic ◦ Numerical characteristic

STA 291 Spring 2008 Lecture 2 24

Error that occurs when a statistic based on a sample estimates or predicts the value of a population parameter◦ In random samples, the sampling error can

usually be quantified◦ In nonrandom samples, there is also sampling

variability, but its extent is not predictable

Page 25: Lecture 2 Dustin Lueker.  Parameter ◦ Numerical characteristic of the population  Calculated using the whole population  Statistic ◦ Numerical characteristic

STA 291 Spring 2008 Lecture 2 25

Everything that could also happen in a census, that is, when you ask the whole population◦ Bias due to

Question wording Question order Nonresponse

People refuse to answer Wrong answers

Especially to delicate questions