Docsity

Summarizing Basic Data - Applied Business Research Tools | ECO 6416, Study notes of Economics

Toggle sidebar
bg1
1
Topic #2 Topic #2
Basic Statistics Basic Statistics –– Part 1Part 1
REVIEW ON OWNREVIEW ON OWN
•• Summarizing Qualitative DataSummarizing Qualitative Data
•• Summarizing Quantitative DataSummarizing Quantitative Data
•• Measures of Location and Measures of Location and
Variability/DispersionVariability/Dispersion
11SlideSlide
Measures of Association Between Two VariablesMeasures of Association Between Two Variables
Random VariablesRandom Variables
Discrete Probability DistributionsDiscrete Probability Distributions
Expected Value and VarianceExpected Value and Variance
Summarizing Qualitative DataSummarizing Qualitative Data
Frequency DistributionFrequency Distribution
Relative Frequency Relative Frequency
Percent Frequency DistributionPercent Frequency Distribution
Bar GraphBar Graph
Pi ChPi Ch
22SlideSlide
Pi
e
Ch
art
Pi
e
Ch
art
What does “Qualitative” mean?What does “Qualitative” mean?
Frequency DistributionFrequency Distribution
A A frequency distributionfrequency distribution is a tabular summary of is a tabular summary of
data showing the frequency (or number) of items in data showing the frequency (or number) of items in
each of several nonoverlapping classes.each of several nonoverlapping classes.
The objective is to provide insights about the data The objective is to provide insights about the data
that cannot be
q
uickl
y
obtained b
y
lookin
g
onl
y
at that cannot be
q
uickl
y
obtained b
y
lookin
g
onl
y
at
33SlideSlide
qy y gyqy y gy
the original data.the original data.
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f

Partial preview of the text

Download Summarizing Basic Data - Applied Business Research Tools | ECO 6416 and more Study notes Economics in PDF only on Docsity!

Topic #2Topic

Basic StatisticsBasic Statistics –– Part 1Part 1

„„ REVIEW ON OWNREVIEW ON OWN

  • • Summarizing Qualitative DataSummarizing Qualitative Data
  • • Summarizing Quantitative DataSummarizing Quantitative Data
  • • Measures of Location andMeasures of Location and Variability/DispersionVariability/Dispersion

SlideSlide 11

„„ Measures of Association Between Two VariablesMeasures of Association Between Two Variables „„ Random VariablesRandom Variables „„ Discrete Probability DistributionsDiscrete Probability Distributions „„ Expected Value and VarianceExpected Value and Variance

Summarizing Qualitative DataSummarizing Qualitative Data

„„ Frequency DistributionFrequency Distribution „„ Relative FrequencyRelative Frequency „„ Percent Frequency DistributionPercent Frequency Distribution „„ Bar GraphBar Graph PiPi ChCh

SlideSlide 22

„„ PiPie Charte Chart

What does “Qualitative” mean?What does “Qualitative” mean?

Frequency DistributionFrequency Distribution

„„ AA frequency distributionfrequency distribution is a tabular summary ofis a tabular summary of data showing the frequency (or number) of items indata showing the frequency (or number) of items in each of several nonoverlapping classes.each of several nonoverlapping classes. „„ The objective is to provide insights about the dataThe objective is to provide insights about the data that cannot be quickly obtained by looking only atthat cannot be quickly obtained by looking only at

SlideSlide 33

qq yy yy gg yy the original data.the original data.

Example: Marada InnExample: Marada Inn

Guests staying at Marada Inn were asked to rate theGuests staying at Marada Inn were asked to rate the quality of their accommodations as beingquality of their accommodations as being excellentexcellent ,, above averageabove average ,, averageaverage ,, below averagebelow average , or, or poorpoor. The. The ratings provided by a sample of 20 guests are shownratings provided by a sample of 20 guests are shown below.below. Below AverageBelow Average AverageAverage Above AverageAbove Average Above AverageAbove Average Above AverageAbove Average Above AverageAbove Average

SlideSlide 44

