63
Why Study Why Study Statistics? Statistics?

Why Study Statistics Arunesh Chand Mankotia 2004

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: Why Study Statistics   Arunesh Chand Mankotia 2004

Why Study Statistics?Why Study Statistics?

Page 2: Why Study Statistics   Arunesh Chand Mankotia 2004

Dealing with UncertaintyDealing with Uncertainty

Everyday decisions are based on Everyday decisions are based on incomplete informationincomplete information

Page 3: Why Study Statistics   Arunesh Chand Mankotia 2004

The price of L&T stock The price of L&T stock willwill be higher be higher in six months than it is now. in six months than it is now.

Dealing with Dealing with UncertaintyUncertainty

The price of L&T stock The price of L&T stock is is likely tolikely to be higher in six be higher in six months than it is now. months than it is now.

versus

Page 4: Why Study Statistics   Arunesh Chand Mankotia 2004

If the union budget deficit is as high as If the union budget deficit is as high as predicted, interest rates predicted, interest rates willwill remain high remain high

for the rest of the year. for the rest of the year.

Dealing with Dealing with UncertaintyUncertainty

If the union budget deficit is If the union budget deficit is as high as predicted, as high as predicted, it is it is

probableprobable that interest rates that interest rates will remain high for the rest will remain high for the rest

of the year.of the year.

versus

Page 5: Why Study Statistics   Arunesh Chand Mankotia 2004

Statistical ThinkingStatistical Thinking

Statistical thinkingStatistical thinking is a philosophy of learning and action based on the following fundamental principles:

All work occurs in a system of interconnected processes;

Variation exists in all processes, and Understanding and reducing variation are the

keys to success.

Page 6: Why Study Statistics   Arunesh Chand Mankotia 2004

Systems and ProcessesSystems and ProcessesA systemsystem is a number of components that are logically and sometimes physically

linked together for some purpose.

Statistical ThinkingStatistical Thinking

Page 7: Why Study Statistics   Arunesh Chand Mankotia 2004

Systems and ProcessesSystems and ProcessesA processprocess is a set of activities operating on a system

that transforms inputs to outputs. A business process is groups of logically related tasks and activities, that

when performed utilizes the resources of the business to provide definitive results required to achieve the

business objectives.

Statistical ThinkingStatistical Thinking

Page 8: Why Study Statistics   Arunesh Chand Mankotia 2004

Making DecisionsMaking Decisions

Data, Information, KnowledgeData, Information, Knowledge1. Data: specific observations of measured numbers.

2. Information: processed and summarized data yielding facts and ideas.

3. Knowledge: selected and organized information that provides understanding, recommendations, and the basis for decisions.

Page 9: Why Study Statistics   Arunesh Chand Mankotia 2004

Making DecisionsMaking Decisions

Descriptive and Inferential Statistics

Descriptive StatisticsDescriptive Statistics include graphical and numerical procedures that summarize and

process data and are used to transform data into information.

Page 10: Why Study Statistics   Arunesh Chand Mankotia 2004

Making DecisionsMaking Decisions

Descriptive and Inferential Statistics

Inferential Statistics Inferential Statistics provide the bases for predictions, forecasts, and estimates that are used to transform information to knowledge.

Page 11: Why Study Statistics   Arunesh Chand Mankotia 2004

The Journey to Making DecisionsThe Journey to Making Decisions

Begin Here:

Identify the Problem

Data

Information

Knowledge

Decision

Descriptive Statistics,Probability, Computers

Experience, Theory,Literature, InferentialStatistics, Computers

Page 12: Why Study Statistics   Arunesh Chand Mankotia 2004

Describing DataDescribing Data

©

Page 13: Why Study Statistics   Arunesh Chand Mankotia 2004

Summarizing and Describing Summarizing and Describing DataData

Tables and GraphsTables and Graphs Numerical MeasuresNumerical Measures

Page 14: Why Study Statistics   Arunesh Chand Mankotia 2004

Classification of VariablesClassification of Variables

Discrete numerical variableDiscrete numerical variable Continuous numerical variableContinuous numerical variable Categorical variableCategorical variable

Page 15: Why Study Statistics   Arunesh Chand Mankotia 2004

Classification of VariablesClassification of Variables

Discrete Numerical VariableDiscrete Numerical VariableA variable that produces a response that

comes from a counting process.

Page 16: Why Study Statistics   Arunesh Chand Mankotia 2004

