SlideShare a Scribd company logo
− t t
EFB308: Project 2 Semester 2 2019
Background
DUE: Thursday 17 October 11:59pm
In this project we will consider some simulation and forecasting problems.
You can use the same data from Project 1 when required here. Not all tasks here require using the data.
Style of your report: Same style as Project 1
Task 1: 8 Marks
NPV simulation
A project has an initial cost of $40 and a life of 5 years.
Current annual costs are $100 and will grow at 2.5%p.a. for the next 5 years.
Current annual revenues are $110. Based on historical data, annual revenues are expected to
grow according to the following AR model:
revt = 15 + 0.9revt 1 + , ∼ N(0, σ2
= 5)
You are required to simulate revenues to simulate NPVs. Assume a discount rate of 5%p.a.
What is the probability that NP V < 0?
Task 2: 8 Marks
T
Simulation and option pricing
For this task start from the code in simprice single.m.
Assume an initial price S0 = $30 mean return equal to µ = rf = 3%p.a. and volatility of returns
σ = 25%p.a.
Complete the following:
• Compute the 5th percentile of simulated prices
• What is the probability that the price in 250 days will be lower than S0?
• Given an exercise price of X = $35 what is the value of a standard European call option that
expires in 250 days (1 year)?
Task 3: 4 Marks
For this task you can start from the code you wrote to simulate prices in Task 2.
You need to change the code to simulate a price series for 250 days where the volatility evolves
according to the GARCH process:
σ2 2 2
t = 0.000001 + 0.05rt−1 + 0.9σt−1
starting from the current conditions today of ST = $10, rT = 0.002, σ2
= 0.00025 and assuming
a mean return equal to µ = 12%p.a.
Look back at the discussion in slides 12-14 of the Simulation lecture.
Task 4: 5 Marks
Comparing forecast accuracy
Within a rolling window framework, compare the accuracy of an EWMA forecast, and forecasts from
an AR model with 2 lags and an AR model with 4 lags.
You can use the Rolling fore.m as a starting point, this provides the rolling window code and
is discussed in slides 10-13 in the Forecasting Lecture. Forecasting using the AR model is discussed
slides 13-15.
Run the analysis on on data for the index and one of your individual stocks. Compare the
different models in each case (stock and index) by computing the mean of the squared forecast error for
each model.
Task 5: 5 Marks
Forecasting portfolio weights
Use the rolling window framework. Take the same three stocks that you used in Project 1. Use the
multivariate EWMA smoother to generate 1 day ahead forecasts of the covariance matrix and then
compute GMVP weights. Compare the performance of your portfolio (based on fore- casting the
covariance matrix) against an equally weighted portfolio.
Hints:
• Again start from Rolling fore.m for the rolling window framework
• Refer back to slides 16-18 from the Forecasting lecture
• Need to use the multivariate EWMA smoother to construct the covariance matrix for each
estimation window

More Related Content

DOCX
Pc11-2&11-3 exponential fxns & e notes
PPTX
10401_206296_Hw2
PPTX
Excel Tutorial - Spreadsheet Model
PDF
A02
PPT
Uop qrb-501-week-1-fundamental-quantitative-concepts-exercises-new
PPTX
Chi squared test for digital analytics
PDF
Template matching
PPTX
Functionsbsitact
Pc11-2&11-3 exponential fxns & e notes
10401_206296_Hw2
Excel Tutorial - Spreadsheet Model
A02
Uop qrb-501-week-1-fundamental-quantitative-concepts-exercises-new
Chi squared test for digital analytics
Template matching
Functionsbsitact

Similar to Financial modeling &amp; coding (16)

PDF
Exam binder 1
PDF
ITB Term Paper - 10BM60066
PDF
Deep Quant Finance brochure.pdf for mba student
PPTX
Tutorial 14 Basic Forecasting with SAS Software
PDF
Using Machine Learning to Find a needle in a haystack Aureus Analytics
PPTX
Dr. Syed Muhammad Ali Tirmizi - Special topics in finance lec 3
PPT
Forecasting
PDF
Xavier Conort, DataScience SG Meetup - Challenges in insurance pricing
PDF
Gra wp modelling perspectives
PDF
Notes for Volatility Modeling lectures, Antoine Savine at Copenhagen University
PPT
Lecture 2_Advanced Modelling Techniques.ppt
PPTX
8 rajib chakravorty risk
PDF
2010 RDF credit Risk
 