Above AverageAbove Average Above AverageAbove Average Above AverageAbove Average Above AverageAbove Average Below AverageBelow Average Below AverageBelow Average AverageAverage PoorPoor PoorPoor Above AverageAbove Average ExcellentExcellent Above AverageAbove Average AverageAverage Above AverageAbove Average AverageAverage Above AverageAbove Average AverageAverage How many ratedHow many rated worseworse than average?than average? How many ratedHow many rated betterbetter than average?than average?

„„ Frequency DistributionFrequency Distribution RatingRating FrequencyFrequency PoorPoor 22 Below AverageBelow Average 33 AverageAverage 55

Example: Marada InnExample: Marada Inn

SlideSlide 55

gg Above AverageAbove Average 99 ExcellentExcellent 11 TotalTotal 2020

How many ratedHow many rated worseworse than average?than average? How many ratedHow many rated betterbetter than average?than average?

„„ Frequency DistributionFrequency Distribution RatingRating FrequencyFrequency PoorPoor 22 Below AverageBelow Average 33 AverageAverage 55

Example: Marada InnExample: Marada Inn

SlideSlide 66

gg Above AverageAbove Average 99 ExcellentExcellent 11 TotalTotal 2020

The GM of Marada Inn has a goal that no more than 10% ofThe GM of Marada Inn has a goal that no more than 10% of all guests will rate their stay asall guests will rate their stay as worseworse than average.than average. How is the inn doing?How is the inn doing?

Example: Marada InnExample: Marada Inn

Bar GraphBar Graph

66

77

88

99

encyency

SlideSlide 1010

11

22

33

44

55

PoorPoor Below Average

Below Average

AverageAverage Above Average

Above Average

ExcellentExcellent

FrequeFreque

RatingRating

ECO 6416 Grade Distribution

SlideSlide 1111

A B C D F

ECO 6416 Grade Distribution

SlideSlide 1212

A B C D F

Pie ChartPie Chart

„„ TheThe pie chartpie chart is a commonly used graphical deviceis a commonly used graphical device for presenting relative frequency distributions forfor presenting relative frequency distributions for qualitative data.qualitative data. „„ First draw a circle; then use the relative frequenciesFirst draw a circle; then use the relative frequencies to subdivide the circle into sectors that correspond toto subdivide the circle into sectors that correspond to the relative frequency for each class.the relative frequency for each class.

SlideSlide 1313

„„ Since there are 360 degrees in a circle, a class with aSince there are 360 degrees in a circle, a class with a relative frequency of .25 would consume .25(360) =relative frequency of .25 would consume .25(360) = 90 degrees of the circle.90 degrees of the circle.

Pie ChartPie Chart

SlideSlide 1414

Example: Marada InnExample: Marada Inn

„„ Pie ChartPie Chart

Below Average 15%

Below Average 15%

Poor 10%

Poor 10%

Above A

Above A

Exc. 5%

Exc. 5%

SlideSlide 1515

Average 25%

Average 25%

Average 15%15% 45%

Average 45%

Quality RatingsQuality Ratings

Frequency DistributionFrequency Distribution

„„ Guidelines for Selecting Number of ClassesGuidelines for Selecting Number of Classes

  • • Use between 5 and 20 classes.Use between 5 and 20 classes.
  • • Data sets with a larger number of elementsData sets with a larger number of elements usually require a larger number of classes.usually require a larger number of classes.
  • • Smaller data sets usually require fewer classes.Smaller data sets usually require fewer classes. „„ Guidelines for Selecting Width of ClassesGuidelines for Selecting Width of Classes

SlideSlide 1919

„„ Guidelines for Selecting Width of ClassesGuidelines for Selecting Width of Classes

  • USE CLASSES OF EQUAL WIDTH
  • • Approximate Class Width =Approximate Class Width =

Largest Data Value Smallest Data Value

Number of Classes

Example: Hudson Auto RepairExample: Hudson Auto Repair

„„ Frequency DistributionFrequency Distribution If we choose six classes:If we choose six classes: Approximate Class Width = (109Approximate Class Width = (109 -- 52)/6 = 9.552)/6 = 9.5 ≅≅ 1010 Cost ($)Cost ($) FrequencyFrequency 50 50--59 59 22 60 60--69 69 1313

SlideSlide 2020

TotalTotal 5050 Would it be wrong if 50Would it be wrong if 50--59,6059,60--79,8079,80--89,9089,90--99,10099,100--109?109?