Classification of VariablesClassification of Variables

Continuous Numerical VariableContinuous Numerical VariableA variable that produces a response that is

the outcome of a measurement process.

Page 17: Why Study Statistics   Arunesh Chand Mankotia 2004

Classification of VariablesClassification of Variables

Categorical VariablesCategorical VariablesVariables that produce responses that belong to groups (sometimes called

“classes”) or categories.

Page 18: Why Study Statistics   Arunesh Chand Mankotia 2004

Measurement LevelsMeasurement Levels

NominalNominal and OrdinalOrdinal Levels of Measurement refer to data obtained from categorical questions.

• A nominal scale indicates assignments to groups or classes.

• Ordinal data indicate rank ordering of items.

Page 19: Why Study Statistics   Arunesh Chand Mankotia 2004

Frequency DistributionsFrequency Distributions

A frequency distributionfrequency distribution is a table used to organize data. The left column (called classes or groups) includes

numerical intervals on a variable being studied. The right column is a list of the frequencies, or number of observations, for each class. Intervals are normally of

equal size, must cover the range of the sample observations, and be non-overlapping.

Page 20: Why Study Statistics   Arunesh Chand Mankotia 2004

Construction of a Frequency Construction of a Frequency DistributionDistribution

Rule 1: Intervals (classes) must be inclusive and non-overlapping;

Rule 2: Determine k, the number of classes; Rule 3: Intervals should be the same width, w; the width

is determined by the following:

Both k and w should be rounded upward, possibly to the next largest integer.

Intervals ofNumber

