Professional Documents
Culture Documents
Statistics For Business and Economics: Describing Data: Numerical
Statistics For Business and Economics: Describing Data: Numerical
Statistics For Business and Economics: Describing Data: Numerical
Chapter 2
Describing Data:
Numerical
1 + 2 + 3 + 4 + 5 15 1 + 2 + 3 + 4 + 10 20
= =3 = =4
5 5 5 5
Copyright © 2020 Pearson Education Ltd. All Rights Reserved. Slide - 8
Median
• In an ordered list, the median is the “middle”
number (50% above, 50% below)
n +1
• Note that is not the value of the median, only the
2
position of the median in the ranked data
1
= éë( 50 ) ´ ( 20 ) ùû - 1
2
Accurate
result
Copyright © 2020 Pearson Education Ltd. All Rights Reserved. Slide - 18
Correction on Example
• ! = 1.5×1.2 − 1 = 0.3416408
,
• 100,000× 1 + ! = 181121.5
( n = 9)
Q1 = is in the 0.25 ( 9 + 1) = 2.5 position of the ranked data
so use the value half way between the 2nd and 3rd values,
so Q1 = 12.5
• Sensitive to outliers
IQR = Q3 - Q1
Example:
å( x - µ)
2
– Population variance: i
s2 = i =1
– Sample variance: å (x - x )
i
2
s =
2 i =1
n -1
Where x = arithmetic mean
n = sample size
å( x - µ)
2
i
s= i =1
å i
(x - x ) 2
S= i =1
n -1
=
8 -1
• Stock B:
– Average price last year = $100
– Standard deviation = $5
xi - µ
z=
s
åw x i i
w1 x1 + w2 x2 + + wn xn
x= i =1
=
n n
§ Where wi is the weight of the i th observation and n = å wi
• Use when data is already grouped into n classes, with
wi values in the i th class
• However, each course is not worth the same number of credit hours.
åfm K
åf
i i
x= i =1 where n = i
n i =1
å fi (mi - x ) 2
s2 = i =1
n -1
å( x - µ )( y - µ )
i x i y
Cov ( x, y ) = s xy = i =1
N
• The sample covariance:
n
å (x - x )(y - y )
i i
Cov (x, y ) = sxy = i =1
n -1
– Only concerned with the strength of the relationship
– No causal effect is implied
Copyright © 2020 Pearson Education Ltd. All Rights Reserved. Slide - 63
Example: sample covariance
x 16 31 27 23 15 17 17 18 14
y 165 314 280 195 137 286 199 128 462
Step 3: multiply the two results calculated from Step 2 for each
observation and then sum them up.
Cov ( x, y )
r=
sx s y
100
95
• There is a relatively
Test #2 Score
90
relationship between 80
75