Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
IN
BANKBILL
Introduction
As a result of development and
progress in state of Qatar and due to the
extensive involvement in shares and stock
markets we decide to do this project in this
field.
Since the State of Qatar has relatively new
experience compared with a well established stock
market we decided to seek data from a state that
has long time experience in this area.
After homogenous search we came up with
a data for this project from the Australian
stock market, which was founded since the
nineteenth century .Also , Australian stock
market has its own rules and regulation .
First we will define what does it
mean of shares , then we will give
an overview about Australian stock
market .
What is a share?
A share is simply part ownership of a business.
Owning shares means you participate in the company's
performance in the form of profits which can be given to
you as dividends and/or capital growth through the
value of your shares increasing. When you buy shares in
a company, you are buying a part of that company. This
means you share in the company's performance in the
form of profits.
Another question could be,
why invest in shares?
It has a potential to outperform
other investments over the
long term.
It is easy to buy or sell.
It can help you to diversify your
investments.
. The Australian Stock
Exchange Limited (ASX)
was formed in 1987 by
legislation of the
Australian Parliament
which enabled the
amalgamation of six
independent stock
exchanges that formerly
operated in the state
capital cities. Each of
those exchanges had a
history of share trading
dating back to the
nineteenth century.
Objectives :
The main objectives of this study are as follow :
To understand the effect (if any) of the independent
variables (x1,x2,…….,x15) on the price share ( y ) .
Determine the relation between the independent variables
and the dependent variables .
To study the development of share price and their changes
through time .
To compare between the prediction and forecasting of two
different approaches (multiple linear regression and time
series) for the represent share price data in Australian .
Learn from this project how to practice team work , how to
exercise report writing and how to apply the theoretical
methods and techniques of undergraduate statistics courses
in real life data .
Data
In this project we introduces the topic of (Multiple Linear
Regression)and (Time Series) by apply the methods and
techniques of the undergraduate courses we studied in
real life situation.
The data set for this project is about ( 90 Day Bank Bills )
.It consists of monthly observations on various share
price and financial variables that are affecting the share
price. Observation were recorded for the period between
October 1991 through August 1997, with a total number
of observations equal to seventy-one ( N = 71 ).
x6 is Unemploy
a. All request ed variables entered.
b. Dependent Variable: SharePrice
Matrix Plot :
3500
share price
2000
4000
Indust 3000
2000 2000
1500
Energy
1000
1200
Prop 1100
1000
1000
750 Mining
500 12.0
10.5
Unemploy
9.0
9
7
BankBill
5
5000
4000
3000
shareprice
2000
4000
3000
2000
Residual
distribution
Percent
0
50
constant
-50
10 variance of
-100
1
errors
0.1
-200 -100 0 100 200 2000 3000 4000 5000
Residual Fitted Value
Residual 50
8 0
-50
4 It seems to be
-100
independent
0
-120 -60 0 60 120 1 5 10 15 20 25 30 35 40 45 50 55 60 65 70
Residual Observation Order
Correlations
0.00000
-1.00000
-2.00000
1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71
Sequence number
4000
Accuracy Measures :
MAD = 624.136
P-Value = 0.453a
(2)Quadratic Regression Analysis:
Accuracy Measures:
MAD = 626.553
P-Value = 0.638
)3) Dummy Variables Regression Analysis:
Share price(y) versus t; S1; ... :
Accuracy Measures :
MAD = 627.013
P-Value = 1.000
(4)Simple Trigonometric Regression Analysis:
Share price(y) versus t; sin2t; cos2t :
Accuracy Measures
MAD = 627.979
P-Value = 0.840
(5)Complex Trigonometric Regression Analysis:
Share price(y) versus t; sin2t; cos2t; sin4t; cos4t :
Accuracy Measures:
MAD = 627.449
P-Value = 0.939
(6)Growth-curve Trend Analysis model:
Accuracy Measures
MAPE 9
MAD 263
MSD 101132
(7) Classical Decomposition Models:
Additive Time Series Decomposition
Multiplicative Time Series
for Share price(y)
Decomposition for Share price(y)
Fitted Trend Equation
Fitted Trend Equation
Yt == 1652.06
Yt 1653.36 ++ 35.0043*t
34.9404*t
Accuracy Measures
Accuracy :Measures:
MAPEMAPE11 11
MAD MAD301 301
MSD MSD
129828130670
(8)Single Exponential Smoothing for
Share price(y) :
Smoothing Constant
Alpha 1.21347
Accuracy Measures
MAPE 4.0
MAD 117.7
MSD 19537.9
(9)Double Exponential Smoothing for
Share price(y) :
Smoothing Constants
Alpha (level) 1.10354
Gamma (trend) 0.04382
Accuracy Measures
MAPE 4.1
MAD 117.8
MSD 19662.9
(10) Winters' Method for Share price(y) :
Additive Method
Multiplicative Method
Smoothing Constants
Smoothing Constants
Alpha (level) 0.2
Alpha (level) 0.2
Gamma (trend) 0.2
Gamma (trend) 0.2
Delta (seasonal) 0.2
Delta (seasonal) 0.2
Accuracy Measures
Accuracy Measures
MAPE 7.8
MAPE 8.2
MAD 222.6
MAD 234.8
MSD 75268.9
MSD 84390.3
ARIMA Model:
ARIMA
(Autoregress
ive
Integrated
Moving
Average)
model is
implemented
for further
analysis .
Based on this time series plot ,we can
conclude that there is non linear
increasing trend and increasing in and a
very weak seasonal effect .
5000
4500
Share price(y)
4000
3500
3000
2500
2000
1500
1 7 14 21 28 35 42 49 56 63 70
Index
So ,we should make some
modification on the Share price
index to make ARIMA model by
using the difference for (y), to
remove the trend.
Time Series Plot of 1st diff(y)
2000
1500
As we can see
the trend has
1000 been
1st diff(y)
500
removed .
-500
-1000
1 7 14 21 28 35 42 49 56 63 70
Index
After that we should plot ( ACF & PACF ) for diff(y)
,because it help us to identify the suitable orders
of ( p ,d , q ) & ( P , D , Q ) .
Autocorrelation Function for 1st diff(y)
(with 5% significance limits for the autocorrelations)
1.0
0.8
0.6
0.4
Autocorrelation
0.2
0.0
-0.2
-0.4
-0.6
-0.8
-1.0
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Lag
Partial Autocorrelation Function for 1st diff(y)
(with 5% significance limits for the partial autocorrelations)
1.0
0.8
0.6
Partial Autocorrelation
0.4
0.2
0.0
-0.2
-0.4
-0.6
-0.8
-1.0
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Lag
=> From these plots we can use suitable
orders which are ( p = 2 , d = 1 & q = 3 ) &
we will fixed them with ( D=1 ) , because we
have seasonality and make some tried to find
suitable orders for ( P & Q ) a depend on the
lowest MS , SS and largest number of
significant P-values to choose the best model
in ARIMA .
ARIMA Model: Share price(y):
In ARIMA model we use the 6 orders ( p,d,q )
with ( P,D,Q ), because in our Time Series we
have a weak seasonality and Trend .
The Best model:
We tried ( p=2 , d=1 , q=3 & P=3 ,D=1 ,Q=1)
Final Estimates of Parameters
Type Coef SE Coef T P
AR 1 1.4895 0.0341 43.67 0.000
AR 2 -0.9941 0.0387 -25.71 0.000
SAR 12 -1.5709 0.2703 -5.81 0.000
SAR 24 -1.5381 0.3048 -5.05 0.000
SAR 36 -0.7330 0.2682 -2.73 0.009
MA 1 1.6722 0.1477 11.32 0.000
MA 2 -1.2563 0.1617 -7.77 0.000
MA 3 0.2527 0.1337 1.89 0.065
SMA 12 0.3450 0.4862 0.71 0.481
Constant 26.143 3.673 7.12 0.000
Differencing: 1 regular, 1 seasonal of order 12
Number of observations: Original series 71, after differencing 58
Residuals: SS = 733968 (backforecasts excluded)
MS = 15291 DF = 48
Modified Box-Pierce (Ljung-Box) Chi-Square statistic
Lag 12 24 36 48
Chi-Square 25.0 35.4 39.1 43.2
DF 2 14 26 38
P-Value 0.000 0.001 0.048 0.259
From this out put we can see :
SS = 733968
MS = 15291
DF = 48
and we have two P-values not significant :
( P-value= 0.065 > α =0.05 )
( P-value= 0.481 > α =0.05 )
After we choose the best ARIMA model we should plot
the ACF & PACF of Residuals for Share price(y)to check
if the residuals are random ( idependent )or not.
ACF of Residuals for Share price(y)
(with 5% significance limits for the autocorrelations)
1.0 As we can see all the lags inside the band and
0.8 this means that the residuals are ( WN ) " White
0.6 noise process " which is and indication for a
0.4 random process .
Autocorrelation
0.2
0.0
-0.2
-0.4
-0.6
-0.8
-1.0
3 6 9 12 15
Lag
PACF of Residuals for Share price(y)
(with 5% significance limits for the partial autocorrelations)
1.0
0.8
0.6
Partial A utocorrelation
0.4
0.2
0.0
-0.2
-0.4 we can see that the PACF confirmed the
-0.6 results in the ACF plot ( Residuals are
-0.8 independent ) .
-1.0
3 6 9 12 15
Lag
Residual Plots for Share price(y)
Normal Probability Plot of the Residuals Residuals Versus the Fitted Values
99.9
99 200
90
Normality
Of
Residual
Percent
0
50
errors.
-200
10
constant variance of
1
0.1 -400
errors.
-500 -250 0 250 500 2000 3000 4000 5000
Residual Fitted Value
Residual
0
8
-200
4
random errors.
0 -400
-400 -300 -200 -100 0 100 200 1 5 10 15 20 25 30 35 40 45 50 55 60 65 70
Residual Observation Order
Percent of Errors :
ARIMA
Observat Time series T.S percet Regressin Reg. percent ARIM Percent
ion predict errors predict errors predict errors
5000
4000
observation
3000
SingleT. S. predict
2000 Regression Predict
ARIMA Predict
1000
0
1 2 3 4 5
Summary and Conclusion
1- www.statsci.org/data/oz/bankbill.html
2- www.statsci.org/data/multiple.html
3- www.asx.com
4- www.statsoft.com
5- www.itl.nist.gov/div898/handbook/pmc/section4/pmc4.htm
6-Applied Linear Regression Models: By Neter , Kutner ,
Nachtsheim . Fourth Edition (2004) .
7-Forecasting , Time Series And Regression : By Bowerman ,
O'Connell and Koehler . Fourth Edition