Project exam for STK Computational statistics

Size: px
Start display at page:

Download "Project exam for STK Computational statistics"

Transcription

1 Project exam for STK Computational statistics Fall 2017 Part 1 (of 2) This is the first part of the exam project set for STK4051/9051, fall semester It is made available on the course website on Monday 2 October, and candidates must submit their written reports by Monday 15 October 13:00 (or earlier), to the reception office at the Department of Mathematics, in two copies. Reports may be written in Norwegian or English, and should preferably be textprocessed (LaTeX, Word). Give your student number on the first page. Write concisely. Relevant figures need to be included in the report. Copies of relevant parts of machine programs used (in R, or matlab, or similar) are also to be included, perhaps as an appendix to the report. Candidates are required to work on their own (i.e. without cooperation with any others). They are graciously allowed not to despair should they not manage to answer all questions well. This exam set contains four exercises and comprises four pages (with an extra fifth page, see below). Data and some R-code is available from the course web-page. You are free to use other software, but would then need to translate or write your own code for that part included in the R-script. Importantly, each student needs to submit one special extra page with her or his report. This page is the self-declaration form, properly signed; it is available on the last page of this project set. The second part of the exam project set will be made available in the beginning of November. The supplementary four-hour no-book written examination takes place Thursday November 30 (practical details concerning this are provided elsewhere). 1

