SlideShare a Scribd company logo
1 of 26
Download to read offline
‘Introductory Econometrics for Finance’ © Chris Brooks 2013 1
Chapter 13
Simulation Methods
‘Introductory Econometrics for Finance’ © Chris Brooks 2013 2
Simulation Methods in Econometrics and Finance
• The Monte Carlo Method
This technique is often used in econometrics when the properties of a particular
estimation method are not known.
Examples from econometrics include:
1. Quantifying the simultaneous equations bias induced by treating an
endogenous variable as exogenous.
2. Determining the appropriate critical values for a Dickey-Fuller test.
3. Determining what effect heteroscedasticity has upon the size and power of a
test for autocorrelation.
Simulations are also often extremely useful tools in finance, in situations such as:
1. The pricing of exotic options, where an analytical pricing formula is unavailable.
2. Determining the effect on financial markets of substantial changes in the
macroeconomic environment.
3. “Stress-testing” risk management models to determine whether they generate
capital requirements sufficient to cover losses in all situations.
‘Introductory Econometrics for Finance’ © Chris Brooks 2013 3
Conducting Simulations Experiments
• In all of the above examples, the basic way that such a study would be conducted
(with additional steps and modifications where necessary) is as follows.
1. Generate the data according to the desired data generating process
(DGP), with the errors being drawn from some given distribution.
2. Do the regression and calculate the test statistic.
3. Save the test statistic or whatever parameter is of interest.
4. Go back to stage 1 and repeat N times.
• N is the number of replications, and should be as large as is feasible.
• The central idea behind Monte Carlo is that of random sampling from a given
distribution.
• Therefore, if the number of replications is set too small, the results will be
sensitive to “odd” combinations of random number draws.
‘Introductory Econometrics for Finance’ © Chris Brooks 2013 4
Random Number Generation
• We generate numbers that are a continuous uniform(0,1) according to the
following recursion:
yi+1 = (a yi + c) modulo m
then
Ri+1 = yi+1 / m for i = 0, 1,...,T
for T random draws, where y0 is the seed (the initial value of y), a is a
multiplier and c is an increment.
• An example of a discrete uniform number generator would be a die or a
roulette wheel. Computers generate continuous uniform random number
draws.
• These are pseudo-random numbers
• The U(0,1) draws can be transformed into other standard distributions (e.g
normal, t, etc).
‘Introductory Econometrics for Finance’ © Chris Brooks 2013 5
Variance Reduction Techniques
• The sampling variation in a Monte Carlo study is measured by the
standard error estimate, denoted Sx:
where var(x) is the variance of the estimates of the quantity of interest
over the N replications
• In order to achieve acceptable accuracy, the number of replications
may have to be set at an infeasibly high level.
• An alternative way to reduce Monte Carlo sampling error is to use a
variance reduction technique
• Two of the intuitively simplest and most widely used methods are
antithetic variates and control variates.
N
x
Sx
)
var(

‘Introductory Econometrics for Finance’ © Chris Brooks 2013 6
Antithetic Variates
• One reason that a lot of replications are typically required of a Monte
Carlo study is that it may take many, repeated sets of sampling before
the entire probability space is adequately covered.
• What is really required is for successive replications to cover different
parts of the probability space.
• The antithetic variate technique involves taking the complement of a
set of random numbers and running a parallel simulation on those.
• For each replication conducted using random draws ut, an additional
replication with errors given by - ut is also used.
• Suppose that the average value of the parameter of interest across 2
sets of Monte Carlo replications is given by
where x1 and x2 are the average parameter values for replications set 1
and 2 respectively.
2
/
)
( 2
1 x
x
x 

‘Introductory Econometrics for Finance’ © Chris Brooks 2013 7
Antithetic Variates (cont’d)
• The variance of will be given by:
• If no antithetic variates are used:
• However, the use of antithetic variates would lead the covariance to be
negative, and therefore the Monte Carlo sampling error to be reduced.
 .
)
,
cov(
2
)
var(
)
var(
4
1
)
var( 2
1
2
1 x
x
x
x
x 


 .
)
var(
)
var(
4
1
)
var( 2
1 x
x
x 

‘Introductory Econometrics for Finance’ © Chris Brooks 2013 8
Control Variates
• The application of control variates involves employing a variable
similar to that used in the simulation, but whose properties are known
prior to the simulation.
• Denote the variable whose properties are known by y, and that whose
properties are under simulation by x.
• The simulation is conducted on x and also on y, with the same sets of
random number draws being employed in both cases.
‘Introductory Econometrics for Finance’ © Chris Brooks 2013 9
Control Variates (cont’d)
• Denoting the simulation estimates of x and y using hats, a new estimate
of x can be derived from:
• Again, it can be shown that the Monte Carlo sampling error of this
quantity, x*, will typically be lower than that of x.
• In fact, it can be shown that control variates will reduce the Monte
Carlo variance if
• For example, if the topic of interest is the pricing of an Asian option,
the control variate approach would be given by
PA* = ( ) + PBS
)
ˆ
ˆ
(
* y
x
y
x 


)
ˆ
(
)
ˆ
(
2
1
)
ˆ
,
ˆ
(
x
Var
y
Var
y
x
Corr 
BS
A P
P ˆ
ˆ 
‘Introductory Econometrics for Finance’ © Chris Brooks 2013 10
• Recall, that the equation for a Dickey Fuller test applied to some series
yt is the regression
yt =  yt-1 + ut
• The test is one of H0:  = 1 against H1:   1. The relevant test statistic
is given by
• Under the null hypothesis of a unit root, the test statistic does not
follow a standard distribution, and therefore a simulation would be
required to obtain the relevant critical values.
An Example of the use of Monte Carlo Simulation in
Econometrics: Deriving a Set of Critical Values for a
Dickey-Fuller Test
)
ˆ
(
1
ˆ



SE


‘Introductory Econometrics for Finance’ © Chris Brooks 2013 11
An Example of the use of Monte Carlo Simulation in
Econometrics: Deriving a Set of Critical Values for a
Dickey-Fuller Test (cont’d)
The simulation would be conducted in the following steps:
• Construct the data generating process under the null hypothesis – that is,
obtain a series for y that follows a unit root process. This would be done by
– Draw a series of length T, the required number of observations, from a
normal distribution. This will be the error series, so that ut  N(0,1).
– Assume a first value for y, i.e. a value for y at time t = 0.
– Construct the series for y recursively, starting with y1, y2, and so on:
» y1 = y0 + u1
» y2 = y1 + u2
» y3 = y2 + u3
» …
» yT = yT-1 + uT
‘Introductory Econometrics for Finance’ © Chris Brooks 2013 12
An Example of the use of Monte Carlo Simulation in
Econometrics: Deriving a Set of Critical Values for a
Dickey-Fuller Test (cont’d)
– Calculate the test statistic, .
– Repeat steps 1 and 2 N times to obtain N replications of the experiment.
A distribution of values for  will be obtained across the replications.
– Order the set of N values of  from the lowest to the highest. The
relevant 5% critical value will be the 5th percentile of this distribution.
‘Introductory Econometrics for Finance’ © Chris Brooks 2013 13
An Example of how to simulate the Price of a
Financial Option
• Although the example presented here is for a simple plain vanilla call option,
the same basic approach would be used to value an exotic option. The steps
are:
– Specify a data generating process for the underlying asset. A random
walk with drift model is usually assumed. Specify also the assumed size
of the drift component and the assumed size of the volatility parameter.
Specify also a strike price K, and a time to maturity, T.
– Draw a series of length T, the required number of observations for the
life of the option, from a normal distribution. This will be the error
series, so that ut  N(0,1).
– Form a series of observations of length T on the underlying asset.
‘Introductory Econometrics for Finance’ © Chris Brooks 2013 14
An Example of how to simulate the Price of a
Financial Option (cont’d)
– Observe the price of the underlying asset at maturity observation T. For a
call option, if the value of the underlying asset on maturity date, PT < K,
the option expires worthless for this replication. If the value of the
underlying asset on maturity date, PT > K, the option expires in the
money, and has value on that date equal to PT - K, which should be
discounted back to the present day using the risk free rate.
– Repeat steps 1 to 4 N times, and take the average value of the option over
the N replications. This average will be the price of the option.
• The data for the underlying can be generated according to a more empirically
realistic process.
‘Introductory Econometrics for Finance’ © Chris Brooks 2013 15
Bootstrapping
• In finance, the bootstrap is often used instead of a pure simulation.
• This is mainly because financial asset returns do not follow the standard statistical
distributions that are used in simulations.
• Bootstrapping provides an alternative where by definition, the properties of the
artificially constructed series will be similar to those of the actual series.
• Bootstrapping is used to obtain a description of the properties of empirical
estimators by using the sample data points themselves.
• Bootstrapping is similar to pure simulation but the former involves sampling from
real data rather than creating new data.
• Suppose we have a sample of data, y = y1, y2, ..., yT and we want to estimate some
parameter .
• We can get an approximation to the statistical properties of by studying a sample
of bootstrap estimators.
• We do this by taking N samples of size T with replacement from y and re-
calculating with each new sample.
• We then get a series of estimates.

T




‘Introductory Econometrics for Finance’ © Chris Brooks 2013 16
Bootstrapping (cont’d)
• Advantage of bootstrapping: it allows the researcher to make inferences
without making strong distributional assumptions.
• Instead of imposing a shape on the sampling distribution of the ’s,
bootstrapping involves empirically estimating the sampling distribution by
looking at the variation of the statistic within sample.
• We draw a set of new samples with replacement from the sample and
calculate the test statistic of interest from each of these.
• Call the test statistics calculated from the new samples *.
• The samples are likely to be quite different from each other.
• We thus get a distribution of *’s.






‘Introductory Econometrics for Finance’ © Chris Brooks 2013 17
An Example of the Use of Bootstrapping in a
Regression Context
• Consider a standard regression model, y =  X + u .
• The regression model can be bootstrapped in two ways.
1. Resample the Data
• Take the data, and sample the entire rows corresponding to observation i
together.
The steps would then be
1. Generate a sample of size T from the original data by sampling with
replacement from the whole rows taken together.
2. Calculate , the coefficient matrix for this bootstrap sample.
3. Go back to stage 1 and generate another sample of size T. Repeat this a
total of N times.
• Problem with this approach is that we are sampling from the regressors.
 *

‘Introductory Econometrics for Finance’ © Chris Brooks 2013 18
An Example of the Use of Bootstrapping in a
Regression Context (cont’d)
• The only random influence in the regression is the errors, u, so why not just
bootstrap from those?
2. Resampling from the Residuals
The steps are
1. Estimate the model on the actual data, obtain the fitted values , and
calculate the residuals, .
2. Take a sample of size T with replacement from these residuals (and
call these ), and generate a bootstrapped dependent variable:
3. Then regress the original X data on this new dependent variable to get
a bootstrapped coefficient vector, .
4. Go back to stage 2, and repeat a total of N times.

y

u
*
u
y y u
*   *
 
 *

‘Introductory Econometrics for Finance’ © Chris Brooks 2013 19
Situations where the Bootstrap will be Ineffective
• If there are extreme outliers in the data, the conclusions of the
bootstrap may be affected.
• Use of the bootstrap implicitly assumes that the data from which the
sampling is done are independent. This would not hold, for example, if
the data were autocorrelated.
‘Introductory Econometrics for Finance’ © Chris Brooks 2013 20
An Example of the Use of Bootstrapping to Calculate
Capital Risk Requirements (Hsieh, 1993)
Financial Motivation
• An important use of bootstrapping in a financial context is in the calculation
of value at risk. VaR gives the amount in financial terms that is expected to
be lost with a given probability over a given time interval.
• E.g. 95%, 10-day VaR = $100m
• How do we calculate, say, the amount of capital required to cover 95% of the
daily losses on a particular position?
• This is a forecasting problem considered by Hsieh (1993).
• Data: daily log returns on foreign currency (against the US dollar) futures
series from 22 February 1985 until 9 March 1990 (1275 observations) for the
British pound (denoted BP), the German mark (GM), the Japanese yen (JY),
and the Swiss franc (SF).
‘Introductory Econometrics for Finance’ © Chris Brooks 2013 21
An Example of the Use of Bootstrapping to Calculate
Capital Risk Requirements (Hsieh, 1993)
• The first step in the analysis is to find a model that describes the main features
of the data that can be used to construct the bootstraps.
• Hsieh shows that his fx returns have no linear or non-linear structure in the
mean, but they have evidence of non-linear structure in the variance.
• What models are examples of this type? The GARCH family.
• Hsieh uses EGARCH and Autoregressive Volatility models.
‘Introductory Econometrics for Finance’ © Chris Brooks 2013 22
An Example of the Use of Bootstrapping to Calculate
Capital Risk Requirements (Hsieh, 1993)
• The standardised residuals (e.g. for the EGARCH model) are tested
for non-randomness; little evidence of any structure is found.
• We can thus sample with replacement from these standardised residuals.
• From these, we can simulate a set of future paths for and then yt by
bootstrapping from vt= ( ).
• Hsieh simulates the future path of returns for 180 days after the end of the
estimation sample.
t
t
u 
ˆ
/
ˆ
t
t
u 
ˆ
/
ˆ
2
t

‘Introductory Econometrics for Finance’ © Chris Brooks 2013 23
Calculating the Capital Risk Requirements
 In each case, the maximum drawdown (loss) can be calculated over a given
holding period by
Q= (P0 - P1 )  number of contracts
where P0 is the initial value of the position, and P1 is the lowest simulated
price (for a long position) or highest simulated price (for a short position)
over the holding period.
• Hsieh repeats this procedure 2,000 times to get 2,000 maximum losses.
 The maximum loss is calculated assuming holding periods of 1, 5, 10, 15,
20, 25, 30, 60, 90 and 180 days.
 It is assumed that the futures position is opened on the final day of the
sample used to estimate the models, 9 March 1990.
• Then he takes the 90th percentile of these 2000 maximum losses to get the
amount of capital required to cover losses on 90% of days.
‘Introductory Econometrics for Finance’ © Chris Brooks 2013 24
Minimum Capital Risk Requirements for
Currency Futures as a Percentage of the
Initial Value of the Position
Long Position Short Position
No. of days AR Unconditional
density
EGARCH AR Unconditional
density
EGARCH
BP 1 0.73 0.91 0.93 0.80 0.98 1.05
5 1.90 2.30 2.61 2.18 2.76 3.00
10 2.83 3.27 4.19 3.38 4.22 4.88
15 3.54 3.94 5.72 4.45 5.48 6.67
20 4.10 4.61 6.96 5.24 6.33 8.43
25 4.59 5.15 8.25 6.20 7.36 10.46
30 5.02 5.58 9.08 7.11 8.33 12.06
60 7.24 7.44 14.50 11.64 12.87 20.71
90 8.74 8.70 17.91 15.45 16.90 28.03
180 11.38 10.67 24.25 25.81 27.36 48.02
DM 1 0.72 0.87 0.83 0.89 1.00 0.95
5 1.89 2.18 2.34 2.23 2.70 2.91
10 2.77 3.14 3.93 3.40 4.12 5.03
15 3.52 3.86 5.37 4.36 5.30 6.92
20 4.05 4.45 6.54 5.19 6.14 8.91
25 4.55 4.90 7.86 6.14 7.21 10.69
30 4.93 5.37 8.75 7.02 7.88 12.36
60 7.16 7.24 13.14 11.36 12.38 20.86
90 8.87 8.39 16.06 14.68 16.16 27.75
180 11.38 10.35 21.69 24.25 26.25 45.68
JY 1 0.56 0.74 0.72 0.68 0.87 0.86
5 1.61 1.99 2.22 1.92 2.36 2.73
10 2.59 2.82 3.46 3.06 3.53 4.41
15 3.30 3.46 4.37 4.11 4.60 5.79
20 3.95 4.10 5.09 5.13 5.45 6.77
25 4.42 4.58 5.78 5.91 6.30 7.98
30 4.95 4.92 6.34 6.58 6.85 8.81
60 6.99 6.84 8.72 10.53 10.74 13.58
90 8.43 8.00 10.51 13.61 14.00 17.63
180 10.97 10.27 13.99 21.86 22.21 27.39
SF 1 0.82 0.97 0.89 0.93 1.12 0.98
5 1.99 2.51 2.48 2.23 2.93 2.98
10 2.87 3.60 4.12 3.37 4.53 5.09
15 3.67 4.35 5.60 4.22 5.67 7.03
20 4.24 5.10 6.82 5.09 6.69 8.86
25 4.81 5.65 8.12 5.90 7.77 10.93
30 5.23 6.20 9.12 6.70 8.47 12.50
60 7.69 8.41 13.73 10.55 13.10 21.27
90 9.23 9.93 16.89 13.60 17.06 27.80
180 12.18 12.57 22.92 21.72 27.45 45.47
Source: Hsieh (1993). Reprinted with the permission of the University of Washington, School of
Business Administration.
‘Introductory Econometrics for Finance’ © Chris Brooks 2013 25
Minimum Capital Risk Requirements:
Discussion
• The MCRRs derived from bootstrapping the price changes themselves (the
“unconditional approach”) are in most cases higher than those generated
from the other two methods, especially at short investment horizons.
• As the holding period increases from 1 towards 180 days, the MCRR
estimates from the ARV model converge upon those of the unconditional
densities. On the other hand, those of the EGARCH model do not
converge, even after 180 days
• It can also be observed that the MCRRs for short positions are larger than
those of comparative long positions.
‘Introductory Econometrics for Finance’ © Chris Brooks 2013 26
Problems with Simulation (including bootstrapping)
1. It might be computationally expensive
2. The results might not be precise
3. The results are often hard to replicate
4. Simulation results are experiment-specific.
• To conclude, simulation is an extremely useful tool that can be applied
to an enormous variety of problems. The technique has grown in
popularity over the past decade, and continues to do so. However, like
all tools, it is dangerous in the wrong hands.

More Related Content

What's hot

Econometria Jose Nieves
Econometria Jose NievesEconometria Jose Nieves
Econometria Jose Nievespaquitootd
 
Chapter 19 decision-making under risk
Chapter 19   decision-making under riskChapter 19   decision-making under risk
Chapter 19 decision-making under riskBich Lien Pham
 
Business mathematics gmb 105 pres
Business mathematics gmb 105 presBusiness mathematics gmb 105 pres
Business mathematics gmb 105 presWilliam Masvinu
 
Lesson 2 stationary_time_series
Lesson 2 stationary_time_seriesLesson 2 stationary_time_series
Lesson 2 stationary_time_seriesankit_ppt
 
What is Descriptive Statistics and How Do You Choose the Right One for Enterp...
What is Descriptive Statistics and How Do You Choose the Right One for Enterp...What is Descriptive Statistics and How Do You Choose the Right One for Enterp...
What is Descriptive Statistics and How Do You Choose the Right One for Enterp...Smarten Augmented Analytics
 
Quantitative methods
Quantitative methodsQuantitative methods
Quantitative methodsHimanshu Shah
 
Chapter 04
Chapter 04Chapter 04
Chapter 04bmcfad01
 
Managerial Economics - Demand Estimation (regression analysis)
Managerial Economics - Demand Estimation (regression analysis)Managerial Economics - Demand Estimation (regression analysis)
Managerial Economics - Demand Estimation (regression analysis)JooneEltanal
 
What is ARIMAX Forecasting and How is it Used for Enterprise Analysis?
What is ARIMAX Forecasting and How is it Used for Enterprise Analysis?What is ARIMAX Forecasting and How is it Used for Enterprise Analysis?
What is ARIMAX Forecasting and How is it Used for Enterprise Analysis?Smarten Augmented Analytics
 
Beyond Classification and Ranking: Constrained Optimization of the ROI
Beyond Classification and Ranking: Constrained Optimization of the ROIBeyond Classification and Ranking: Constrained Optimization of the ROI
Beyond Classification and Ranking: Constrained Optimization of the ROInkaf61
 
What is Hierarchical Clustering and How Can an Organization Use it to Analyze...
What is Hierarchical Clustering and How Can an Organization Use it to Analyze...What is Hierarchical Clustering and How Can an Organization Use it to Analyze...
What is Hierarchical Clustering and How Can an Organization Use it to Analyze...Smarten Augmented Analytics
 
Probability distribution in R
Probability distribution in RProbability distribution in R
Probability distribution in RAlichy Sowmya
 
What is Isotonic Regression and How Can a Business Utilize it to Analyze Data?
What is Isotonic Regression and How Can a Business Utilize it to Analyze Data?What is Isotonic Regression and How Can a Business Utilize it to Analyze Data?
What is Isotonic Regression and How Can a Business Utilize it to Analyze Data?Smarten Augmented Analytics
 

What's hot (20)

Ch2 slides
Ch2 slidesCh2 slides
Ch2 slides
 
Ch5 slides
Ch5 slidesCh5 slides
Ch5 slides
 
Ch9 slides
Ch9 slidesCh9 slides
Ch9 slides
 
Ch6 slides
Ch6 slidesCh6 slides
Ch6 slides
 
Ch8 slides
Ch8 slidesCh8 slides
Ch8 slides
 
Econometria Jose Nieves
Econometria Jose NievesEconometria Jose Nieves
Econometria Jose Nieves
 
Chapter 19 decision-making under risk
Chapter 19   decision-making under riskChapter 19   decision-making under risk
Chapter 19 decision-making under risk
 
Business mathematics gmb 105 pres
Business mathematics gmb 105 presBusiness mathematics gmb 105 pres
Business mathematics gmb 105 pres
 
Lesson 2 stationary_time_series
Lesson 2 stationary_time_seriesLesson 2 stationary_time_series
Lesson 2 stationary_time_series
 
What is Descriptive Statistics and How Do You Choose the Right One for Enterp...
What is Descriptive Statistics and How Do You Choose the Right One for Enterp...What is Descriptive Statistics and How Do You Choose the Right One for Enterp...
What is Descriptive Statistics and How Do You Choose the Right One for Enterp...
 
Quantitative methods
Quantitative methodsQuantitative methods
Quantitative methods
 
Evaluation
EvaluationEvaluation
Evaluation
 
Chapter 04
Chapter 04Chapter 04
Chapter 04
 
Managerial Economics - Demand Estimation (regression analysis)
Managerial Economics - Demand Estimation (regression analysis)Managerial Economics - Demand Estimation (regression analysis)
Managerial Economics - Demand Estimation (regression analysis)
 
Chap011
Chap011Chap011
Chap011
 
What is ARIMAX Forecasting and How is it Used for Enterprise Analysis?
What is ARIMAX Forecasting and How is it Used for Enterprise Analysis?What is ARIMAX Forecasting and How is it Used for Enterprise Analysis?
What is ARIMAX Forecasting and How is it Used for Enterprise Analysis?
 
Beyond Classification and Ranking: Constrained Optimization of the ROI
Beyond Classification and Ranking: Constrained Optimization of the ROIBeyond Classification and Ranking: Constrained Optimization of the ROI
Beyond Classification and Ranking: Constrained Optimization of the ROI
 
What is Hierarchical Clustering and How Can an Organization Use it to Analyze...
What is Hierarchical Clustering and How Can an Organization Use it to Analyze...What is Hierarchical Clustering and How Can an Organization Use it to Analyze...
What is Hierarchical Clustering and How Can an Organization Use it to Analyze...
 
Probability distribution in R
Probability distribution in RProbability distribution in R
Probability distribution in R
 
What is Isotonic Regression and How Can a Business Utilize it to Analyze Data?
What is Isotonic Regression and How Can a Business Utilize it to Analyze Data?What is Isotonic Regression and How Can a Business Utilize it to Analyze Data?
What is Isotonic Regression and How Can a Business Utilize it to Analyze Data?
 

Similar to Ch13 slides

Statr session 23 and 24
Statr session 23 and 24Statr session 23 and 24
Statr session 23 and 24Ruru Chowdhury
 
L1 flashcards quantitative methods (ss3)
L1 flashcards quantitative methods (ss3)L1 flashcards quantitative methods (ss3)
L1 flashcards quantitative methods (ss3)analystbuddy
 
Estimating default risk in fund structures
Estimating default risk in fund structuresEstimating default risk in fund structures
Estimating default risk in fund structuresIFMR
 
Study on Application of Ensemble learning on Credit Scoring
Study on Application of Ensemble learning on Credit ScoringStudy on Application of Ensemble learning on Credit Scoring
Study on Application of Ensemble learning on Credit Scoringharmonylab
 
Probability distribution
Probability distributionProbability distribution
Probability distributionPunit Raut
 
_1ab41a6be58a91bb70623682c706d9fe_Module-3-Probabilistic-models.pdf
_1ab41a6be58a91bb70623682c706d9fe_Module-3-Probabilistic-models.pdf_1ab41a6be58a91bb70623682c706d9fe_Module-3-Probabilistic-models.pdf
_1ab41a6be58a91bb70623682c706d9fe_Module-3-Probabilistic-models.pdfAdityaKumarGupta21
 
Monte Carlo Simulation lecture.pdf
Monte Carlo Simulation lecture.pdfMonte Carlo Simulation lecture.pdf
Monte Carlo Simulation lecture.pdfWellingtonIsraelQuim
 
Machine learning Investigative Reporting NorthBaySolutions.pdf
Machine learning Investigative Reporting NorthBaySolutions.pdfMachine learning Investigative Reporting NorthBaySolutions.pdf
Machine learning Investigative Reporting NorthBaySolutions.pdfssusera5352a2
 
Normality_assumption_for_the_log_re.pdf
Normality_assumption_for_the_log_re.pdfNormality_assumption_for_the_log_re.pdf
Normality_assumption_for_the_log_re.pdfVasudha Singh
 
Monte Carlo Simulations (UC Berkeley School of Information; July 11, 2019)
Monte Carlo Simulations (UC Berkeley School of Information; July 11, 2019)Monte Carlo Simulations (UC Berkeley School of Information; July 11, 2019)
Monte Carlo Simulations (UC Berkeley School of Information; July 11, 2019)Ivan Corneillet
 
604_multiplee.ppt
604_multiplee.ppt604_multiplee.ppt
604_multiplee.pptRufesh
 
Statr session 15 and 16
Statr session 15 and 16Statr session 15 and 16
Statr session 15 and 16Ruru Chowdhury
 
Probability Distributions
Probability Distributions Probability Distributions
Probability Distributions Anthony J. Evans
 
205250 crystall ball
205250 crystall ball205250 crystall ball
205250 crystall ballp6academy
 
Andres hernandez ai_machine_learning_london_nov2017
Andres hernandez ai_machine_learning_london_nov2017Andres hernandez ai_machine_learning_london_nov2017
Andres hernandez ai_machine_learning_london_nov2017Andres Hernandez
 

Similar to Ch13 slides (20)

Statr session 23 and 24
Statr session 23 and 24Statr session 23 and 24
Statr session 23 and 24
 
L1 flashcards quantitative methods (ss3)
L1 flashcards quantitative methods (ss3)L1 flashcards quantitative methods (ss3)
L1 flashcards quantitative methods (ss3)
 
Estimating default risk in fund structures
Estimating default risk in fund structuresEstimating default risk in fund structures
Estimating default risk in fund structures
 
Study on Application of Ensemble learning on Credit Scoring
Study on Application of Ensemble learning on Credit ScoringStudy on Application of Ensemble learning on Credit Scoring
Study on Application of Ensemble learning on Credit Scoring
 
Ch9_slides.ppt
Ch9_slides.pptCh9_slides.ppt
Ch9_slides.ppt
 
Probability distribution
Probability distributionProbability distribution
Probability distribution
 
_1ab41a6be58a91bb70623682c706d9fe_Module-3-Probabilistic-models.pdf
_1ab41a6be58a91bb70623682c706d9fe_Module-3-Probabilistic-models.pdf_1ab41a6be58a91bb70623682c706d9fe_Module-3-Probabilistic-models.pdf
_1ab41a6be58a91bb70623682c706d9fe_Module-3-Probabilistic-models.pdf
 
Monte Carlo Simulation lecture.pdf
Monte Carlo Simulation lecture.pdfMonte Carlo Simulation lecture.pdf
Monte Carlo Simulation lecture.pdf
 
Machine learning Investigative Reporting NorthBaySolutions.pdf
Machine learning Investigative Reporting NorthBaySolutions.pdfMachine learning Investigative Reporting NorthBaySolutions.pdf
Machine learning Investigative Reporting NorthBaySolutions.pdf
 
Normality_assumption_for_the_log_re.pdf
Normality_assumption_for_the_log_re.pdfNormality_assumption_for_the_log_re.pdf
Normality_assumption_for_the_log_re.pdf
 
Ch2_slides.ppt
Ch2_slides.pptCh2_slides.ppt
Ch2_slides.ppt
 
Monte Carlo Simulations (UC Berkeley School of Information; July 11, 2019)
Monte Carlo Simulations (UC Berkeley School of Information; July 11, 2019)Monte Carlo Simulations (UC Berkeley School of Information; July 11, 2019)
Monte Carlo Simulations (UC Berkeley School of Information; July 11, 2019)
 
604_multiplee.ppt
604_multiplee.ppt604_multiplee.ppt
604_multiplee.ppt
 
Statr session 15 and 16
Statr session 15 and 16Statr session 15 and 16
Statr session 15 and 16
 
Bootstrap.ppt
Bootstrap.pptBootstrap.ppt
Bootstrap.ppt
 
Probability Distributions
Probability Distributions Probability Distributions
Probability Distributions
 
205250 crystall ball
205250 crystall ball205250 crystall ball
205250 crystall ball
 
Andres hernandez ai_machine_learning_london_nov2017
Andres hernandez ai_machine_learning_london_nov2017Andres hernandez ai_machine_learning_london_nov2017
Andres hernandez ai_machine_learning_london_nov2017
 
Sampling theory
Sampling theorySampling theory
Sampling theory
 
Ch5_slides.ppt
Ch5_slides.pptCh5_slides.ppt
Ch5_slides.ppt
 

Recently uploaded

Borderless Access - Global Panel book-unlock 2024
Borderless Access - Global Panel book-unlock 2024Borderless Access - Global Panel book-unlock 2024
Borderless Access - Global Panel book-unlock 2024Borderless Access
 
Borderless Access - Global B2B Panel book-unlock 2024
Borderless Access - Global B2B Panel book-unlock 2024Borderless Access - Global B2B Panel book-unlock 2024
Borderless Access - Global B2B Panel book-unlock 2024Borderless Access
 
Michael Vidyakin: Introduction to PMO (UA)
Michael Vidyakin: Introduction to PMO (UA)Michael Vidyakin: Introduction to PMO (UA)
Michael Vidyakin: Introduction to PMO (UA)Lviv Startup Club
 
Plano de marketing- inglês em formato ppt
Plano de marketing- inglês  em formato pptPlano de marketing- inglês  em formato ppt
Plano de marketing- inglês em formato pptElizangelaSoaresdaCo
 
Amazon ppt.pptx Amazon about the company
Amazon ppt.pptx Amazon about the companyAmazon ppt.pptx Amazon about the company
Amazon ppt.pptx Amazon about the companyfashionfound007
 
BCE24 | Virtual Brand Ambassadors: Making Brands Personal - John Meulemans
BCE24 | Virtual Brand Ambassadors: Making Brands Personal - John MeulemansBCE24 | Virtual Brand Ambassadors: Making Brands Personal - John Meulemans
BCE24 | Virtual Brand Ambassadors: Making Brands Personal - John MeulemansBBPMedia1
 
Ethical stalking by Mark Williams. UpliftLive 2024
Ethical stalking by Mark Williams. UpliftLive 2024Ethical stalking by Mark Williams. UpliftLive 2024
Ethical stalking by Mark Williams. UpliftLive 2024Winbusinessin
 
Borderless Access - Global Panel book-unlock 2024
Borderless Access - Global Panel book-unlock 2024Borderless Access - Global Panel book-unlock 2024
Borderless Access - Global Panel book-unlock 2024Borderless Access
 
MoneyBridge Pitch Deck - Investor Presentation
MoneyBridge Pitch Deck - Investor PresentationMoneyBridge Pitch Deck - Investor Presentation
MoneyBridge Pitch Deck - Investor Presentationbaron83
 
Fabric RFID Wristbands in Ireland for Events and Festivals
Fabric RFID Wristbands in Ireland for Events and FestivalsFabric RFID Wristbands in Ireland for Events and Festivals
Fabric RFID Wristbands in Ireland for Events and FestivalsWristbands Ireland
 
Live-Streaming in the Music Industry Webinar
Live-Streaming in the Music Industry WebinarLive-Streaming in the Music Industry Webinar
Live-Streaming in the Music Industry WebinarNathanielSchmuck
 
PDT 89 - $1.4M - Seed - Plantee Innovations.pdf
PDT 89 - $1.4M - Seed - Plantee Innovations.pdfPDT 89 - $1.4M - Seed - Plantee Innovations.pdf
PDT 89 - $1.4M - Seed - Plantee Innovations.pdfHajeJanKamps
 
NASA CoCEI Scaling Strategy - November 2023
NASA CoCEI Scaling Strategy - November 2023NASA CoCEI Scaling Strategy - November 2023
NASA CoCEI Scaling Strategy - November 2023Steve Rader
 
A flour, rice and Suji company in Jhang.
A flour, rice and Suji company in Jhang.A flour, rice and Suji company in Jhang.
A flour, rice and Suji company in Jhang.mcshagufta46
 
Cracking the ‘Business Process Outsourcing’ Code Main.pptx
Cracking the ‘Business Process Outsourcing’ Code Main.pptxCracking the ‘Business Process Outsourcing’ Code Main.pptx
Cracking the ‘Business Process Outsourcing’ Code Main.pptxWorkforce Group
 
ISONIKE Ltd Accreditation for the Conformity Assessment and Certification of ...
ISONIKE Ltd Accreditation for the Conformity Assessment and Certification of ...ISONIKE Ltd Accreditation for the Conformity Assessment and Certification of ...
ISONIKE Ltd Accreditation for the Conformity Assessment and Certification of ...ISONIKELtd
 
Lecture_6.pptx English speaking easyb to
Lecture_6.pptx English speaking easyb toLecture_6.pptx English speaking easyb to
Lecture_6.pptx English speaking easyb toumarfarooquejamali32
 
The Vietnam Believer Newsletter_MARCH 25, 2024_EN_Vol. 003
The Vietnam Believer Newsletter_MARCH 25, 2024_EN_Vol. 003The Vietnam Believer Newsletter_MARCH 25, 2024_EN_Vol. 003
The Vietnam Believer Newsletter_MARCH 25, 2024_EN_Vol. 003believeminhh
 
HELENE HECKROTTE'S PROFESSIONAL PORTFOLIO.pptx
HELENE HECKROTTE'S PROFESSIONAL PORTFOLIO.pptxHELENE HECKROTTE'S PROFESSIONAL PORTFOLIO.pptx
HELENE HECKROTTE'S PROFESSIONAL PORTFOLIO.pptxHelene Heckrotte
 

Recently uploaded (20)

Borderless Access - Global Panel book-unlock 2024
Borderless Access - Global Panel book-unlock 2024Borderless Access - Global Panel book-unlock 2024
Borderless Access - Global Panel book-unlock 2024
 
Borderless Access - Global B2B Panel book-unlock 2024
Borderless Access - Global B2B Panel book-unlock 2024Borderless Access - Global B2B Panel book-unlock 2024
Borderless Access - Global B2B Panel book-unlock 2024
 
Michael Vidyakin: Introduction to PMO (UA)
Michael Vidyakin: Introduction to PMO (UA)Michael Vidyakin: Introduction to PMO (UA)
Michael Vidyakin: Introduction to PMO (UA)
 
Plano de marketing- inglês em formato ppt
Plano de marketing- inglês  em formato pptPlano de marketing- inglês  em formato ppt
Plano de marketing- inglês em formato ppt
 
Amazon ppt.pptx Amazon about the company
Amazon ppt.pptx Amazon about the companyAmazon ppt.pptx Amazon about the company
Amazon ppt.pptx Amazon about the company
 
BCE24 | Virtual Brand Ambassadors: Making Brands Personal - John Meulemans
BCE24 | Virtual Brand Ambassadors: Making Brands Personal - John MeulemansBCE24 | Virtual Brand Ambassadors: Making Brands Personal - John Meulemans
BCE24 | Virtual Brand Ambassadors: Making Brands Personal - John Meulemans
 
Ethical stalking by Mark Williams. UpliftLive 2024
Ethical stalking by Mark Williams. UpliftLive 2024Ethical stalking by Mark Williams. UpliftLive 2024
Ethical stalking by Mark Williams. UpliftLive 2024
 
Borderless Access - Global Panel book-unlock 2024
Borderless Access - Global Panel book-unlock 2024Borderless Access - Global Panel book-unlock 2024
Borderless Access - Global Panel book-unlock 2024
 
MoneyBridge Pitch Deck - Investor Presentation
MoneyBridge Pitch Deck - Investor PresentationMoneyBridge Pitch Deck - Investor Presentation
MoneyBridge Pitch Deck - Investor Presentation
 
WAM Corporate Presentation Mar 25 2024.pdf
WAM Corporate Presentation Mar 25 2024.pdfWAM Corporate Presentation Mar 25 2024.pdf
WAM Corporate Presentation Mar 25 2024.pdf
 
Fabric RFID Wristbands in Ireland for Events and Festivals
Fabric RFID Wristbands in Ireland for Events and FestivalsFabric RFID Wristbands in Ireland for Events and Festivals
Fabric RFID Wristbands in Ireland for Events and Festivals
 
Live-Streaming in the Music Industry Webinar
Live-Streaming in the Music Industry WebinarLive-Streaming in the Music Industry Webinar
Live-Streaming in the Music Industry Webinar
 
PDT 89 - $1.4M - Seed - Plantee Innovations.pdf
PDT 89 - $1.4M - Seed - Plantee Innovations.pdfPDT 89 - $1.4M - Seed - Plantee Innovations.pdf
PDT 89 - $1.4M - Seed - Plantee Innovations.pdf
 
NASA CoCEI Scaling Strategy - November 2023
NASA CoCEI Scaling Strategy - November 2023NASA CoCEI Scaling Strategy - November 2023
NASA CoCEI Scaling Strategy - November 2023
 
A flour, rice and Suji company in Jhang.
A flour, rice and Suji company in Jhang.A flour, rice and Suji company in Jhang.
A flour, rice and Suji company in Jhang.
 
Cracking the ‘Business Process Outsourcing’ Code Main.pptx
Cracking the ‘Business Process Outsourcing’ Code Main.pptxCracking the ‘Business Process Outsourcing’ Code Main.pptx
Cracking the ‘Business Process Outsourcing’ Code Main.pptx
 
ISONIKE Ltd Accreditation for the Conformity Assessment and Certification of ...
ISONIKE Ltd Accreditation for the Conformity Assessment and Certification of ...ISONIKE Ltd Accreditation for the Conformity Assessment and Certification of ...
ISONIKE Ltd Accreditation for the Conformity Assessment and Certification of ...
 
Lecture_6.pptx English speaking easyb to
Lecture_6.pptx English speaking easyb toLecture_6.pptx English speaking easyb to
Lecture_6.pptx English speaking easyb to
 
The Vietnam Believer Newsletter_MARCH 25, 2024_EN_Vol. 003
The Vietnam Believer Newsletter_MARCH 25, 2024_EN_Vol. 003The Vietnam Believer Newsletter_MARCH 25, 2024_EN_Vol. 003
The Vietnam Believer Newsletter_MARCH 25, 2024_EN_Vol. 003
 
HELENE HECKROTTE'S PROFESSIONAL PORTFOLIO.pptx
HELENE HECKROTTE'S PROFESSIONAL PORTFOLIO.pptxHELENE HECKROTTE'S PROFESSIONAL PORTFOLIO.pptx
HELENE HECKROTTE'S PROFESSIONAL PORTFOLIO.pptx
 

Ch13 slides

  • 1. ‘Introductory Econometrics for Finance’ © Chris Brooks 2013 1 Chapter 13 Simulation Methods
  • 2. ‘Introductory Econometrics for Finance’ © Chris Brooks 2013 2 Simulation Methods in Econometrics and Finance • The Monte Carlo Method This technique is often used in econometrics when the properties of a particular estimation method are not known. Examples from econometrics include: 1. Quantifying the simultaneous equations bias induced by treating an endogenous variable as exogenous. 2. Determining the appropriate critical values for a Dickey-Fuller test. 3. Determining what effect heteroscedasticity has upon the size and power of a test for autocorrelation. Simulations are also often extremely useful tools in finance, in situations such as: 1. The pricing of exotic options, where an analytical pricing formula is unavailable. 2. Determining the effect on financial markets of substantial changes in the macroeconomic environment. 3. “Stress-testing” risk management models to determine whether they generate capital requirements sufficient to cover losses in all situations.
  • 3. ‘Introductory Econometrics for Finance’ © Chris Brooks 2013 3 Conducting Simulations Experiments • In all of the above examples, the basic way that such a study would be conducted (with additional steps and modifications where necessary) is as follows. 1. Generate the data according to the desired data generating process (DGP), with the errors being drawn from some given distribution. 2. Do the regression and calculate the test statistic. 3. Save the test statistic or whatever parameter is of interest. 4. Go back to stage 1 and repeat N times. • N is the number of replications, and should be as large as is feasible. • The central idea behind Monte Carlo is that of random sampling from a given distribution. • Therefore, if the number of replications is set too small, the results will be sensitive to “odd” combinations of random number draws.
  • 4. ‘Introductory Econometrics for Finance’ © Chris Brooks 2013 4 Random Number Generation • We generate numbers that are a continuous uniform(0,1) according to the following recursion: yi+1 = (a yi + c) modulo m then Ri+1 = yi+1 / m for i = 0, 1,...,T for T random draws, where y0 is the seed (the initial value of y), a is a multiplier and c is an increment. • An example of a discrete uniform number generator would be a die or a roulette wheel. Computers generate continuous uniform random number draws. • These are pseudo-random numbers • The U(0,1) draws can be transformed into other standard distributions (e.g normal, t, etc).
  • 5. ‘Introductory Econometrics for Finance’ © Chris Brooks 2013 5 Variance Reduction Techniques • The sampling variation in a Monte Carlo study is measured by the standard error estimate, denoted Sx: where var(x) is the variance of the estimates of the quantity of interest over the N replications • In order to achieve acceptable accuracy, the number of replications may have to be set at an infeasibly high level. • An alternative way to reduce Monte Carlo sampling error is to use a variance reduction technique • Two of the intuitively simplest and most widely used methods are antithetic variates and control variates. N x Sx ) var( 
  • 6. ‘Introductory Econometrics for Finance’ © Chris Brooks 2013 6 Antithetic Variates • One reason that a lot of replications are typically required of a Monte Carlo study is that it may take many, repeated sets of sampling before the entire probability space is adequately covered. • What is really required is for successive replications to cover different parts of the probability space. • The antithetic variate technique involves taking the complement of a set of random numbers and running a parallel simulation on those. • For each replication conducted using random draws ut, an additional replication with errors given by - ut is also used. • Suppose that the average value of the parameter of interest across 2 sets of Monte Carlo replications is given by where x1 and x2 are the average parameter values for replications set 1 and 2 respectively. 2 / ) ( 2 1 x x x  
  • 7. ‘Introductory Econometrics for Finance’ © Chris Brooks 2013 7 Antithetic Variates (cont’d) • The variance of will be given by: • If no antithetic variates are used: • However, the use of antithetic variates would lead the covariance to be negative, and therefore the Monte Carlo sampling error to be reduced.  . ) , cov( 2 ) var( ) var( 4 1 ) var( 2 1 2 1 x x x x x     . ) var( ) var( 4 1 ) var( 2 1 x x x  
  • 8. ‘Introductory Econometrics for Finance’ © Chris Brooks 2013 8 Control Variates • The application of control variates involves employing a variable similar to that used in the simulation, but whose properties are known prior to the simulation. • Denote the variable whose properties are known by y, and that whose properties are under simulation by x. • The simulation is conducted on x and also on y, with the same sets of random number draws being employed in both cases.
  • 9. ‘Introductory Econometrics for Finance’ © Chris Brooks 2013 9 Control Variates (cont’d) • Denoting the simulation estimates of x and y using hats, a new estimate of x can be derived from: • Again, it can be shown that the Monte Carlo sampling error of this quantity, x*, will typically be lower than that of x. • In fact, it can be shown that control variates will reduce the Monte Carlo variance if • For example, if the topic of interest is the pricing of an Asian option, the control variate approach would be given by PA* = ( ) + PBS ) ˆ ˆ ( * y x y x    ) ˆ ( ) ˆ ( 2 1 ) ˆ , ˆ ( x Var y Var y x Corr  BS A P P ˆ ˆ 
  • 10. ‘Introductory Econometrics for Finance’ © Chris Brooks 2013 10 • Recall, that the equation for a Dickey Fuller test applied to some series yt is the regression yt =  yt-1 + ut • The test is one of H0:  = 1 against H1:   1. The relevant test statistic is given by • Under the null hypothesis of a unit root, the test statistic does not follow a standard distribution, and therefore a simulation would be required to obtain the relevant critical values. An Example of the use of Monte Carlo Simulation in Econometrics: Deriving a Set of Critical Values for a Dickey-Fuller Test ) ˆ ( 1 ˆ    SE  
  • 11. ‘Introductory Econometrics for Finance’ © Chris Brooks 2013 11 An Example of the use of Monte Carlo Simulation in Econometrics: Deriving a Set of Critical Values for a Dickey-Fuller Test (cont’d) The simulation would be conducted in the following steps: • Construct the data generating process under the null hypothesis – that is, obtain a series for y that follows a unit root process. This would be done by – Draw a series of length T, the required number of observations, from a normal distribution. This will be the error series, so that ut  N(0,1). – Assume a first value for y, i.e. a value for y at time t = 0. – Construct the series for y recursively, starting with y1, y2, and so on: » y1 = y0 + u1 » y2 = y1 + u2 » y3 = y2 + u3 » … » yT = yT-1 + uT
  • 12. ‘Introductory Econometrics for Finance’ © Chris Brooks 2013 12 An Example of the use of Monte Carlo Simulation in Econometrics: Deriving a Set of Critical Values for a Dickey-Fuller Test (cont’d) – Calculate the test statistic, . – Repeat steps 1 and 2 N times to obtain N replications of the experiment. A distribution of values for  will be obtained across the replications. – Order the set of N values of  from the lowest to the highest. The relevant 5% critical value will be the 5th percentile of this distribution.
  • 13. ‘Introductory Econometrics for Finance’ © Chris Brooks 2013 13 An Example of how to simulate the Price of a Financial Option • Although the example presented here is for a simple plain vanilla call option, the same basic approach would be used to value an exotic option. The steps are: – Specify a data generating process for the underlying asset. A random walk with drift model is usually assumed. Specify also the assumed size of the drift component and the assumed size of the volatility parameter. Specify also a strike price K, and a time to maturity, T. – Draw a series of length T, the required number of observations for the life of the option, from a normal distribution. This will be the error series, so that ut  N(0,1). – Form a series of observations of length T on the underlying asset.
  • 14. ‘Introductory Econometrics for Finance’ © Chris Brooks 2013 14 An Example of how to simulate the Price of a Financial Option (cont’d) – Observe the price of the underlying asset at maturity observation T. For a call option, if the value of the underlying asset on maturity date, PT < K, the option expires worthless for this replication. If the value of the underlying asset on maturity date, PT > K, the option expires in the money, and has value on that date equal to PT - K, which should be discounted back to the present day using the risk free rate. – Repeat steps 1 to 4 N times, and take the average value of the option over the N replications. This average will be the price of the option. • The data for the underlying can be generated according to a more empirically realistic process.
  • 15. ‘Introductory Econometrics for Finance’ © Chris Brooks 2013 15 Bootstrapping • In finance, the bootstrap is often used instead of a pure simulation. • This is mainly because financial asset returns do not follow the standard statistical distributions that are used in simulations. • Bootstrapping provides an alternative where by definition, the properties of the artificially constructed series will be similar to those of the actual series. • Bootstrapping is used to obtain a description of the properties of empirical estimators by using the sample data points themselves. • Bootstrapping is similar to pure simulation but the former involves sampling from real data rather than creating new data. • Suppose we have a sample of data, y = y1, y2, ..., yT and we want to estimate some parameter . • We can get an approximation to the statistical properties of by studying a sample of bootstrap estimators. • We do this by taking N samples of size T with replacement from y and re- calculating with each new sample. • We then get a series of estimates.  T    
  • 16. ‘Introductory Econometrics for Finance’ © Chris Brooks 2013 16 Bootstrapping (cont’d) • Advantage of bootstrapping: it allows the researcher to make inferences without making strong distributional assumptions. • Instead of imposing a shape on the sampling distribution of the ’s, bootstrapping involves empirically estimating the sampling distribution by looking at the variation of the statistic within sample. • We draw a set of new samples with replacement from the sample and calculate the test statistic of interest from each of these. • Call the test statistics calculated from the new samples *. • The samples are likely to be quite different from each other. • We thus get a distribution of *’s.      
  • 17. ‘Introductory Econometrics for Finance’ © Chris Brooks 2013 17 An Example of the Use of Bootstrapping in a Regression Context • Consider a standard regression model, y =  X + u . • The regression model can be bootstrapped in two ways. 1. Resample the Data • Take the data, and sample the entire rows corresponding to observation i together. The steps would then be 1. Generate a sample of size T from the original data by sampling with replacement from the whole rows taken together. 2. Calculate , the coefficient matrix for this bootstrap sample. 3. Go back to stage 1 and generate another sample of size T. Repeat this a total of N times. • Problem with this approach is that we are sampling from the regressors.  * 
  • 18. ‘Introductory Econometrics for Finance’ © Chris Brooks 2013 18 An Example of the Use of Bootstrapping in a Regression Context (cont’d) • The only random influence in the regression is the errors, u, so why not just bootstrap from those? 2. Resampling from the Residuals The steps are 1. Estimate the model on the actual data, obtain the fitted values , and calculate the residuals, . 2. Take a sample of size T with replacement from these residuals (and call these ), and generate a bootstrapped dependent variable: 3. Then regress the original X data on this new dependent variable to get a bootstrapped coefficient vector, . 4. Go back to stage 2, and repeat a total of N times.  y  u * u y y u *   *    * 
  • 19. ‘Introductory Econometrics for Finance’ © Chris Brooks 2013 19 Situations where the Bootstrap will be Ineffective • If there are extreme outliers in the data, the conclusions of the bootstrap may be affected. • Use of the bootstrap implicitly assumes that the data from which the sampling is done are independent. This would not hold, for example, if the data were autocorrelated.
  • 20. ‘Introductory Econometrics for Finance’ © Chris Brooks 2013 20 An Example of the Use of Bootstrapping to Calculate Capital Risk Requirements (Hsieh, 1993) Financial Motivation • An important use of bootstrapping in a financial context is in the calculation of value at risk. VaR gives the amount in financial terms that is expected to be lost with a given probability over a given time interval. • E.g. 95%, 10-day VaR = $100m • How do we calculate, say, the amount of capital required to cover 95% of the daily losses on a particular position? • This is a forecasting problem considered by Hsieh (1993). • Data: daily log returns on foreign currency (against the US dollar) futures series from 22 February 1985 until 9 March 1990 (1275 observations) for the British pound (denoted BP), the German mark (GM), the Japanese yen (JY), and the Swiss franc (SF).
  • 21. ‘Introductory Econometrics for Finance’ © Chris Brooks 2013 21 An Example of the Use of Bootstrapping to Calculate Capital Risk Requirements (Hsieh, 1993) • The first step in the analysis is to find a model that describes the main features of the data that can be used to construct the bootstraps. • Hsieh shows that his fx returns have no linear or non-linear structure in the mean, but they have evidence of non-linear structure in the variance. • What models are examples of this type? The GARCH family. • Hsieh uses EGARCH and Autoregressive Volatility models.
  • 22. ‘Introductory Econometrics for Finance’ © Chris Brooks 2013 22 An Example of the Use of Bootstrapping to Calculate Capital Risk Requirements (Hsieh, 1993) • The standardised residuals (e.g. for the EGARCH model) are tested for non-randomness; little evidence of any structure is found. • We can thus sample with replacement from these standardised residuals. • From these, we can simulate a set of future paths for and then yt by bootstrapping from vt= ( ). • Hsieh simulates the future path of returns for 180 days after the end of the estimation sample. t t u  ˆ / ˆ t t u  ˆ / ˆ 2 t 
  • 23. ‘Introductory Econometrics for Finance’ © Chris Brooks 2013 23 Calculating the Capital Risk Requirements  In each case, the maximum drawdown (loss) can be calculated over a given holding period by Q= (P0 - P1 )  number of contracts where P0 is the initial value of the position, and P1 is the lowest simulated price (for a long position) or highest simulated price (for a short position) over the holding period. • Hsieh repeats this procedure 2,000 times to get 2,000 maximum losses.  The maximum loss is calculated assuming holding periods of 1, 5, 10, 15, 20, 25, 30, 60, 90 and 180 days.  It is assumed that the futures position is opened on the final day of the sample used to estimate the models, 9 March 1990. • Then he takes the 90th percentile of these 2000 maximum losses to get the amount of capital required to cover losses on 90% of days.
  • 24. ‘Introductory Econometrics for Finance’ © Chris Brooks 2013 24 Minimum Capital Risk Requirements for Currency Futures as a Percentage of the Initial Value of the Position Long Position Short Position No. of days AR Unconditional density EGARCH AR Unconditional density EGARCH BP 1 0.73 0.91 0.93 0.80 0.98 1.05 5 1.90 2.30 2.61 2.18 2.76 3.00 10 2.83 3.27 4.19 3.38 4.22 4.88 15 3.54 3.94 5.72 4.45 5.48 6.67 20 4.10 4.61 6.96 5.24 6.33 8.43 25 4.59 5.15 8.25 6.20 7.36 10.46 30 5.02 5.58 9.08 7.11 8.33 12.06 60 7.24 7.44 14.50 11.64 12.87 20.71 90 8.74 8.70 17.91 15.45 16.90 28.03 180 11.38 10.67 24.25 25.81 27.36 48.02 DM 1 0.72 0.87 0.83 0.89 1.00 0.95 5 1.89 2.18 2.34 2.23 2.70 2.91 10 2.77 3.14 3.93 3.40 4.12 5.03 15 3.52 3.86 5.37 4.36 5.30 6.92 20 4.05 4.45 6.54 5.19 6.14 8.91 25 4.55 4.90 7.86 6.14 7.21 10.69 30 4.93 5.37 8.75 7.02 7.88 12.36 60 7.16 7.24 13.14 11.36 12.38 20.86 90 8.87 8.39 16.06 14.68 16.16 27.75 180 11.38 10.35 21.69 24.25 26.25 45.68 JY 1 0.56 0.74 0.72 0.68 0.87 0.86 5 1.61 1.99 2.22 1.92 2.36 2.73 10 2.59 2.82 3.46 3.06 3.53 4.41 15 3.30 3.46 4.37 4.11 4.60 5.79 20 3.95 4.10 5.09 5.13 5.45 6.77 25 4.42 4.58 5.78 5.91 6.30 7.98 30 4.95 4.92 6.34 6.58 6.85 8.81 60 6.99 6.84 8.72 10.53 10.74 13.58 90 8.43 8.00 10.51 13.61 14.00 17.63 180 10.97 10.27 13.99 21.86 22.21 27.39 SF 1 0.82 0.97 0.89 0.93 1.12 0.98 5 1.99 2.51 2.48 2.23 2.93 2.98 10 2.87 3.60 4.12 3.37 4.53 5.09 15 3.67 4.35 5.60 4.22 5.67 7.03 20 4.24 5.10 6.82 5.09 6.69 8.86 25 4.81 5.65 8.12 5.90 7.77 10.93 30 5.23 6.20 9.12 6.70 8.47 12.50 60 7.69 8.41 13.73 10.55 13.10 21.27 90 9.23 9.93 16.89 13.60 17.06 27.80 180 12.18 12.57 22.92 21.72 27.45 45.47 Source: Hsieh (1993). Reprinted with the permission of the University of Washington, School of Business Administration.
  • 25. ‘Introductory Econometrics for Finance’ © Chris Brooks 2013 25 Minimum Capital Risk Requirements: Discussion • The MCRRs derived from bootstrapping the price changes themselves (the “unconditional approach”) are in most cases higher than those generated from the other two methods, especially at short investment horizons. • As the holding period increases from 1 towards 180 days, the MCRR estimates from the ARV model converge upon those of the unconditional densities. On the other hand, those of the EGARCH model do not converge, even after 180 days • It can also be observed that the MCRRs for short positions are larger than those of comparative long positions.
  • 26. ‘Introductory Econometrics for Finance’ © Chris Brooks 2013 26 Problems with Simulation (including bootstrapping) 1. It might be computationally expensive 2. The results might not be precise 3. The results are often hard to replicate 4. Simulation results are experiment-specific. • To conclude, simulation is an extremely useful tool that can be applied to an enormous variety of problems. The technique has grown in popularity over the past decade, and continues to do so. However, like all tools, it is dangerous in the wrong hands.