„„ Relative Frequency and Percent FrequencyRelative Frequency and Percent Frequency DistributionsDistributions RelativeRelative PercentPercent Cost ($)Cost ($) FrequencyFrequency FrequencyFrequency 50 50--59 59 .04.04 44 60 60 69 69 2626 2626

Example: Hudson Auto RepairExample: Hudson Auto Repair

SlideSlide 2121

TotalTotal 1.001.00 100100

HistogramHistogram

„„ Another common graphical presentation ofAnother common graphical presentation of quantitative data is aquantitative data is a histogramhistogram.. „„ The variable of interest is placed on the horizontalThe variable of interest is placed on the horizontal axis and the frequency, relative frequency, or percentaxis and the frequency, relative frequency, or percent frequency is placed on the vertical axis.frequency is placed on the vertical axis. „„ A rectangle is drawn above each class interval withA rectangle is drawn above each class interval with

SlideSlide 2222

gg its height corresponding to the interval’s frequency,its height corresponding to the interval’s frequency, relative frequency, or percent frequency.relative frequency, or percent frequency. „„ Unlike a bar graph, a histogram hasUnlike a bar graph, a histogram has no naturalno natural separation between rectanglesseparation between rectangles of adjacent classes.of adjacent classes.

Example: Hudson Auto RepairExample: Hudson Auto Repair

„„ HistogramHistogram

1212

1414

1616

1818

ncyncy

SlideSlide 2323

Cost ($)Cost ($)

22

44

66

88

1010 FrequeFreque

5050 6060 7070 8080 9090 100100 110110

NBA Salaries, few yrs ago

of Players

SlideSlide 2424

Salaries ($100,000)

Numer o

2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 4042

Example: Apartment RentsExample: Apartment Rents

„„ MeanMean

x

x

n

= ∑^ i = 34 356=

SlideSlide 2828

MedianMedian

„„ TheThe medianmedian of a data set is the value in the middleof a data set is the value in the middle when the data items are arranged in ascending order.when the data items are arranged in ascending order. „„ If there is an odd number of items, the median is theIf there is an odd number of items, the median is the value of the middle item.value of the middle item. „„ If there is an even number of items the median is theIf there is an even number of items the median is the

SlideSlide 2929

„„ If there is an even number of items, the median is theIf there is an even number of items, the median is the average of the values for the middle two items.average of the values for the middle two items.

Example: Apartment RentsExample: Apartment Rents

„„ MedianMedian Since 70 is even and ½ of 70 = 35Since 70 is even and ½ of 70 = 35, average 35th and, average 35th and 36th data values:36th data values: Median = (475 + 475)/2 = 475Median = (475 + 475)/2 = 475

SlideSlide 3030

Example: Apartment RentsExample: Apartment Rents

„„ ALTERNATIVE METHODALTERNATIVE METHOD -- MedianMedian Median = 50% percentileMedian = 50% percentile ii = (= ( pp /100)/100) nn = (50/100)70 = 35, average 35th and 36th= (50/100)70 = 35, average 35th and 36th data values:data values: (see “Percentiles” slide)(see “Percentiles” slide) Median = (475 + 475)/2 = 475Median = (475 + 475)/2 = 475 425 430 430 435 435 435 435 435 440 440

SlideSlide 3131

ModeMode

„„ TheThe modemode of a data set is the value that occurs withof a data set is the value that occurs with greatest frequency.greatest frequency.

SlideSlide 3232

Example: Apartment RentsExample: Apartment Rents

„„ ModeMode 450 occurred most frequently (7 times)450 occurred most frequently (7 times) Mode = 450Mode = 450 425 430 430 435 435 435 435 435 440 440 440 440 440 445 445 445 445 445 450 450 450 450 450 450 450 460 460 460 465 465

SlideSlide 3333

Mean = $491Mean = $491 Median = $475Median = $475 Mode = $450Mode = $

QuartilesQuartiles

„„ Quartiles are specific percentilesQuartiles are specific percentiles „„ First Quartile = 25th PercentileFirst Quartile = 25th Percentile „„ Second Quartile = 50th Percentile = MedianSecond Quartile = 50th Percentile = Median „„ Third Quartile = 75th PercentileThird Quartile = 75th Percentile