Number)Smallest -Number (Largest Width Interval w

Page 21: Why Study Statistics   Arunesh Chand Mankotia 2004

Construction of a Frequency Construction of a Frequency DistributionDistribution

Quick Guide to Number of Classes for a Frequency Distribution

Sample Size Number of Classes

Fewer than 50 5 – 6 classes

50 to 100 6 – 8 classes

over 100 8 – 10 classes

Page 22: Why Study Statistics   Arunesh Chand Mankotia 2004

Example of a Frequency DistributionExample of a Frequency Distribution

A Frequency Distribution for the Suntan Lotion Example

Weights (in mL) Number of Bottles220 less than 225 1225 less than 230 4230 less than 235 29235 less than 240 34240 less than 245 26245 less than 250 6

Page 23: Why Study Statistics   Arunesh Chand Mankotia 2004

Cumulative Frequency Cumulative Frequency DistributionsDistributions

A cumulative frequency distributioncumulative frequency distribution contains the number of observations whose values are less than the

upper limit of each interval. It is constructed by adding the frequencies of all frequency distribution intervals up to and including the present interval.

Page 24: Why Study Statistics   Arunesh Chand Mankotia 2004

Relative Cumulative Frequency Relative Cumulative Frequency DistributionsDistributions

A relative cumulative frequency distribution relative cumulative frequency distribution converts all cumulative frequencies to

cumulative percentages

Page 25: Why Study Statistics   Arunesh Chand Mankotia 2004

Example of a Frequency DistributionExample of a Frequency Distribution

A Cumulative Frequency Distribution for the Sun tan Lotion Example

Weights (in mL) Number of Bottlesless than 225 1less than 230 5less than 235 34less than 240 68less than 245 94less than 250 100

Page 26: Why Study Statistics   Arunesh Chand Mankotia 2004

Histograms and OgivesHistograms and Ogives

A histogramhistogram is a bar graph that consists of vertical bars constructed on a horizontal line that is marked off with

intervals for the variable being displayed. The intervals correspond to those in a frequency distribution table. The height of each bar is

proportional to the number of observations in that interval.

Page 27: Why Study Statistics   Arunesh Chand Mankotia 2004

Histograms and OgivesHistograms and Ogives

An ogive,ogive, sometimes called a cumulative line graph, is a line that connects points that are the cumulative

percentage of observations below the upper limit of each class in a cumulative frequency distribution.

Page 28: Why Study Statistics   Arunesh Chand Mankotia 2004

Histogram and Ogive for Example 1Histogram and Ogive for Example 1

Histogram of Weights

0

5

10

15

20

25

30

35

40

224.5 229.5 234.5 239.5 244.5 249.5

Interval Weights (mL)

Fre

qu

en

cy

0

10

20

30

40

50

60

70

80

90

100

Page 29: Why Study Statistics   Arunesh Chand Mankotia 2004

Stem-and-Leaf DisplayStem-and-Leaf Display

A stem-and-leaf displaystem-and-leaf display is an exploratory data analysis graph that is an alternative to the histogram. Data are

grouped according to their leading digits (called the stem) while listing the final digits (called leaves) separately for

each member of a class. The leaves are displayed individually in ascending order after each of the stems.

Page 30: Why Study Statistics   Arunesh Chand Mankotia 2004

Stem-and-Leaf DisplayStem-and-Leaf Display

Stem-and-Leaf Display

Stem unit: 10

9 1 1 2 4 6 7 8 8 9 9(9) 2 1 2 2 2 4 6 8 9 9

5 3 0 1 2 3 42 4 0 2

Page 31: Why Study Statistics   Arunesh Chand Mankotia 2004

TablesTables- Bar and Pie Charts -- Bar and Pie Charts -

IndustryNumber ofEmployees Percent

Tourism 85,287 0.35Retail 49,424 0.2Health Care 39,588 0.16Restaurants 16,050 0.06Communications 11,750 0.05Technology 11,144 0.05Space 11,418 0.05Other 21,336 0.08

Frequency and Relative Frequency Distribution for Top Company Employers Example

Page 32: Why Study Statistics   Arunesh Chand Mankotia 2004

TablesTables- Bar and Pie Charts -- Bar and Pie Charts -

1999 Top Company Employers in Central Florida

0.35

0.20.16

0.06 0.05 0.05 0.05 0.08

Touris

mReta

il

Health C

are

Restaur

ants

Communic

ation

s

Techn

ology

Space

Other

Industry Category

Bar Chart for Top Company Employers Example

Page 33: Why Study Statistics   Arunesh Chand Mankotia 2004

TablesTables- Bar and Pie Charts -- Bar and Pie Charts -

Pie Chart for Top Company Employers Example

1999 Top Company Employers in Central Florida

Tourism35%

Retail20%

Health Care16%

Others29%

Page 34: Why Study Statistics   Arunesh Chand Mankotia 2004

Pareto DiagramsPareto Diagrams

A Pareto diagram Pareto diagram is a bar chart that displays the frequency of defect causes. The bar at the left indicates

the most frequent cause and bars to the right indicate causes in decreasing frequency. A Pareto diagramPareto diagram is use

to separate the “vital fewvital few” from the “trivial many.trivial many.”

Page 35: Why Study Statistics   Arunesh Chand Mankotia 2004

Line ChartsLine Charts

A line chart, line chart, also called a time plot, time plot, is a series of data plotted at various time intervals. Measuring time along the horizontal axis and the numerical quantity of interest along the vertical

axis yields a point on the graph for each observation. Joining points adjacent in time by straight lines produces a time plot.

Page 36: Why Study Statistics   Arunesh Chand Mankotia 2004

Line ChartsLine Charts

Growth Trends in Internet Use by Age 1997 to 1999

16.520.2

26.331.3 32.7

9.813.8 15.8 17.2 18.5

5 7.511.4 13 14.2

05

101520253035

Apr-9

7

Jul-9

7

Oct-97

Jan-

98

Apr-9

8

Jul-9

8

Oct-98

Jan-

99

Apr-9

9

Jul-9

9

April 1997 to July 1999

Mil

lio

ns

of

Ad

ult

s

Age 18 to 29

Age 30 to 49

Age 50+

Page 37: Why Study Statistics   Arunesh Chand Mankotia 2004

Parameters and StatisticsParameters and Statistics

A statisticstatistic is a descriptive measure computed from a sample of data. A parameterparameter is a descriptive

measure computed from an entire population of data.

Page 38: Why Study Statistics   Arunesh Chand Mankotia 2004

Measures of Central TendencyMeasures of Central Tendency- Arithmetic Mean -- Arithmetic Mean -

A arithmetic mean arithmetic mean is of a set of data is the sum of the data values divided by the

number of observations.

Page 39: Why Study Statistics   Arunesh Chand Mankotia 2004

Sample MeanSample Mean

If the data set is from a sample, then the sample mean, , is:X

n

xxx

n

xX n

n

ii

211

Page 40: Why Study Statistics   Arunesh Chand Mankotia 2004

Population MeanPopulation Mean

If the data set is from a population, then the population mean, , is:

N

xxx

N

xn

N

ii

211

Page 41: Why Study Statistics   Arunesh Chand Mankotia 2004

Measures of Central TendencyMeasures of Central Tendency- Median -- Median -

An ordered array ordered array is an arrangement of data in either ascending or descending order. Once the data are

arranged in ascending order, the medianmedian is the value such that 50% of the observations are smaller and 50% of the

observations are larger.

If the sample size n is an odd number, the median, Xm, is the middle observation. If the sample size n is an even number, the medianmedian, Xm, is the average of the two middle observations. The medianmedian will be located in the 0.50(n+1)th ordered position0.50(n+1)th ordered position.

Page 42: Why Study Statistics   Arunesh Chand Mankotia 2004

Measures of Central TendencyMeasures of Central Tendency- Mode -- Mode -

The mode, mode, if one exists, is the most frequently occurring observation in the

sample or population.

Page 43: Why Study Statistics   Arunesh Chand Mankotia 2004

Shape of the DistributionShape of the Distribution

The shape of the distribution is said to be symmetricsymmetric if the observations are balanced, or evenly distributed, about the mean. In a

symmetric distribution the mean and median are equal.

Page 44: Why Study Statistics   Arunesh Chand Mankotia 2004

Shape of the DistributionShape of the Distribution

A distribution is skewedskewed if the observations are not symmetrically distributed above and below the mean.

A positively skewedpositively skewed (or skewed to the right) distribution has a tail that extends to the right in the direction of positive values. A negatively skewednegatively skewed (or skewed to the left) distribution has a tail that extends

to the left in the direction of negative values.

Page 45: Why Study Statistics   Arunesh Chand Mankotia 2004

Shapes of the DistributionShapes of the Distribution

Symmetric Distribution

0123456789

10

1 2 3 4 5 6 7 8 9

Fre

qu

ency

Positively Skewed Distribution

0

2

4

6

8

10

12

1 2 3 4 5 6 7 8 9

Fre

qu

ency

Negatively Skewed Distribution

0

2

4

6

8

10

12

1 2 3 4 5 6 7 8 9

Fre

qu

ency

Page 46: Why Study Statistics   Arunesh Chand Mankotia 2004

Measures of Central TendencyMeasures of Central Tendency - Geometric Mean - - Geometric Mean -

The Geometric Mean Geometric Mean is the nth root of the product of n numbers:

The Geometric Mean is used to obtain mean growth over several periods given compounded growth from each

period.

nn

nng xxxxxxX /1

2121 )()(

Page 47: Why Study Statistics   Arunesh Chand Mankotia 2004

Measures of VariabilityMeasures of Variability- The Range -- The Range -

The range range is in a set of data is the difference between the largest and

smallest observations

Page 48: Why Study Statistics   Arunesh Chand Mankotia 2004

Measures of VariabilityMeasures of Variability- Sample Variance -- Sample Variance -

The sample variance, ssample variance, s22, , is the sum of the squared differences between each observation and the sample

mean divided by the sample size minus 1.

1

)(1

2

2

n

Xxs

n

ii

Page 49: Why Study Statistics   Arunesh Chand Mankotia 2004

Measures of VariabilityMeasures of Variability- Short-cut Formulas for Sample - Short-cut Formulas for Sample

Variance -Variance -

Short-cut formulas for the sample variance sample variance are:

11

)(22

21

2

2

n

Xnxsor

nn

xx

s i

n

i

ii

Page 50: Why Study Statistics   Arunesh Chand Mankotia 2004

Measures of VariabilityMeasures of Variability- Population Variance -- Population Variance -

The population variance, population variance, 22, , is the sum of the squared differences between each observation and the population

mean divided by the population size, N.

N

xN

ii

1

2

2

)(

Page 51: Why Study Statistics   Arunesh Chand Mankotia 2004

Measures of VariabilityMeasures of Variability- Sample Standard Deviation -- Sample Standard Deviation -

The sample standard deviation, s, sample standard deviation, s, is the positive square root of the variance, and is defined as:

1

)(1

2

2

n

Xxss

n

ii

Page 52: Why Study Statistics   Arunesh Chand Mankotia 2004

Measures of VariabilityMeasures of Variability- Population Standard Deviation-- Population Standard Deviation-

The population standard deviation, population standard deviation, , , is

N

xN

ii

1

2

2

)(

Page 53: Why Study Statistics   Arunesh Chand Mankotia 2004

The Empirical RuleThe Empirical Rule(the 68%, 95%, or almost all rule)(the 68%, 95%, or almost all rule)

For a set of data with a mound-shaped histogram, the Empirical Empirical RuleRule is:

• approximately 68%68% of the observations are contained with a distance of one standard deviation around the mean; 1

• approximately 95%95% of the observations are contained with a distance of two standard deviations around the mean; 2

• almost all of the observations are contained with a distance of three standard deviation around the mean; 3

Page 54: Why Study Statistics   Arunesh Chand Mankotia 2004

Coefficient of VariationCoefficient of Variation

The Coefficient of Variation, CV, Coefficient of Variation, CV, is a measure of relative dispersion that expresses the standard deviation as a

percentage of the mean (provided the mean is positive).

The sample coefficient of variationsample coefficient of variation is

The population coefficient of variationpopulation coefficient of variation is

0100 XifX

sCV

0100

ifCV

Page 55: Why Study Statistics   Arunesh Chand Mankotia 2004

Percentiles and QuartilesPercentiles and Quartiles

Data must first be in ascending order. PercentilesPercentiles separate large ordered data sets into 100ths. The PPth th

percentilepercentile is a number such that P percent of all the observations are at or below that number.

QuartilesQuartiles are descriptive measures that separate large ordered data sets into four quarters.

Page 56: Why Study Statistics   Arunesh Chand Mankotia 2004

Percentiles and QuartilesPercentiles and Quartiles

The first quartile, Qfirst quartile, Q11, is another name for the 2525thth

percentilepercentile. The first quartile divides the ordered data such that 25% of the observations are at or below this value. Q1 is located in the .25(n+1)st position when

the data is in ascending order. That is,

position ordered 4

)1(1

nQ

Page 57: Why Study Statistics   Arunesh Chand Mankotia 2004

Percentiles and QuartilesPercentiles and Quartiles

The third quartile, Qthird quartile, Q33, is another name for the 7575thth

percentilepercentile. The first quartile divides the ordered data such that 75% of the observations are at or below this value. Q3 is located in the .75(n+1)st

position when the data is in ascending order. That is,

position ordered 4

)1(33

nQ

Page 58: Why Study Statistics   Arunesh Chand Mankotia 2004

Interquartile RangeInterquartile Range

The Interquartile Range (IQR) Interquartile Range (IQR) measures the spread in the middle 50% of the data; that is the difference

between the observations at the 25th and the 75th percentiles:

13 QQIQR

Page 59: Why Study Statistics   Arunesh Chand Mankotia 2004

Five-Number SummaryFive-Number Summary

The Five-Number Summary Five-Number Summary refers to the five refers to the five descriptive measures: minimum, first quartile, descriptive measures: minimum, first quartile,

median, third quartile, and the maximum.median, third quartile, and the maximum.

imumimum XQMedianQX max31min

Page 60: Why Study Statistics   Arunesh Chand Mankotia 2004

Box-and-Whisker PlotsBox-and-Whisker Plots

A Box-and-Whisker Plot Box-and-Whisker Plot is a graphical procedure that uses the Five-Number summary..

A Box-and-Whisker Plot consists of • an inner box that shows the numbers which span the

range from Q1 Box-and-Whisker Plot to Q3.

• a line drawn through the box at the median.

The “whiskers” are lines drawn from QThe “whiskers” are lines drawn from Q11 to the minimum to the minimum

vale, and from Qvale, and from Q33 to the maximum value. to the maximum value.

Page 61: Why Study Statistics   Arunesh Chand Mankotia 2004

Box-and-Whisker Plots (Excel)Box-and-Whisker Plots (Excel)

Box-and-whisker Plot

16 10

15

20

25

30

35

40

45

Page 62: Why Study Statistics   Arunesh Chand Mankotia 2004

Grouped Data MeanGrouped Data Mean

For a sample of n observations, the mean isN

mfK

iii

1

n

mfX

K

iii

1

Where the data set contains observation values m1, m2, . . ., mk occurring with frequencies f1, f2, . . . fK respectively

For a population of N observations the mean is

Page 63: Why Study Statistics   Arunesh Chand Mankotia 2004

Grouped Data VarianceGrouped Data Variance

For a sample of n observations, the variance is

21

2

1

2

2

)(

N

mf

N

mfK

ii

K

iii i

Where the data set contains observation values m1, m2, . . ., mk occurring with frequencies f1, f2, . . . fK respectively

11

)(1

22

1

2

2

n

Xnmf

n

Xmfs

K

ii

K

iii i

For a population of N observations the variance is