DOCX
1 Assignment 2 Winter 2022Problem 1 Assume yo
DOCX
1 Assignment 2 Winter 2022Problem 1 Assume yo
DOCX
Schema econ ii
Exam binder 1
ITB Term Paper - 10BM60066
Deep Quant Finance brochure.pdf for mba student
Tutorial 14 Basic Forecasting with SAS Software
Using Machine Learning to Find a needle in a haystack Aureus Analytics
Dr. Syed Muhammad Ali Tirmizi - Special topics in finance lec 3
Forecasting
Xavier Conort, DataScience SG Meetup - Challenges in insurance pricing
Gra wp modelling perspectives
Notes for Volatility Modeling lectures, Antoine Savine at Copenhagen University
Lecture 2_Advanced Modelling Techniques.ppt
8 rajib chakravorty risk
2010 RDF credit Risk
 
1 Assignment 2 Winter 2022Problem 1 Assume yo
1 Assignment 2 Winter 2022Problem 1 Assume yo
Schema econ ii
Ad

More from Johnsmith5188 (9)

PDF
Corporate law-law2001
PDF
Information for-prioritising-brand-decisions
PDF
Article analysis
PDF
Network topology by essay corp uk
PDF
Finance Assignment Help by EssayCorp Experts in Australia
PDF
NIT1201 Introduction to Database System Assignment by USA Experts
PDF
Responsibility of the Nurse
PDF
COSC2536/2537 Security in Computing and Information Technology Assignments
PDF
MATH2088/2988 Number Theory and Cryptography Assignments
Corporate law-law2001
Information for-prioritising-brand-decisions
Article analysis
Network topology by essay corp uk
Finance Assignment Help by EssayCorp Experts in Australia
NIT1201 Introduction to Database System Assignment by USA Experts
Responsibility of the Nurse
COSC2536/2537 Security in Computing and Information Technology Assignments
MATH2088/2988 Number Theory and Cryptography Assignments
Ad

Recently uploaded (20)

PDF
caregiving tools.pdf...........................
DOCX
marketing plan Elkhabiry............docx
PDF
Dialnet-DynamicHedgingOfPricesOfNaturalGasInMexico-8788871.pdf
PDF
Lecture1.pdf buss1040 uses economics introduction
PDF
illuminati Uganda brotherhood agent in Kampala call 0756664682,0782561496
PDF
Topic Globalisation and Lifelines of National Economy.pdf
PPTX
kyc aml guideline a detailed pt onthat.pptx
PDF
1a In Search of the Numbers ssrn 1488130 Oct 2009.pdf
PDF
discourse-2025-02-building-a-trillion-dollar-dream.pdf
PDF
Why Ignoring Passive Income for Retirees Could Cost You Big.pdf
PDF
Predicting Customer Bankruptcy Using Machine Learning Algorithm research pape...
PDF
ECONOMICS AND ENTREPRENEURS LESSONSS AND
PDF
Bitcoin Layer August 2025: Power Laws of Bitcoin: The Core and Bubbles
PDF
Bladex Earnings Call Presentation 2Q2025
PDF
Mathematical Economics 23lec03slides.pdf
PDF
Understanding University Research Expenditures (1)_compressed.pdf
PDF
Spending, Allocation Choices, and Aging THROUGH Retirement. Are all of these ...
PDF
financing insitute rbi nabard adb imf world bank insurance and credit gurantee
PDF
Chapter 9 IFRS Ed-Ed4_2020 Intermediate Accounting
PPTX
4.5.1 Financial Governance_Appropriation & Finance.pptx
caregiving tools.pdf...........................
marketing plan Elkhabiry............docx
Dialnet-DynamicHedgingOfPricesOfNaturalGasInMexico-8788871.pdf
Lecture1.pdf buss1040 uses economics introduction
illuminati Uganda brotherhood agent in Kampala call 0756664682,0782561496
Topic Globalisation and Lifelines of National Economy.pdf
kyc aml guideline a detailed pt onthat.pptx
1a In Search of the Numbers ssrn 1488130 Oct 2009.pdf
discourse-2025-02-building-a-trillion-dollar-dream.pdf
Why Ignoring Passive Income for Retirees Could Cost You Big.pdf
Predicting Customer Bankruptcy Using Machine Learning Algorithm research pape...
ECONOMICS AND ENTREPRENEURS LESSONSS AND
Bitcoin Layer August 2025: Power Laws of Bitcoin: The Core and Bubbles
Bladex Earnings Call Presentation 2Q2025
Mathematical Economics 23lec03slides.pdf
Understanding University Research Expenditures (1)_compressed.pdf
Spending, Allocation Choices, and Aging THROUGH Retirement. Are all of these ...
financing insitute rbi nabard adb imf world bank insurance and credit gurantee
Chapter 9 IFRS Ed-Ed4_2020 Intermediate Accounting
4.5.1 Financial Governance_Appropriation & Finance.pptx