SlideSlide 3737

Measures of VariabilityMeasures of Variability

„„ RangeRange „„ VarianceVariance „„ Standard DeviationStandard Deviation

SlideSlide 3838

RangeRange

„„ TheThe rangerange of a data set is the difference between theof a data set is the difference between the largest and smallest data values.largest and smallest data values. „„ It is theIt is the simplest measuresimplest measure of variability.of variability. „„ It isIt is very sensitivevery sensitive to the smallest and largest datato the smallest and largest data values.values.

SlideSlide 3939

Example: Apartment RentsExample: Apartment Rents

„„ RangeRange Range = largest valueRange = largest value -- smallest valuesmallest value Range = 615Range = 615 -- 425 = 190425 = 190

SlideSlide 4040

VarianceVariance

„„ TheThe variancevariance is the average of the squared differencesis the average of the squared differences between each data value and the mean.between each data value and the mean. „„ If the data set is a sample, the variance is denoted byIf the data set is a sample, the variance is denoted by ss^22 ..

s

xi x

n

2

2

SlideSlide 4141

„„ If the data set is a population, the variance is denotedIf the data set is a population, the variance is denoted

byby σσ 22 ..

2 μ^2

∑(^ x −) N

i

Variance ExampleVariance Example

Salaries (x)Salaries (x) ($1000)($1000) (x(x -- )) (x(x -- )) 22 200200 - -200 200 40,00040, 300300 - -100 100 10,00010, 400400 00 00 500500 100100 10 00010 000

x x

SlideSlide 4242

= 400= 400 sum = 100,000sum = 100,

2 (^ )

xi x

s

n

∑^ −

x

DispersionDispersion

„„ AA smallsmall standard deviation shows that yourstandard deviation shows that your valuesvalues are grouped closely about the meanare grouped closely about the mean

  • • s = 1s = 1

SlideSlide 4646

„„ aa largelarge standard deviation shows that yourstandard deviation shows that your values arevalues are dispersed widely about the meandispersed widely about the mean ..

  • • s = 5s = 5

Standard Deviation ExampleStandard Deviation Example

Season winning percentages for two teams over fourSeason winning percentages for two teams over four seasonsseasons NOTE: same mean winning percentages.NOTE: same mean winning percentages. A: .450, .555, .345, .650A: .450, .555, .345, .650 mean = .500mean =. standard deviation = 0.13standard deviation = 0.

SlideSlide 4747

B: .200, .350, .800 , .650B: .200, .350, .800 , .650 mean = .500mean =. standard deviation = 0.27standard deviation = 0. Which team is more unpredictable?Which team is more unpredictable? How can you tell?How can you tell?

DispersionDispersion

„„ VarianceVariance

  • • This is theThis is the square of the standard deviationsquare of the standard deviation..
  • • This is obviously, then, also a measure of howThis is obviously, then, also a measure of how widely values are dispersed about the mean of awidely values are dispersed about the mean of a distribution.distribution.

SlideSlide 4848

One goal of statistical testing is to explain lots of theOne goal of statistical testing is to explain lots of the variance (or variation) in the variable that you arevariance (or variation) in the variable that you are examining or explainingexamining or explaining..

Who Uses ThisWho Uses This

„„ QualityQuality--control specialists have traditionallycontrol specialists have traditionally regarded observations more thanregarded observations more than three standardthree standard deviationsdeviations from the mean as candidates for furtherfrom the mean as candidates for further examination.examination. AA ff i k ii k i ii tt tt ii thth B tB t

SlideSlide 4949

„„ AA common measure of risk in investments is the common measure of risk in investments is the BBetaeta ,, a calculated value based upon the standarda calculated value based upon the standard deviation.deviation.

SlideSlide 5050

Does blood pressure predict life expectancy? Do SAT scores predict college performance? Does understanding statistics make you a better person?

Measures of AssociationMeasures of Association

between Two Variablesbetween Two Variables

„„ Scatter DiagramsScatter Diagrams „„ Correlation CoefficientCorrelation Coefficient

SlideSlide 5151

CovarianceCovariance

„„ The covariance is a quantitative measure of associationThe covariance is a quantitative measure of association between two variables.between two variables. „„ The formula for the sample covariance isThe formula for the sample covariance is

