Week 11
Week 11
} is half the squared difference between the target output td and the
linear unit output od, summed over all training tuples.
} Here E is a function of weight vector, it is dependent on the linear unit
output (od).
Gradient descent search determines
a weight vector (partial differentials)
that minimizes E
Starts with an initial weight vector and
modifies it in steps
At each step the weight vector is altered
In the direction that produces steepest
descent along the error surface
ANN Training
Target
Compare
Feed-Forward Neural N/w topologies
Financial Time Series Modeling:
The case of stock markets
Econometric data
} In econometrics there are three main types of data (not
necessarily mutually exclusive)
} Cross-sectional data
} Time series data
} Panel (longitudinal) data
9000
8000
7000
6000
5000
4000
3000
2000
1000
0 12 24 36 48 60 72 84 96 108 120 132 144 156 168 180 192 204 216 228 240 252 264 276 288 300 312 324 336 348 360 372 384 396400
Time
Q1 Q3 Q1 Q3 Q1 Q3
Trend
Seasonality
Y Y
Time time
Cycle Noise
Time series classical models
} Multiplicative
} Ûi=Ti*Si*Ci*Ii
Ti: Trend component
} Additive Si: Seasonal component
} Ûi=Ti+Si+Ci+Ii
Ci: Cyclical component
Ii: Irregular component
} Trend
} Ûi=bXi+c
} Seasonality
} Ûi=b1Xi + b2Q1+ b3Q2 + b3Q3+c
} Seasonality index
Related concepts
} Efficient Market Hypothesis
} Week
} Semi-strong
} Strong
} Random Walk Hypothesis (yt - yt-1 = e)
} Implication: Only luck???
Approaches to stock price forecasting
} Fundamental Analysis
} External factors: Gold price, exchange rate, oil price etc.
} Technical Analysis
} Simple Moving Averages (SMA)
} Stochastic Oscillator
Training
Compare
} Transfer functions
} Subject to experimentation
} Thumb rule for time series
} output layer: linear
} rest all: sigmoid
} Algorithm
} Back Propagation (BP) most widely used
} Gradient Descent (GD)
} Gradient Descent with Momentum (GDM)
Model performance & prediction errors
} Mean Square Error (MSE)
} Root Mean Square Error (RMSE)
} Mean Absolute Error (MAE)
} Mean Absolute Percentage Error (MAPE)