Financial modeling &amp; coding

  • 1. − t t EFB308: Project 2 Semester 2 2019 Background DUE: Thursday 17 October 11:59pm In this project we will consider some simulation and forecasting problems. You can use the same data from Project 1 when required here. Not all tasks here require using the data. Style of your report: Same style as Project 1 Task 1: 8 Marks NPV simulation A project has an initial cost of $40 and a life of 5 years. Current annual costs are $100 and will grow at 2.5%p.a. for the next 5 years. Current annual revenues are $110. Based on historical data, annual revenues are expected to grow according to the following AR model: revt = 15 + 0.9revt 1 + , ∼ N(0, σ2 = 5) You are required to simulate revenues to simulate NPVs. Assume a discount rate of 5%p.a. What is the probability that NP V < 0?
  • 2. Task 2: 8 Marks T Simulation and option pricing For this task start from the code in simprice single.m. Assume an initial price S0 = $30 mean return equal to µ = rf = 3%p.a. and volatility of returns σ = 25%p.a. Complete the following: • Compute the 5th percentile of simulated prices • What is the probability that the price in 250 days will be lower than S0? • Given an exercise price of X = $35 what is the value of a standard European call option that expires in 250 days (1 year)? Task 3: 4 Marks For this task you can start from the code you wrote to simulate prices in Task 2. You need to change the code to simulate a price series for 250 days where the volatility evolves according to the GARCH process: σ2 2 2 t = 0.000001 + 0.05rt−1 + 0.9σt−1 starting from the current conditions today of ST = $10, rT = 0.002, σ2 = 0.00025 and assuming a mean return equal to µ = 12%p.a. Look back at the discussion in slides 12-14 of the Simulation lecture.
  • 3. Task 4: 5 Marks Comparing forecast accuracy Within a rolling window framework, compare the accuracy of an EWMA forecast, and forecasts from an AR model with 2 lags and an AR model with 4 lags. You can use the Rolling fore.m as a starting point, this provides the rolling window code and is discussed in slides 10-13 in the Forecasting Lecture. Forecasting using the AR model is discussed slides 13-15. Run the analysis on on data for the index and one of your individual stocks. Compare the different models in each case (stock and index) by computing the mean of the squared forecast error for each model. Task 5: 5 Marks Forecasting portfolio weights Use the rolling window framework. Take the same three stocks that you used in Project 1. Use the multivariate EWMA smoother to generate 1 day ahead forecasts of the covariance matrix and then compute GMVP weights. Compare the performance of your portfolio (based on fore- casting the covariance matrix) against an equally weighted portfolio. Hints: • Again start from Rolling fore.m for the rolling window framework • Refer back to slides 16-18 from the Forecasting lecture • Need to use the multivariate EWMA smoother to construct the covariance matrix for each estimation window