Sesi-1 Descriptive Statistics
Sesi-1 Descriptive Statistics
Sesi-1 Descriptive Statistics
Edi Abdurachman
Session-1
2018
EDI ABDURACHMAN
Education
• S1- IPB- Statistic (1979)
• S2- IPB- Applied Statistics (1981)
• S2 - Iowa State University, USA-Survey Statistics (1983)
• S3 – Statistics-Stochastic Process,
Iowa State University, USA (1986)
Working Experience
• 1979- 2015 MOA
• 1986 – now BINUS University
Position
• Guru Besar Statistika, 2008
• HoP DRM 2015-now
• HoP DCS 2015-now
• Dean of BGP 2015-2018, 2018-2022
WORKING EXPERIENCE-MOA
• 1979-1989 Center for Agricultural Data and
Information : Staff, Section Head, Head of
Division,
• 1989-2010 Agency for Agricultural Research
and Development, Ministri of Agriculture
• 2011 : Director of Agricultural Research
Institute, DKI Province
• 2011-2015 Agency for Agricultural Extension
and Human Resource Development : Director
3
TEACHING EXPERIENCE
• 1979-1981 : IPB Bogor ; Mathematics, Calculus,
Linear Algebra, Statistics, Experimental Design
• 1982-1986 : Iowa State University; Statistical
Analysis
• 1986-Now : BINUS University for S1, S2, S3;
Discreete Mathemathics, Statistical Theory,
Operation Research, Linear Model, Econometrics,
Quantitative Business Analysis, IS Research
Methods, Research Methods, Multivariate
Analysis
4
Establishing A Business Objective Focuses
Data Collection
Examples Of Business Objectives:
A marketing research analyst needs to assess the
effectiveness of a new television advertisement.
Chap 1-5
Statistics for Managers Using Microsoft Excel® 7e Copyright ©2014 Pearson Education, Inc.
Sources of Data
Primary Sources: The data collector is the one using
the data for analysis
Data from a political survey
Data collected from an experiment
Observed data
Secondary Sources: The person performing data
analysis is not the data collector
Analyzing census data
Examining data from print journals or data published on the
internet.
Chap 1-6
Statistics for Managers Using Microsoft Excel® 7e Copyright ©2014 Pearson Education, Inc.
SOURCES OF DATA
• Data distributed by an organization or an
individual
• A designed experiment
• A survey
• An observational study
• Data collected by ongoing business activities
Chap 1-7
Statistics for Managers Using Microsoft Excel® 7e Copyright ©2014 Pearson Education, Inc.
Examples Of Data Distributed By
Organizations or Individuals
• Financial data on a company provided by
investment services.
• Industry or market data from market research
firms and trade associations.
• Stock prices, weather conditions, and sports
statistics in daily newspapers.
Chap 1-8
Statistics for Managers Using Microsoft Excel® 7e Copyright ©2014 Pearson Education, Inc.
Examples of Data From A
Designed Experiment
• Consumer testing of different versions of a
product to help determine which product should
be pursued further.
Chap 1-9
Statistics for Managers Using Microsoft Excel® 7e Copyright ©2014 Pearson Education, Inc.
Examples of Survey Data
• Political polls of registered voters during
political campaigns.
Chap 1-10
Statistics for Managers Using Microsoft Excel® 7e Copyright ©2014 Pearson Education, Inc.
Examples of Data Collected From
Observational Studies
• Market researchers utilizing focus groups to elicit
unstructured responses to open-ended
questions.
Chap 1-11
Statistics for Managers Using Microsoft Excel® 7e Copyright ©2014 Pearson Education, Inc.
Examples of Data Collected From Ongoing
Business Activities
• A bank studies years of financial transactions
to help them identify patterns of fraud.
SAMPLE
A sample is the portion of a population
selected for analysis. The sample is the “small
group”
Chap 1-13
Statistics for Managers Using Microsoft Excel® 7e Copyright ©2014 Pearson Education, Inc.
A Sampling Process Begins With A
Sampling Frame
• The sampling frame is a listing of items that
make up the population
• Frames are data sources such as population
lists, directories, or maps
• Inaccurate or biased results can result if a
frame excludes certain portions of the
population
• Using different frames to generate data can
lead to dissimilar conclusions
Chap 1-14
Statistics for Managers Using Microsoft Excel® 7e Copyright ©2014 Pearson Education, Inc.
Types of Samples
Samples
Simple Stratified
Random
Judgment Convenience
Systematic Cluster
Chap 1-15
Statistics for Managers Using Microsoft Excel® 7e Copyright ©2014 Pearson Education, Inc.
Types of Variables
Variables
Categorical Numerical
Examples:
Marital Status
Political Party Discrete Continuous
Eye Color
(Defined categories) Examples: Examples:
Number of Children Weight
Defects per hour Voltage
(Counted items) (Measured characteristics)
Chap 1-16
Statistics for Managers Using Microsoft Excel® 7e Copyright ©2014 Pearson Education, Inc.
Visualizing Categorical Data Through
Graphical Displays
DCOVA
Categorical
Data
Visualizing Data
Summary Contingency
Table For One Table For Two
Variable Variables
Chap 2-17
Statistics for Managers using Microsoft Excel® 7e Copyright ©2014 Pearson Education, Inc.
ORGANIZING AND VISUALIZING
DATA
Visualizing Categorical Data:
The Bar Chart
In a bar chart, a bar shows each category, the length of which
represents the amount, frequency or percentage of values falling
into a category which come from the summary table of the variable.
Banking Preference
Chap 2-19
Statistics for Managers using Microsoft Excel® 7e Copyright ©2014 Pearson Education, Inc.
Visualizing Categorical Data:
The Pie Chart
The pie chart is a circle broken up into slices that represent categories.
The size of each slice of the pie varies according to the percentage in
each category.
Banking Preference
Banking Preference? %
16% ATM
ATM 16% 24%
Automated or live 2% 2% Automated or live
telephone telephone
Drive-through service at
Drive-through service at 17%
17% branch
branch
In person at branch
In person at branch 41%
Internet 24% Internet
41%
Chap 2-20
Statistics for Managers using Microsoft Excel® 7e Copyright ©2014 Pearson Education, Inc.
Visualizing Categorical Data:
The Pareto Chart
100% 100%
% in each category
80% 80%
Cumulative %
(line graph)
(bar graph)
60% 60%
40% 40%
20% 20%
0% 0%
In person Internet Drive- ATM Automated
at branch through or live
service at telephone
branch
Chap 2-21
Statistics for Managers using Microsoft Excel® 7e Copyright ©2014 Pearson Education, Inc.
Visualizing Numerical Data By
Using Graphical Displays
DCOVA
Numerical Data
Frequency Distributions
Ordered Array and
Cumulative Distributions
Stem-and-Leaf
Histogram Polygon Ogive
Display
Chap 2-22
Statistics for Managers using Microsoft Excel® 7e Copyright ©2014 Pearson Education, Inc.
Visualizing Numerical Data:
The Histogram
Relative
Class Frequency Percentage
Frequency
Frequency
4
(In a percentage
histogram the vertical
axis would be defined to 2
show the percentage of
observations per class)
0
5 15 25 35 45 55 More
Chap 2-23
Statistics for Managers using Microsoft Excel® 7e Copyright ©2014 Pearson Education, Inc.
Visualizing Numerical Data:
The Frequency Polygon
Class
Class Midpoint Frequency
10 but less than 20 15 3
20 but less than 30 25 6
30 but less than 40 35 5 Frequency Polygon: Age Of Students
40 but less than 50 45 4
50 but less than 60 55 2
7
6
Frequency
5
4
3
2
(In a percentage 1
polygon the vertical axis 0
would be defined to 5 15 25 35 45 55 65
show the percentage of
Class Midpoints
observations per class)
Chap 2-24
Statistics for Managers using Microsoft Excel® 7e Copyright ©2014 Pearson Education, Inc.
Visualizing Numerical Data:
The Ogive (Cumulative % Polygon)
Lower % less
class than lower
Class boundary boundary
10 but less than 20 10 15
20 but less than 30 20 45
30 but less than 40 30 70
40 but less than 50 40 90
50 but less than 60 50 100 Ogive: Age Of Students
Cumulative Percentage
100
80
60
40
(In an ogive the percentage 20
of the observations less 0
than each lower class
boundary are plotted versus 10 20 30 40 50 60
the lower class boundaries. Lower Class Boundary
Chap 2-25
Statistics for Managers using Microsoft Excel® 7e Copyright ©2014 Pearson Education, Inc.
VISUALIZING TWO NUMERICAL
VARIABLES BY USING GRAPHICAL
DISPLAYS
Two Numerical
Variables
Scatter Time-
Plot Series
Plot
Chap 2-26
Statistics for Managers using Microsoft Excel® 7e Copyright ©2014 Pearson Education, Inc.
Scatter Plot Example
29 146
150
33 160
100
38 167
50
42 170
0
50 188
20 30 40 50 60 70
55 195
Volume per Day
60 200
Chap 2-27
Statistics for Managers using Microsoft Excel® 7e Copyright ©2014 Pearson Education, Inc.
Time Series Plot Example
Franchises
Number of
1997 54 80
60
1998 60
40
1999 73 20
2000 82 0
2001 95 1994 1996 1998 2000 2002 2004 2006
Year
2002 107
2003 99
2004 95
Chap 2-28
Statistics for Managers using Microsoft Excel® 7e Copyright ©2014 Pearson Education, Inc.
NUMERICAL DESCRIPTIVE
MEASURES
Summary Definitions
The central tendency is the extent to which all
the data values group around a typical or
central value.
The variation is the amount of dispersion or
scattering of values
The shape is the pattern of the distribution of
values from the lowest value to the highest
value.
Chap 3-30
Measures of Central Tendency
Central Tendency
X i
XG ( X1 X2 Xn )1/ n
X i 1
n Middle value Most Rate of
in the ordered frequently change of
array observed a variable
value over time
Chap 3-31
Measures of Central Tendency:
The Mean
X i
X1 X2 Xn
X i1
n n
Sample size Observed values
Chap 3-32
Measures of Central Tendency:
The Median
11 12 13 14 15 16 17 18 19 20 11 12 13 14 15 16 17 18 19 20
Median = 13 Median = 13
• Not affected by extreme values
Chap 3-33
Measures of Central Tendency:
Locating the Median
• The location of the median when the values are in numerical order
(smallest to largest):
n 1
Median position position in the ordered data
2
• If the number of values is odd, the median is the middle number
• If the number of values is even, the median is the average of the two
middle numbers
Note that n 1is not the value of the median, only the position of
2
the median in the ranked data
Chap 3-34
Measures of Central Tendency:
The Mode
• Value that occurs most often
• Not affected by extreme values
• Used for either numerical or categorical
(nominal) data
• There may may be no mode
• There may be several modes
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 0 1 2 3 4 5 6
No Mode
Chap 3-35
Mode = 9
Measures of Central Tendency:
Which Measure to Choose?
The mean is generally used, unless extreme
values (outliers) exist.
The median is often used, since the median is
not sensitive to extreme values. For example,
median home prices may be reported for a
region; it is less sensitive to outliers.
In some situations it makes sense to report
both the mean and the median.
Chap 3-36
Measure of Central Tendency For The Rate Of
Change Of A Variable Over Time:
The Geometric Mean & The Geometric Rate of
Return
Geometric mean
Used to measure the rate of change of a variable over time
X G ( X1 X 2 X n ) 1/ n
RG [(1 R1 ) (1 R2 ) (1 Rn )]1/ n 1
Where Ri is the rate of return in time period i
Chap 3-37
The Geometric Mean Rate of Return:
Example
An investment of $100,000 declined to $50,000 at the end of
year one and rebounded to $100,000 at end of year two:
Arithmetic
(.5) (1) Misleading result
mean rate X .25 25%
2
of return:
Example:
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
Range = 13 - 1 = 12
Chap 3-41
Measures of Variation:
Why The Range Can Be Misleading
Sensitive to outliers
1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,3,3,3,3,4,5
Range = 5 - 1 = 4
1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,3,3,3,3,4,120
Range = 120 - 1 = 119
Chap 3-42
Measures of Variation:
The Sample Variance
• Average (approximately) of squared deviations
of values from the mean
– Sample variance: n
i
(X X ) 2
S2 i 1
n -1
i
(X X ) 2
S i 1
n -1
Chap 3-44
Measures of Variation:
The Standard Deviation
Steps for Computing Standard Deviation
Chap 3-45
Measures of Variation:
Sample Standard Deviation:
Calculation Example
Sample
Data (Xi) : 10 12 14 15 17 18 18 24
n=8 Mean = X = 16
Data A
Mean = 15.5
11 12 13 14 15 16 17 18 19 20 21 S = 3.338
Chap 3-47
Measures of Variation:
Comparing Standard Deviations
Chap 3-48
Measures of Variation:
Summary Characteristics
The more the data are spread out, the greater the
range, variance, and standard deviation.
Chap 3-49
Measures of Variation:
The Coefficient of Variation
Chap 3-50
Measures of Variation:
Comparing Coefficients of Variation
• Stock A:
– Average price last year = $50
– Standard deviation = $5
S $5
CVA 100% 100% 10%
X $50 Both stocks
• Stock B: have the same
standard
– Average price last year = $100 deviation, but
stock B is less
– Standard deviation = $5 variable relative
to its price
S $5
CVB 100% 100% 5%
X $100
Chap 3-51
Measures of Variation:
Comparing Coefficients of Variation
(continued)
• Stock A:
– Average price last year = $50
– Standard deviation = $5
S $5
CVA 100% 100% 10%
X $50 Stock C has a
• Stock C: much smaller
standard
– Average price last year = $8 deviation but a
much higher
– Standard deviation = $2 coefficient of
variation
S $2
CVC 100% 100% 25%
X $8
Chap 3-52
Locating Extreme Outliers:
Z-Score
To compute the Z-score of a data value, subtract the
mean and divide by the standard deviation.
Chap 3-54
Shape of a Distribution (Skewness)
Skewness
Statistic < 0 0 >0
Chap 3-55
Shape of a Distribution -- Kurtosis measures how
sharply the curve rises approaching the center of
the distribution)
Sharper Peak
Than Bell-Shaped
(Kurtosis > 0)
Bell-Shaped
(Kurtosis = 0)
Flatter Than
Bell-Shaped
(Kurtosis < 0)
Chap 3-56
Quartile Measures:
Locating Quartiles
Chap 3-57
Quartile Measures:
Calculation Rules
• When calculating the ranked position use the
following rules
– If the result is a whole number then it is the ranked
position to use
(n = 9)
Q1 is in the (9+1)/4 = 2.5 position of the ranked data
so use the value half way between the 2nd and 3rd values,
so Q1 = 12.5
(n = 9)
Q1 is in the (9+1)/4 = 2.5 position of the ranked data,
so Q1 = (12+13)/2 = 12.5
• Measures like Q1, Q3, and IQR that are not influenced by
outliers are called resistant measures
Chap 3-61
Calculating The Interquartile Range
Example:
Median X
X Q1 Q3 maximum
minimum (Q2)
25% 25% 25% 25%
12 30 45 57 70
Interquartile range
= 57 – 30 = 27
Chap 3-62
The Five Number Summary
Chap 3-63
Relationships among the five-number summary
and distribution shape
> ≈ <
> ≈ <
Chap 3-65
Five Number Summary:
Shape of Boxplots
• If data are symmetric around the median then the box and
central line are centered between the endpoints
Chap 3-66
Distribution Shape and
The Boxplot
Q1 Q2 Q3 Q1 Q2 Q3 Q1 Q 2 Q3
Chap 3-67
Boxplot Example
0 2 2 2 3 3 4 5 5 9 27
00 22 33 55 27
27
Chap 3-69
Numerical Descriptive Measures
for a Population: The mean µ
• The population mean is the sum of the values in
the population divided by the population size, N
X i
X1 X2 XN
i1
N N
Where μ = population mean
N = population size
Xi = ith value of the variable X
Chap 3-70
Numerical Descriptive Measures For A
Population: The Variance σ2
• Average of squared deviations of values from
the mean
N
– Population variance: (X μ)
i
2
σ2 i1
N
σ i1
N
Chap 3-72
Sample statistics versus
population parameters
Measure Population Sample
Parameter Statistic
Mean
X
Variance
2 S2
Standard
Deviation
S
Chap 3-73
The Empirical Rule
68%
μ
μ 1σ
Chap 3-74
The Empirical Rule
• Approximately 95% of the data in a bell-shaped distribution lies
within two standard deviations of the mean, or µ ± 2σ
95% 99.7%
μ 2σ μ 3σ
Chap 3-75
Using the Empirical Rule
Suppose that the variable Math SAT scores is
bell-shaped with a mean of 500 and a standard
deviation of 90. Then,
68% of all test takers scored between 410 and 590
(500 ± 90).
95% of all test takers scored between 320 and 680
(500 ± 180).
99.7% of all test takers scored between 230 and
770 (500 ± 270).
Chap 3-76
Two Measures Of The Relationship
Between Two Numerical Variables
• The Covariance
• The Coefficient of Correlation
Chap 3-77
The Covariance
• The covariance measures the strength of the linear
relationship between two numerical variables (X & Y)
( X X)( Y Y)
i i
cov ( X , Y ) i1
n 1
• Only concerned with the strength of the relationship
• No causal effect is implied
Chap 3-78
Interpreting Covariance
• Covariance between two variables:
cov(X,Y) > 0 X and Y tend to move in the same direction
cov(X,Y) < 0 X and Y tend to move in opposite directions
cov(X,Y) = 0 X and Y are independent
Chap 3-79
Coefficient of Correlation
where n
(X X)(Y Y)
n n
i i (X X)
i
2
i
(Y Y ) 2
cov (X , Y) i1
SX i1
SY i1
n 1 n 1 n 1
Chap 3-80
Features of the
Coefficient of Correlation
• The population coefficient of correlation is referred as ρ.
• The sample coefficient of correlation is referred to as r.
• Either ρ or r have the following features:
– Unit free
– Ranges between –1 and 1
– The closer to –1, the stronger the negative linear relationship
– The closer to 1, the stronger the positive linear relationship
– The closer to 0, the weaker the linear relationship
Chap 3-81
Scatter Plots of Sample Data with
Various Coefficients of Correlation
Y Y
X X
r = -1 r = -.6
Y
Y Y
X X X
Chap 3-82
r = +1 r = +.3 r=0
PERSONAL ASSIGNMENT-1
• Identify one industry of your interest (eg.
Banking, Insurance, Leasing, etc)
• Collect some secondary data related to the
industry identified above
• Do some statistical descriptive analysis and
evaluate
• Submit next week
84