1

n xy i i i

s = n − (^) ∑ x − x y − y

SlideSlide 5555

„„ For each observation on variableFor each observation on variable x,x, calculate thecalculate the deviation from the mean ofdeviation from the mean of x.x. Do same for variableDo same for variable yy .. „„ Compute the product of the deviations ofCompute the product of the deviations of xx andand yy ,, observation by observation.observation by observation. „„ Sum the products, and divide by sample size less one.Sum the products, and divide by sample size less one.

i = 1

Example: Pittsburgh Panthers Football TeamExample: Pittsburgh Panthers Football Team

„„ CovarianceCovariance xx yy ((IntInt) (Pts)) (Pts) xx devdev yy devdev ProductProduct 11 1414 - -1 1 - -6 6 66 33 2424 11 44 44 22 1818 00 - -2 2 00

SlideSlide 5656

Mean 2Mean 2 2020 SumSum 2020 nn - -1 1 44 CovCov 55 For future reference, note that the stdFor future reference, note that the std devsdevs are 1 forare 1 for xx and 5.34 forand 5.34 for y.y.

CovarianceCovariance

„„ A positive covariance indicates that whenA positive covariance indicates that when xx is above its mean,is above its mean, yy also tends to be above its mean; whenalso tends to be above its mean; when xx is below its mean,is below its mean, yy alsoalso tends to be below its mean.tends to be below its mean. „„ Conversely, a negative covariance indicates that whenConversely, a negative covariance indicates that when xx is above itsis above its mean,mean, yy tends to be below its mean; whentends to be below its mean; when xx is below its mean,is below its mean, yy tends to be above its mean.tends to be above its mean. „„ While theWhile the signsign of the covariance is easily interpreted, itsof the covariance is easily interpreted, its magnitudemagnitude

SlideSlide 5757

depends on the units of measurement of the variables.depends on the units of measurement of the variables. „„ Ex: ifEx: if xx is advertising andis advertising and yy is sales, the absolute magnitude of theis sales, the absolute magnitude of the covariance depends on whether the units are dollars or millions ofcovariance depends on whether the units are dollars or millions of dollars, whereas the sign is the same regardless.dollars, whereas the sign is the same regardless.

Correlation CoefficientCorrelation Coefficient

„„ The correlation coefficient is a “unitsThe correlation coefficient is a “units--free” measure offree” measure of linear association.linear association. „„ The coefficient can take on values betweenThe coefficient can take on values between --1 and +1.1 and +1.

  • • Values nearValues near --1 indicate a1 indicate a strong negative linearstrong negative linear relationshiprelationship..
  • • Values near +1 indicate aValues near +1 indicate a strong positive linearstrong positive linear

SlideSlide 5858

Values near +1 indicate aValues near +1 indicate a strong positive linearstrong positive linear relationshiprelationship..

  • • ZeroZero value indicatesvalue indicates no relationshipno relationship..

Correlation Coefficient (Cont)Correlation Coefficient (Cont)

„„ The coefficient can take on values betweenThe coefficient can take on values between --1 and +1.1 and +1.

  • • Values nearValues near --1 indicate a1 indicate a strong negative linearstrong negative linear relationshiprelationship..
  • • Values near +1 indicate aValues near +1 indicate a strong positive linearstrong positive linear relationshiprelationship..
  • • ZeroZero value indicatesvalue indicates no relationshipno relationship

SlideSlide 5959

ZeroZero value indicatesvalue indicates no relationshipno relationship.. „„ If the data sets are samples, the coefficient isIf the data sets are samples, the coefficient is rr xyxy ..

(std.(std. devsdevs. of x & y). of x & y) „„ If the data sets are populations, the coefficient isIf the data sets are populations, the coefficient is ..

xy xy x y

s

r

s s

xy xy x y

σ ρ σ σ

ρ xy

Correlation Coefficient: ComputationCorrelation Coefficient: Computation

„„ In the interceptions / points example,In the interceptions / points example,

5, 1, 5.

(^5) 0.94. (1)(5 34)

s xy s (^) x sy

r

= = =

= =

SlideSlide 6060

„„ WhatWhat does this mean?does this mean?

0.94. xy (1)(5.34) r