2 Exercise 1 (Discrete optimization). We will in this exercise consider data on the volume of the S&P500 index from Yahoo Finance (https: // finance. yahoo. com/ ) for the period from 1/1/1950 to 9/9/2012. The data is available at the course web-page: https: // www. uio. no/ studier/ emner/ matnat/ math/ STK4051/ h17/ data/ sp500. txt and can be read into R with the command webdir = https : //www. uio. no/ s t u d i e r /emner/matnat/math/stk4051/h17/ data / sp500 = read. t a b l e ( paste ( webdir, sp500. txt, sep= ) ) Due to the strong trend and also temporal dependence, analysis of such data are in most cases performed on the log-return scale: x t = log(v t /v t 1 ) where v t is the volume at time t. (a). Plot both the volume itself and the log-return data as a function of time. Evaluate how well the data fit to a Gaussian distribution. Yahoo Finance Although there seem to be no trend and less temporal correlation in this case, there still seems to be some differences in the variability at different periods. We will model these log-return data by a mixture of Gaussian distributions through a Hidden Markov model: X t C t = k N(0, σ 2 k) Pr(C t = l C i 1 = k) =p kl, Pr(C 1 = k) =1/K k, l = 1,..., K Our final aim will be to estimate p(l k), k, l = 1,..., K and σ 2 k, k = 1,..., K as well as the hidden variables {C t, t = 1,..., n}. Assume however first the parameters are fixed to K =3, σ 2 =(0.1, 0.55, 1.0), 0.9 for l = k; p kl = 0.05 for l k. Our interest in the beginning will then be to optimize p(c x; θ) where C = (C 1,..., C n ), x = (x 1,..., x n ) and θ is the vector of parameters (so far assumed known). (b). Show that n p(c x; θ) Pr(C 1 )f C1 (x 1 ) p ci 1,c i f Ci (x i ) i=2 where f k (x i ) is the density for x i C i = k. Discuss why it may be better to consider p(c x; θ) on a log-scale. 2

3 (c). Implement a greedy (local search) algorithm for optimizing p(c x; θ). Specify how you choose initial values. Calculate p(c x; θ) based on your result. Make a plot of x and C as functions of time (perhaps zoomed in on a smaller time-frame) and discuss the results. (d). Implement simulated annealing for optmization of p(c x; θ). Specify how you choose the initial temperature and the temperature schedule. Calculate p(c x; θ) based on your result. Make a plot of x and C as functions of time (perhaps zoomed in on a smaller time-frame) and discuss the results. Exercise 2 (The EM-algorithm). We will continue to work on the log-return values of the S&P500 data. Consider now however the problem of simultaneous estimation of C and θ. We will in this exercise apply the EM-algorithm. On the course web-page there is an R-script, HMM.E.R which calculates q i i 1 (k) = Pr(C i = k x 1,..., x i 1 ) q i i (k) = Pr(C i = k x 1,..., x i ) q i n (k) = Pr(C i = k x 1,..., x n ) Prediction Updating Smoothing as well as q i 1,i n (k, l = Pr(C i = l, C i 1 = k x 1,..., x n ) which is based on the forward-backward algorithm discussed in the lecture. (a). Make a function which, given the q s above, calculates estimates for the unknown parameters (the M-step in the EM-algorithm). (b). Combine your function with the one calculating the q s to implement a function which performs the EM-algorithm. Specify your convergence criterion. (c). Include a routine which calculates the log-likelihood value for a given value of θ. Hint: Use that l(θ) = log f(x; θ) n = log f(x 1 ; θ) + log f(x i x 1,..., x i 1 ; θ) i=2 and show that the terms f(x i x 1,..., x i 1 ; θ) are possible to be calculated by the output from the HMM.E.R script. (d). How does the number of computational steps in this algorithm depend on n and K? (e). Run the EM-algorithm on the log-return data. Try out different starting values. Confirm that the log-likelihood value is non-decreasing with the number of iterations in the EM-algorithm. Discuss the results. 3

4 (f). Also try out with K = 2. Use some appropriate model selection criterion in order to choose between K = 2 and K = 3. For your best model, make a similar plot to the ones you made in Exercise 1, (c) and (d). Exercise 3 (Direct parameter optimization). An alternative to the EM-algorithm is to implement a function which directly calculates the log-likelihood for a given set of parameters and then throw this function into a numerical optimizer. One problem that needs to be considered in this case is the constraints on the parameters involved. (a). Specify which constraints that are involved in the parameter vector θ = {p kl, k, l = 1,..., K, σ 2 k, k = 1,..., K}. How many free parameters do we then have? (b). Suggest some reparametrization of θ which removes the constraints on the parameters. Make sure that this reparametrization is invertible. (c). Modify the routine you implemented in Exercise 2(c) to calculate the log-likelihood using the reparametrized parameters as input. Optimize l(θ) through some numerical optimizer, both for K = 2 and K = 3. Hint: It might be useful to start with K = 2 since in that case there are much less parameters. You might expect that this optimization both is time-consuming and non-stable. Exercise 4 (Summary). Write a (maximum) one-page summary of the previous exercises where you in particular consider the following points: (a). Ways of obtaining uncertainty measures on the parameter estimates. (b). The use of the EM algorithm compared with the direct optimization route for this problem. (c). The results you obtained. dependence in the C i s? In particular, is there a need to include the temporal 4

5 Declaration Print, fill out, sign, and deliver the Department of Mathematics in connection with submission of the project exam: I hereby declare that part 1 of my home exam report, delivered for the course (crossed) STK 4051 STK 9051 at the Department of Mathematics, University of Oslo, (a). have not been used for another exam at another department or university or college, home or abroad; (b). does not refer to the work of others without this being stated; (c). does not refer to own previous work without this being stated; (d). has provided all references in the literature list; (e). is not a collaboration with one or more others. I am aware that violations of these provisions are considered cheating and that violates university regulations. Oslo, the Student s signature: Student Name [in clear block letter]: 5

Agricultural and Applied Economics 637 Applied Econometrics II

Agricultural and Applied Economics 637 Applied Econometrics II Agricultural and Applied Economics 637 Applied Econometrics II Assignment I Using Search Algorithms to Determine Optimal Parameter Values in Nonlinear Regression Models (Due: February 3, 2015) (Note: Make

More information

ECON5160: The compulsory term paper

ECON5160: The compulsory term paper University of Oslo / Department of Economics / TS+NCF March 9, 2012 ECON5160: The compulsory term paper Formalities: This term paper is compulsory. This paper must be accepted in order to qualify for attending

More information

6.825 Homework 3: Solutions

6.825 Homework 3: Solutions 6.825 Homework 3: Solutions 1 Easy EM You are given the network structure shown in Figure 1 and the data in the following table, with actual observed values for A, B, and C, and expected counts for D.

More information

Notes on the EM Algorithm Michael Collins, September 24th 2005

Notes on the EM Algorithm Michael Collins, September 24th 2005 Notes on the EM Algorithm Michael Collins, September 24th 2005 1 Hidden Markov Models A hidden Markov model (N, Σ, Θ) consists of the following elements: N is a positive integer specifying the number of

More information

Algorithmic Trading using Reinforcement Learning augmented with Hidden Markov Model

Algorithmic Trading using Reinforcement Learning augmented with Hidden Markov Model Algorithmic Trading using Reinforcement Learning augmented with Hidden Markov Model Simerjot Kaur (sk3391) Stanford University Abstract This work presents a novel algorithmic trading system based on reinforcement

More information

Computer Exercise 2 Simulation

Computer Exercise 2 Simulation Lund University with Lund Institute of Technology Valuation of Derivative Assets Centre for Mathematical Sciences, Mathematical Statistics Fall 2017 Computer Exercise 2 Simulation This lab deals with pricing

More information

Report 2 Instructions - SF2980 Risk Management

Report 2 Instructions - SF2980 Risk Management Report 2 Instructions - SF2980 Risk Management Henrik Hult and Carl Ringqvist Nov, 2016 Instructions Objectives The projects are intended as open ended exercises suitable for deeper investigation of some

More information

Exact Inference (9/30/13) 2 A brief review of Forward-Backward and EM for HMMs

Exact Inference (9/30/13) 2 A brief review of Forward-Backward and EM for HMMs STA561: Probabilistic machine learning Exact Inference (9/30/13) Lecturer: Barbara Engelhardt Scribes: Jiawei Liang, He Jiang, Brittany Cohen 1 Validation for Clustering If we have two centroids, η 1 and

More information

Lecture 17: More on Markov Decision Processes. Reinforcement learning

Lecture 17: More on Markov Decision Processes. Reinforcement learning Lecture 17: More on Markov Decision Processes. Reinforcement learning Learning a model: maximum likelihood Learning a value function directly Monte Carlo Temporal-difference (TD) learning COMP-424, Lecture

More information

Introduction to Fall 2007 Artificial Intelligence Final Exam

Introduction to Fall 2007 Artificial Intelligence Final Exam NAME: SID#: Login: Sec: 1 CS 188 Introduction to Fall 2007 Artificial Intelligence Final Exam You have 180 minutes. The exam is closed book, closed notes except a two-page crib sheet, basic calculators

More information

Estimation of the Markov-switching GARCH model by a Monte Carlo EM algorithm

Estimation of the Markov-switching GARCH model by a Monte Carlo EM algorithm Estimation of the Markov-switching GARCH model by a Monte Carlo EM algorithm Maciej Augustyniak Fields Institute February 3, 0 Stylized facts of financial data GARCH Regime-switching MS-GARCH Agenda Available

More information

University of Split Department of Professional Studies CORPORATE FINANCE II COURSE SYLLABUS

University of Split Department of Professional Studies CORPORATE FINANCE II COURSE SYLLABUS University of Split Department of Professional Studies CORPORATE FINANCE II COURSE SYLLABUS Type of study programme Study programme COURSE DETAILS Professional study - 180 ECTS FINANCE AND ACCOUNTING Course

More information

Computer Vision Group Prof. Daniel Cremers. 7. Sequential Data

Computer Vision Group Prof. Daniel Cremers. 7. Sequential Data Group Prof. Daniel Cremers 7. Sequential Data Bayes Filter (Rep.) We can describe the overall process using a Dynamic Bayes Network: This incorporates the following Markov assumptions: (measurement) (state)!2

More information

PhD Qualifier Examination

PhD Qualifier Examination PhD Qualifier Examination Department of Agricultural Economics May 29, 2015 Instructions This exam consists of six questions. You must answer all questions. If you need an assumption to complete a question,

More information

An Implementation of Markov Regime Switching GARCH Models in Matlab

An Implementation of Markov Regime Switching GARCH Models in Matlab An Implementation of Markov Regime Switching GARCH Models in Matlab Thomas Chuffart Aix-Marseille University (Aix-Marseille School of Economics), CNRS & EHESS Abstract MSGtool is a MATLAB toolbox which

More information

Master s in Financial Engineering Foundations of Buy-Side Finance: Quantitative Risk and Portfolio Management. > Teaching > Courses

Master s in Financial Engineering Foundations of Buy-Side Finance: Quantitative Risk and Portfolio Management.  > Teaching > Courses Master s in Financial Engineering Foundations of Buy-Side Finance: Quantitative Risk and Portfolio Management www.symmys.com > Teaching > Courses Spring 2008, Monday 7:10 pm 9:30 pm, Room 303 Attilio Meucci

More information

Lec 1: Single Agent Dynamic Models: Nested Fixed Point Approach. K. Sudhir MGT 756: Empirical Methods in Marketing

Lec 1: Single Agent Dynamic Models: Nested Fixed Point Approach. K. Sudhir MGT 756: Empirical Methods in Marketing Lec 1: Single Agent Dynamic Models: Nested Fixed Point Approach K. Sudhir MGT 756: Empirical Methods in Marketing RUST (1987) MODEL AND ESTIMATION APPROACH A Model of Harold Zurcher Rust (1987) Empirical

More information

Bayesian course - problem set 3 (lecture 4)

Bayesian course - problem set 3 (lecture 4) Bayesian course - problem set 3 (lecture 4) Ben Lambert November 14, 2016 1 Ticked off Imagine once again that you are investigating the occurrence of Lyme disease in the UK. This is a vector-borne disease

More information

To earn the extra credit, one of the following has to hold true. Please circle and sign.

To earn the extra credit, one of the following has to hold true. Please circle and sign. CS 188 Fall 2018 Introduction to rtificial Intelligence Practice Midterm 2 To earn the extra credit, one of the following has to hold true. Please circle and sign. I spent 2 or more hours on the practice

More information

Problem 1: Markowitz Portfolio (Risky Assets) cov([r 1, r 2, r 3 ] T ) = V =

Problem 1: Markowitz Portfolio (Risky Assets) cov([r 1, r 2, r 3 ] T ) = V = Homework II Financial Mathematics and Economics Professor: Paul J. Atzberger Due: Monday, October 3rd Please turn all homeworks into my mailbox in Amos Eaton Hall by 5:00pm. Problem 1: Markowitz Portfolio

More information

Optimization for Chemical Engineers, 4G3. Written midterm, 23 February 2015

Optimization for Chemical Engineers, 4G3. Written midterm, 23 February 2015 Optimization for Chemical Engineers, 4G3 Written midterm, 23 February 2015 Kevin Dunn, kevin.dunn@mcmaster.ca McMaster University Note: No papers, other than this test and the answer booklet are allowed

More information

1 Explaining Labor Market Volatility

1 Explaining Labor Market Volatility Christiano Economics 416 Advanced Macroeconomics Take home midterm exam. 1 Explaining Labor Market Volatility The purpose of this question is to explore a labor market puzzle that has bedeviled business

More information

The University of Sydney School of Mathematics and Statistics. Computer Project

The University of Sydney School of Mathematics and Statistics. Computer Project The University of Sydney School of Mathematics and Statistics Computer Project MATH2070/2970: Optimisation and Financial Mathematics Semester 2, 2018 Web Page: http://www.maths.usyd.edu.au/u/im/math2070/

More information

Objective calibration of the Bayesian CRM. Ken Cheung Department of Biostatistics, Columbia University

Objective calibration of the Bayesian CRM. Ken Cheung Department of Biostatistics, Columbia University Objective calibration of the Bayesian CRM Department of Biostatistics, Columbia University King s College Aug 14, 2011 2 The other King s College 3 Phase I clinical trials Safety endpoint: Dose-limiting

More information

A potentially useful approach to model nonlinearities in time series is to assume different behavior (structural break) in different subsamples

A potentially useful approach to model nonlinearities in time series is to assume different behavior (structural break) in different subsamples 1.3 Regime switching models A potentially useful approach to model nonlinearities in time series is to assume different behavior (structural break) in different subsamples (or regimes). If the dates, the

More information

COS 513: Gibbs Sampling

COS 513: Gibbs Sampling COS 513: Gibbs Sampling Matthew Salesi December 6, 2010 1 Overview Concluding the coverage of Markov chain Monte Carlo (MCMC) sampling methods, we look today at Gibbs sampling. Gibbs sampling is a simple

More information

Matlab Based Stochastic Processes in Stochastic Asset Portfolio Optimization

Matlab Based Stochastic Processes in Stochastic Asset Portfolio Optimization Matlab Based Stochastic Processes in Stochastic Asset Portfolio Optimization Workshop OR und Statistische Analyse mit Mathematischen Tools, May 13th, 2014 Dr. Georg Ostermaier, Ömer Kuzugüden Agenda Introduction

More information

MAS3904/MAS8904 Stochastic Financial Modelling

MAS3904/MAS8904 Stochastic Financial Modelling MAS3904/MAS8904 Stochastic Financial Modelling Dr Andrew (Andy) Golightly a.golightly@ncl.ac.uk Semester 1, 2018/19 Administrative Arrangements Lectures on Tuesdays at 14:00 (PERCY G13) and Thursdays at

More information

Math 229 FINAL EXAM Review: Fall Final Exam Monday December 11 ALL Projects Due By Monday December 11

Math 229 FINAL EXAM Review: Fall Final Exam Monday December 11 ALL Projects Due By Monday December 11 Math 229 FINAL EXAM Review: Fall 2018 1 Final Exam Monday December 11 ALL Projects Due By Monday December 11 1. Problem 1: (a) Write a MatLab function m-file to evaluate the following function: f(x) =

More information

Fitting the Normal Inverse Gaussian distribution to the S&P500 stock return data

Fitting the Normal Inverse Gaussian distribution to the S&P500 stock return data Fitting the Normal Inverse Gaussian distribution to the S&P500 stock return data Jorge Fernandes Undergraduate Student Dept. of Mathematics UMass Dartmouth Dartmouth MA 02747 Email: Jfernandes7@umassd.edu

More information

Math 5760/6890 Introduction to Mathematical Finance

Math 5760/6890 Introduction to Mathematical Finance Math 5760/6890 Introduction to Mathematical Finance Instructor: Jingyi Zhu Office: LCB 335 Telephone:581-3236 E-mail: zhu@math.utah.edu Class web page: www.math.utah.edu/~zhu/5760_12f.html What you should

More information

King s College London

King s College London King s College London University Of London This paper is part of an examination of the College counting towards the award of a degree. Examinations are governed by the College Regulations under the authority

More information

LOSS SEVERITY DISTRIBUTION ESTIMATION OF OPERATIONAL RISK USING GAUSSIAN MIXTURE MODEL FOR LOSS DISTRIBUTION APPROACH

LOSS SEVERITY DISTRIBUTION ESTIMATION OF OPERATIONAL RISK USING GAUSSIAN MIXTURE MODEL FOR LOSS DISTRIBUTION APPROACH LOSS SEVERITY DISTRIBUTION ESTIMATION OF OPERATIONAL RISK USING GAUSSIAN MIXTURE MODEL FOR LOSS DISTRIBUTION APPROACH Seli Siti Sholihat 1 Hendri Murfi 2 1 Department of Accounting, Faculty of Economics,

More information

MATH ASSIGNMENT 1 SOLUTIONS

MATH ASSIGNMENT 1 SOLUTIONS MATH4414.01 ASSIGNMENT 1 SOLUTIONS 2.5 Download the file plotfunction1.m from the book s web page and execute it. This should produce two following plots: The top plot shows the function f(x) = 2 cos(x)

More information

Getting Started with CGE Modeling

Getting Started with CGE Modeling Getting Started with CGE Modeling Lecture Notes for Economics 8433 Thomas F. Rutherford University of Colorado January 24, 2000 1 A Quick Introduction to CGE Modeling When a students begins to learn general

More information

Portfolio Analysis with Random Portfolios

Portfolio Analysis with Random Portfolios pjb25 Portfolio Analysis with Random Portfolios Patrick Burns http://www.burns-stat.com stat.com September 2006 filename 1 1 Slide 1 pjb25 This was presented in London on 5 September 2006 at an event sponsored

More information

Pricing Options Using Trinomial Trees

Pricing Options Using Trinomial Trees Pricing Options Using Trinomial Trees Paul Clifford Yan Wang Oleg Zaboronski 30.12.2009 1 Introduction One of the first computational models used in the financial mathematics community was the binomial

More information

This is a open-book exam. Assigned: Friday November 27th 2009 at 16:00. Due: Monday November 30th 2009 before 10:00.

This is a open-book exam. Assigned: Friday November 27th 2009 at 16:00. Due: Monday November 30th 2009 before 10:00. University of Iceland School of Engineering and Sciences Department of Industrial Engineering, Mechanical Engineering and Computer Science IÐN106F Industrial Statistics II - Bayesian Data Analysis Fall

More information

Parameter estimation in SDE:s

Parameter estimation in SDE:s Lund University Faculty of Engineering Statistics in Finance Centre for Mathematical Sciences, Mathematical Statistics HT 2011 Parameter estimation in SDE:s This computer exercise concerns some estimation

More information

Modeling Portfolios that Contain Risky Assets Stochastic Models I: One Risky Asset

Modeling Portfolios that Contain Risky Assets Stochastic Models I: One Risky Asset Modeling Portfolios that Contain Risky Assets Stochastic Models I: One Risky Asset C. David Levermore University of Maryland, College Park Math 420: Mathematical Modeling March 25, 2014 version c 2014

More information

The EM algorithm for HMMs

The EM algorithm for HMMs The EM algorithm for HMMs Michael Collins February 22, 2012 Maximum-Likelihood Estimation for Fully Observed Data (Recap from earlier) We have fully observed data, x i,1... x i,m, s i,1... s i,m for i

More information

ST440/550: Applied Bayesian Analysis. (5) Multi-parameter models - Summarizing the posterior

ST440/550: Applied Bayesian Analysis. (5) Multi-parameter models - Summarizing the posterior (5) Multi-parameter models - Summarizing the posterior Models with more than one parameter Thus far we have studied single-parameter models, but most analyses have several parameters For example, consider

More information

Reinforcement Learning (1): Discrete MDP, Value Iteration, Policy Iteration

Reinforcement Learning (1): Discrete MDP, Value Iteration, Policy Iteration Reinforcement Learning (1): Discrete MDP, Value Iteration, Policy Iteration Piyush Rai CS5350/6350: Machine Learning November 29, 2011 Reinforcement Learning Supervised Learning: Uses explicit supervision

More information

4 Reinforcement Learning Basic Algorithms

4 Reinforcement Learning Basic Algorithms Learning in Complex Systems Spring 2011 Lecture Notes Nahum Shimkin 4 Reinforcement Learning Basic Algorithms 4.1 Introduction RL methods essentially deal with the solution of (optimal) control problems

More information

Financial Econometrics Jeffrey R. Russell Midterm 2014

Financial Econometrics Jeffrey R. Russell Midterm 2014 Name: Financial Econometrics Jeffrey R. Russell Midterm 2014 You have 2 hours to complete the exam. Use can use a calculator and one side of an 8.5x11 cheat sheet. Try to fit all your work in the space

More information

Reinforcement Learning (1): Discrete MDP, Value Iteration, Policy Iteration

Reinforcement Learning (1): Discrete MDP, Value Iteration, Policy Iteration Reinforcement Learning (1): Discrete MDP, Value Iteration, Policy Iteration Piyush Rai CS5350/6350: Machine Learning November 29, 2011 Reinforcement Learning Supervised Learning: Uses explicit supervision

More information

Computational social choice

Computational social choice Computational social choice Statistical approaches Lirong Xia Sep 26, 2013 Last class: manipulation Various undesirable behavior manipulation bribery control NP- Hard 2 Example: Crowdsourcing...........

More information

Lecture 8: Markov and Regime

Lecture 8: Markov and Regime Lecture 8: Markov and Regime Switching Models Prof. Massimo Guidolin 20192 Financial Econometrics Spring 2016 Overview Motivation Deterministic vs. Endogeneous, Stochastic Switching Dummy Regressiom Switching

More information

THE CHINESE UNIVERSITY OF HONG KONG Department of Mathematics MMAT5250 Financial Mathematics Homework 2 Due Date: March 24, 2018

THE CHINESE UNIVERSITY OF HONG KONG Department of Mathematics MMAT5250 Financial Mathematics Homework 2 Due Date: March 24, 2018 THE CHINESE UNIVERSITY OF HONG KONG Department of Mathematics MMAT5250 Financial Mathematics Homework 2 Due Date: March 24, 2018 Name: Student ID.: I declare that the assignment here submitted is original

More information

EE/AA 578 Univ. of Washington, Fall Homework 8

EE/AA 578 Univ. of Washington, Fall Homework 8 EE/AA 578 Univ. of Washington, Fall 2016 Homework 8 1. Multi-label SVM. The basic Support Vector Machine (SVM) described in the lecture (and textbook) is used for classification of data with two labels.

More information

STOR Lecture 15. Jointly distributed Random Variables - III

STOR Lecture 15. Jointly distributed Random Variables - III STOR 435.001 Lecture 15 Jointly distributed Random Variables - III Jan Hannig UNC Chapel Hill 1 / 17 Before we dive in Contents of this lecture 1. Conditional pmf/pdf: definition and simple properties.

More information

Extend the ideas of Kan and Zhou paper on Optimal Portfolio Construction under parameter uncertainty

Extend the ideas of Kan and Zhou paper on Optimal Portfolio Construction under parameter uncertainty Extend the ideas of Kan and Zhou paper on Optimal Portfolio Construction under parameter uncertainty George Photiou Lincoln College University of Oxford A dissertation submitted in partial fulfilment for

More information

Chapter 7: Estimation Sections

Chapter 7: Estimation Sections 1 / 40 Chapter 7: Estimation Sections 7.1 Statistical Inference Bayesian Methods: Chapter 7 7.2 Prior and Posterior Distributions 7.3 Conjugate Prior Distributions 7.4 Bayes Estimators Frequentist Methods:

More information

Artificially Intelligent Forecasting of Stock Market Indexes

Artificially Intelligent Forecasting of Stock Market Indexes Artificially Intelligent Forecasting of Stock Market Indexes Loyola Marymount University Math 560 Final Paper 05-01 - 2018 Daniel McGrath Advisor: Dr. Benjamin Fitzpatrick Contents I. Introduction II.

More information

The University of Chicago, Booth School of Business Business 41202, Spring Quarter 2012, Mr. Ruey S. Tsay. Solutions to Final Exam

The University of Chicago, Booth School of Business Business 41202, Spring Quarter 2012, Mr. Ruey S. Tsay. Solutions to Final Exam The University of Chicago, Booth School of Business Business 41202, Spring Quarter 2012, Mr. Ruey S. Tsay Solutions to Final Exam Problem A: (40 points) Answer briefly the following questions. 1. Consider

More information

FINANCIAL ECONOMETRICS AND EMPIRICAL FINANCE - MODULE 2 General Exam - June 2012

FINANCIAL ECONOMETRICS AND EMPIRICAL FINANCE - MODULE 2 General Exam - June 2012 FINANCIAL ECONOMETRICS AND EMPIRICAL FINANCE - MODULE 2 General Exam - June 2012 Time Allowed: 105 Minutes Family Name (Surname). First Name. Student Number (Matr.) Please answer all the questions by choosing

More information

Overview: Representation Techniques

Overview: Representation Techniques 1 Overview: Representation Techniques Week 6 Representations for classical planning problems deterministic environment; complete information Week 7 Logic programs for problem representations including

More information

Application of MCMC Algorithm in Interest Rate Modeling

Application of MCMC Algorithm in Interest Rate Modeling Application of MCMC Algorithm in Interest Rate Modeling Xiaoxia Feng and Dejun Xie Abstract Interest rate modeling is a challenging but important problem in financial econometrics. This work is concerned

More information

UNIVERSITY OF OSLO. Please make sure that your copy of the problem set is complete before you attempt to answer anything.

UNIVERSITY OF OSLO. Please make sure that your copy of the problem set is complete before you attempt to answer anything. UNIVERSITY OF OSLO Faculty of Mathematics and Natural Sciences Examination in: STK4540 Non-Life Insurance Mathematics Day of examination: Wednesday, December 4th, 2013 Examination hours: 14.30 17.30 This

More information

NEWCASTLE UNIVERSITY SCHOOL OF MATHEMATICS & STATISTICS SEMESTER /2013 MAS8304. Environmental Extremes: Mid semester test

NEWCASTLE UNIVERSITY SCHOOL OF MATHEMATICS & STATISTICS SEMESTER /2013 MAS8304. Environmental Extremes: Mid semester test NEWCASTLE UNIVERSITY SCHOOL OF MATHEMATICS & STATISTICS SEMESTER 2 2012/2013 Environmental Extremes: Mid semester test Time allowed: 50 minutes Candidates should attempt all questions. Marks for each question

More information

Lecture 9: Markov and Regime

Lecture 9: Markov and Regime Lecture 9: Markov and Regime Switching Models Prof. Massimo Guidolin 20192 Financial Econometrics Spring 2017 Overview Motivation Deterministic vs. Endogeneous, Stochastic Switching Dummy Regressiom Switching

More information

Option Pricing Using Bayesian Neural Networks

Option Pricing Using Bayesian Neural Networks Option Pricing Using Bayesian Neural Networks Michael Maio Pires, Tshilidzi Marwala School of Electrical and Information Engineering, University of the Witwatersrand, 2050, South Africa m.pires@ee.wits.ac.za,

More information

Two hours. To be supplied by the Examinations Office: Mathematical Formula Tables and Statistical Tables THE UNIVERSITY OF MANCHESTER

Two hours. To be supplied by the Examinations Office: Mathematical Formula Tables and Statistical Tables THE UNIVERSITY OF MANCHESTER Two hours MATH20802 To be supplied by the Examinations Office: Mathematical Formula Tables and Statistical Tables THE UNIVERSITY OF MANCHESTER STATISTICAL METHODS Answer any FOUR of the SIX questions.

More information

The exam is closed book, closed calculator, and closed notes except your three crib sheets.

The exam is closed book, closed calculator, and closed notes except your three crib sheets. CS 188 Spring 2016 Introduction to Artificial Intelligence Final V2 You have approximately 2 hours and 50 minutes. The exam is closed book, closed calculator, and closed notes except your three crib sheets.

More information

Financial Risk Management

Financial Risk Management Financial Risk Management Professor: Thierry Roncalli Evry University Assistant: Enareta Kurtbegu Evry University Tutorial exercices #4 1 Correlation and copulas 1. The bivariate Gaussian copula is given

More information

Graphic-1: Market-Regimes with 4 states

Graphic-1: Market-Regimes with 4 states The Identification of Market-Regimes with a Hidden-Markov Model by Dr. Chrilly Donninger Chief Scientist, Sibyl-Project Sibyl-Working-Paper, June 2012 http://www.godotfinance.com/ Financial assets follow

More information

Market Risk Analysis Volume I

Market Risk Analysis Volume I Market Risk Analysis Volume I Quantitative Methods in Finance Carol Alexander John Wiley & Sons, Ltd List of Figures List of Tables List of Examples Foreword Preface to Volume I xiii xvi xvii xix xxiii

More information

The Monte Carlo Method in High Performance Computing

The Monte Carlo Method in High Performance Computing The Monte Carlo Method in High Performance Computing Dieter W. Heermann Monte Carlo Methods 2015 Dieter W. Heermann (Monte Carlo Methods)The Monte Carlo Method in High Performance Computing 2015 1 / 1

More information

Maximum Likelihood Estimation

Maximum Likelihood Estimation Maximum Likelihood Estimation EPSY 905: Fundamentals of Multivariate Modeling Online Lecture #6 EPSY 905: Maximum Likelihood In This Lecture The basics of maximum likelihood estimation Ø The engine that

More information

Math 140 Introductory Statistics. Next midterm May 1

Math 140 Introductory Statistics. Next midterm May 1 Math 140 Introductory Statistics Next midterm May 1 8.1 Confidence intervals 54% of Americans approve the job the president is doing with a margin error of 3% 55% of 18-29 year olds consider themselves

More information

Modeling Co-movements and Tail Dependency in the International Stock Market via Copulae

Modeling Co-movements and Tail Dependency in the International Stock Market via Copulae Modeling Co-movements and Tail Dependency in the International Stock Market via Copulae Katja Ignatieva, Eckhard Platen Bachelier Finance Society World Congress 22-26 June 2010, Toronto K. Ignatieva, E.

More information

STA 103: Final Exam. Print clearly on this exam. Only correct solutions that can be read will be given credit.

STA 103: Final Exam. Print clearly on this exam. Only correct solutions that can be read will be given credit. STA 103: Final Exam June 26, 2008 Name: } {{ } by writing my name i swear by the honor code Read all of the following information before starting the exam: Print clearly on this exam. Only correct solutions

More information

Bangor University Transfer Abroad Undergraduate Programme Module Implementation Plan

Bangor University Transfer Abroad Undergraduate Programme Module Implementation Plan Bangor University Transfer Abroad Undergraduate Programme Module Implementation Plan MODULE: BUS-121 Descriptive Statistics LECTURER: Dr Francis Jones INTAKE: 2013 SEMESTER: 3 ACTIVITY TYPES:, tutorial,

More information

By-Peril Deductible Factors

By-Peril Deductible Factors By-Peril Deductible Factors Luyang Fu, Ph.D., FCAS Jerry Han, Ph.D., ASA March 17 th 2010 State Auto is one of only 13 companies to earn an A+ Rating by AM Best every year since 1954! Agenda Introduction

More information

Write legibly. Unreadable answers are worthless.

Write legibly. Unreadable answers are worthless. MMF 2021 Final Exam 1 December 2016. This is a closed-book exam: no books, no notes, no calculators, no phones, no tablets, no computers (of any kind) allowed. Do NOT turn this page over until you are

More information

CHAPTER 3 MA-FILTER BASED HYBRID ARIMA-ANN MODEL

CHAPTER 3 MA-FILTER BASED HYBRID ARIMA-ANN MODEL CHAPTER 3 MA-FILTER BASED HYBRID ARIMA-ANN MODEL S. No. Name of the Sub-Title Page No. 3.1 Overview of existing hybrid ARIMA-ANN models 50 3.1.1 Zhang s hybrid ARIMA-ANN model 50 3.1.2 Khashei and Bijari

More information

M.S. in Quantitative Finance & Risk Analytics (QFRA) Fall 2017 & Spring 2018

M.S. in Quantitative Finance & Risk Analytics (QFRA) Fall 2017 & Spring 2018 M.S. in Quantitative Finance & Risk Analytics (QFRA) Fall 2017 & Spring 2018 2 - Required Professional Development &Career Workshops MGMT 7770 Prof. Development Workshop 1/Career Workshops (Fall) Wed.

More information

Eco504 Spring 2010 C. Sims FINAL EXAM. β t 1 2 φτ2 t subject to (1)

Eco504 Spring 2010 C. Sims FINAL EXAM. β t 1 2 φτ2 t subject to (1) Eco54 Spring 21 C. Sims FINAL EXAM There are three questions that will be equally weighted in grading. Since you may find some questions take longer to answer than others, and partial credit will be given

More information

[D7] PROBABILITY DISTRIBUTION OF OUTSTANDING LIABILITY FROM INDIVIDUAL PAYMENTS DATA Contributed by T S Wright

[D7] PROBABILITY DISTRIBUTION OF OUTSTANDING LIABILITY FROM INDIVIDUAL PAYMENTS DATA Contributed by T S Wright Faculty and Institute of Actuaries Claims Reserving Manual v.2 (09/1997) Section D7 [D7] PROBABILITY DISTRIBUTION OF OUTSTANDING LIABILITY FROM INDIVIDUAL PAYMENTS DATA Contributed by T S Wright 1. Introduction

More information

Hidden Markov Models. Selecting model parameters or training

Hidden Markov Models. Selecting model parameters or training idden Markov Models Selecting model parameters or training idden Markov Models Motivation: The n'th observation in a chain of observations is influenced by a corresponding latent variable... Observations

More information

Artificial Neural Networks Lecture Notes

Artificial Neural Networks Lecture Notes Artificial Neural Networks Lecture Notes Part 10 About this file: This is the printer-friendly version of the file "lecture10.htm". In case the page is not properly displayed, use IE 5 or higher. Since

More information

Simulation of Extreme Events in the Presence of Spatial Dependence

Simulation of Extreme Events in the Presence of Spatial Dependence Simulation of Extreme Events in the Presence of Spatial Dependence Nicholas Beck Bouchra Nasri Fateh Chebana Marie-Pier Côté Juliana Schulz Jean-François Plante Martin Durocher Marie-Hélène Toupin Jean-François

More information

THE investment in stock market is a common way of

THE investment in stock market is a common way of PROJECT REPORT, MACHINE LEARNING (COMP-652 AND ECSE-608) MCGILL UNIVERSITY, FALL 2018 1 Comparison of Different Algorithmic Trading Strategies on Tesla Stock Price Tawfiq Jawhar, McGill University, Montreal,

More information

HUDM4122 Probability and Statistical Inference. March 4, 2015

HUDM4122 Probability and Statistical Inference. March 4, 2015 HUDM4122 Probability and Statistical Inference March 4, 2015 First things first The Exam Due to Monday s class cancellation Today s lecture on the Normal Distribution will not be covered on the Midterm

More information

Sharper Fund Management

Sharper Fund Management Sharper Fund Management Patrick Burns 17th November 2003 Abstract The current practice of fund management can be altered to improve the lot of both the investor and the fund manager. Tracking error constraints

More information

King s College London

King s College London King s College London University Of London This paper is part of an examination of the College counting towards the award of a degree. Examinations are governed by the College Regulations under the authority

More information

CPSC 540: Machine Learning

CPSC 540: Machine Learning CPSC 540: Machine Learning Monte Carlo Methods Mark Schmidt University of British Columbia Winter 2019 Last Time: Markov Chains We can use Markov chains for density estimation, d p(x) = p(x 1 ) p(x }{{}

More information

Monte Carlo Methods in Option Pricing. UiO-STK4510 Autumn 2015

Monte Carlo Methods in Option Pricing. UiO-STK4510 Autumn 2015 Monte Carlo Methods in Option Pricing UiO-STK4510 Autumn 015 The Basics of Monte Carlo Method Goal: Estimate the expectation θ = E[g(X)], where g is a measurable function and X is a random variable such

More information

Module 2: Monte Carlo Methods

Module 2: Monte Carlo Methods Module 2: Monte Carlo Methods Prof. Mike Giles mike.giles@maths.ox.ac.uk Oxford University Mathematical Institute MC Lecture 2 p. 1 Greeks In Monte Carlo applications we don t just want to know the expected

More information

EGR 102 Introduction to Engineering Modeling. Lab 09B Recap Regression Analysis & Structured Programming

EGR 102 Introduction to Engineering Modeling. Lab 09B Recap Regression Analysis & Structured Programming EGR 102 Introduction to Engineering Modeling Lab 09B Recap Regression Analysis & Structured Programming EGR 102 - Fall 2018 1 Overview Data Manipulation find() built-in function Regression in MATLAB using

More information

Mathematics of Finance Final Preparation December 19. To be thoroughly prepared for the final exam, you should

Mathematics of Finance Final Preparation December 19. To be thoroughly prepared for the final exam, you should Mathematics of Finance Final Preparation December 19 To be thoroughly prepared for the final exam, you should 1. know how to do the homework problems. 2. be able to provide (correct and complete!) definitions

More information

Chapter 7: Estimation Sections

Chapter 7: Estimation Sections Chapter 7: Estimation Sections 7.1 Statistical Inference Bayesian Methods: 7.2 Prior and Posterior Distributions 7.3 Conjugate Prior Distributions Frequentist Methods: 7.5 Maximum Likelihood Estimators

More information

UNIVERSITY OF OSLO DEPARTMENT OF ECONOMICS

UNIVERSITY OF OSLO DEPARTMENT OF ECONOMICS UNIVERSITY OF OSLO DEPARTMENT OF ECONOMICS Postponed exam: ECON4310 Macroeconomic Theory Date of exam: Monday, December 14, 2015 Time for exam: 09:00 a.m. 12:00 noon The problem set covers 13 pages (incl.

More information

FINITE SAMPLE DISTRIBUTIONS OF RISK-RETURN RATIOS

FINITE SAMPLE DISTRIBUTIONS OF RISK-RETURN RATIOS Available Online at ESci Journals Journal of Business and Finance ISSN: 305-185 (Online), 308-7714 (Print) http://www.escijournals.net/jbf FINITE SAMPLE DISTRIBUTIONS OF RISK-RETURN RATIOS Reza Habibi*

More information

Objective Bayesian Analysis for Heteroscedastic Regression

Objective Bayesian Analysis for Heteroscedastic Regression Analysis for Heteroscedastic Regression & Esther Salazar Universidade Federal do Rio de Janeiro Colóquio Inter-institucional: Modelos Estocásticos e Aplicações 2009 Collaborators: Marco Ferreira and Thais

More information

Asymmetric Price Transmission: A Copula Approach

Asymmetric Price Transmission: A Copula Approach Asymmetric Price Transmission: A Copula Approach Feng Qiu University of Alberta Barry Goodwin North Carolina State University August, 212 Prepared for the AAEA meeting in Seattle Outline Asymmetric price

More information

Structural credit risk models and systemic capital

Structural credit risk models and systemic capital Structural credit risk models and systemic capital Somnath Chatterjee CCBS, Bank of England November 7, 2013 Structural credit risk model Structural credit risk models are based on the notion that both

More information

MAS1403. Quantitative Methods for Business Management. Semester 1, Module leader: Dr. David Walshaw

MAS1403. Quantitative Methods for Business Management. Semester 1, Module leader: Dr. David Walshaw MAS1403 Quantitative Methods for Business Management Semester 1, 2018 2019 Module leader: Dr. David Walshaw Additional lecturers: Dr. James Waldren and Dr. Stuart Hall Announcements: Written assignment

More information

Web Appendix to Components of bull and bear markets: bull corrections and bear rallies

Web Appendix to Components of bull and bear markets: bull corrections and bear rallies Web Appendix to Components of bull and bear markets: bull corrections and bear rallies John M. Maheu Thomas H. McCurdy Yong Song 1 Bull and Bear Dating Algorithms Ex post sorting methods for classification

More information

A Hidden Markov Model Approach to Information-Based Trading: Theory and Applications

A Hidden Markov Model Approach to Information-Based Trading: Theory and Applications A Hidden Markov Model Approach to Information-Based Trading: Theory and Applications Online Supplementary Appendix Xiangkang Yin and Jing Zhao La Trobe University Corresponding author, Department of Finance,

More information