Professional Documents
Culture Documents
> ≈ <
> ≈ <
Q1 Q2 Q3 Q1 Q2 Q3 Q1 Q2 Q3
Box-and-Whisker Plot Example
0 23 5 27
This data is very right skewed, as the plot depicts
Methods for Detecting Outliers
Outlier – an observation that is unusually large
or small relative to the data values being
described
Causes
Invalid measurement or misclassified
measurement
A rare event
Two detection methods
Box Plots
Z-scores
Box Plots
A box plot allows you to:
Graphically display the distribution of a data set.
Compare two or more distributions.
Identify outliers in a data set.
Outliers
Whiskers
Box
**
Box Plots
Box Plots
• based on quartiles
• Lower Quartile QL – 25th percentile
• Middle Quartile - median
• Upper Quartile QU – 75th percentile
• Interquartile Range (IQR) = QU - QL
Box Plots (cont.)
Outer fence = Q3 + 3.0 × IQR
* Outlier
Inner fence = Q3 + 1.5 × IQR
Whisker
Q3 75th percentile
Interquartile
Median range
Q1 25th percentile IQR = (Q3 – Q1)
Whisker
Inner fence = Q1 – 1.5 × IQR
Aggregate
Price Indexes
Unweighted Weighted
aggregate aggregate
price index price indexes
Where
p is the price index
pt is the current price
p0 is the price of the base period
qt is the quantity used in the current period
q0 is the quantity used in the base period
Advantages Requires quantity data from only the base period. This
allows a more meaningful comparison over time. The changes in
the index can be attributed to changes in the price.
CD No CD Total
AC .2 .5 .7
No AC .2 .1 .3
Total .4 .6 1.0
n! x n−x
P(x) = p q
x ! (n − x )!
= E ( Rp ) w AE ( RA ) + w B E ( RB )
where
wA and wB are the portfolio weights/probability to invest
wA + wB = 1
E(RA) and E(RB) are the expected returns on assets
A and B, respectively.
Portfolio Returns
Expected return, variance, and standard deviation
of portfolio returns.
Using the covariance or the correlation coefficient of the
two returns, the portfolio variance of return is:
Var ( Rp ) = w A 2σ A 2 + w B 2σ B 2 + 2w Aw B ρ ABσ Aσ B
where σ2A and σ2B are the variances of the returns for
Asset A and Asset B, respectively,
σAB is the covariance between the returns for
Assets A and B
ρAB is the correlation coefficient between the returns
for Asset A and Asset B.
Solution
Solution
Solution
Solution
2004 2005 2006 2007 2008 2009 2010 2011 2012 2013
Indeks Harga Konsumen (IHK), 2002=100
Kota ABC 114.3 127.3 141.7 126.8
Kota XYZ 113.9 124.0 137.4 146.7
Upah Nominal
Kota ABC 1121 2261
Kota XYZ 557 1424
Upah Nominal
Kota ABC 1244 1586
Kota XYZ 718 979
Pertumbuhan
Kota ABC 21.6
Kota XYZ 26.7