Week 1 Quantitative Analysis of Financial Markets Probabilities

Similar documents
Week 1 Quantitative Analysis of Financial Markets Distributions B

Week 1 Quantitative Analysis of Financial Markets Basic Statistics A

Week 2 Quantitative Analysis of Financial Markets Hypothesis Testing and Confidence Intervals

Probability Theory. Probability and Statistics for Data Science CSE594 - Spring 2016

UQ, STAT2201, 2017, Lectures 3 and 4 Unit 3 Probability Distributions.

A Guide to Investing In Corporate Bonds

Probability Basics. Part 1: What is Probability? INFO-1301, Quantitative Reasoning 1 University of Colorado Boulder. March 1, 2017 Prof.

UNIT 4 MATHEMATICAL METHODS

Business Statistics 41000: Probability 3

Dependence Modeling and Credit Risk

Chapter 2: Random Variables (Cont d)

Appendix A Financial Calculations

The Binomial Distribution

continuous rv Note for a legitimate pdf, we have f (x) 0 and f (x)dx = 1. For a continuous rv, P(X = c) = c f (x)dx = 0, hence

IEOR 165 Lecture 1 Probability Review

Lecture 23. STAT 225 Introduction to Probability Models April 4, Whitney Huang Purdue University. Normal approximation to Binomial

2017 Fall QMS102 Tip Sheet 2

Introduction Random Walk One-Period Option Pricing Binomial Option Pricing Nice Math. Binomial Models. Christopher Ting.

Risk and Term Structure of Interest Rates

II. Random Variables

Quantifying credit risk in a corporate bond

Frequency and Severity with Coverage Modifications

Risk management. Introduction to the modeling of assets. Christian Groll

Chapter 5. Valuing Bonds

Estimation of Probability of Defaults (PD) for Low-Default Portfolios: An Actuarial Approach

Random Variables Handout. Xavier Vilà

CHAPTERS 5 & 6: CONTINUOUS RANDOM VARIABLES

Normal Distribution. Notes. Normal Distribution. Standard Normal. Sums of Normal Random Variables. Normal. approximation of Binomial.

Central Limit Theorem, Joint Distributions Spring 2018

CREDIT RATINGS. Rating Agencies: Moody s and S&P Creditworthiness of corporate bonds

Statistics for IT Managers

Confidence Intervals for the Median and Other Percentiles

. (i) What is the probability that X is at most 8.75? =.875

Continuous random variables

Random Variables and Probability Distributions

Stochastic Simulation

Bond Valuation. FINANCE 100 Corporate Finance

2. The sum of all the probabilities in the sample space must add up to 1

Contents Part I Descriptive Statistics 1 Introduction and Framework Population, Sample, and Observations Variables Quali

2011 Pearson Education, Inc

Reliability and Risk Analysis. Survival and Reliability Function

STATISTICS and PROBABILITY

The Normal Distribution

Review for Final Exam Spring 2014 Jeremy Orloff and Jonathan Bloom

Some Characteristics of Data

Lecture 3: Probability Distributions (cont d)

CE 513: STATISTICAL METHODS

Market Risk Analysis Volume I

Normal Cumulative Distribution Function (CDF)

Week 7 Quantitative Analysis of Financial Markets Simulation Methods

Application of the Bootstrap Estimating a Population Mean

Subject : Computer Science. Paper: Machine Learning. Module: Decision Theory and Bayesian Decision Theory. Module No: CS/ML/10.

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

CS 237: Probability in Computing

Econ 250 Fall Due at November 16. Assignment 2: Binomial Distribution, Continuous Random Variables and Sampling

Economics 173A and Management 183 Financial Markets

A useful modeling tricks.

CAS Course 3 - Actuarial Models

Chapter 4: Commonly Used Distributions. Statistics for Engineers and Scientists Fourth Edition William Navidi

Write legibly. Unreadable answers are worthless.

Introduction to Probability and Inference HSSP Summer 2017, Instructor: Alexandra Ding July 19, 2017

Chapter 2 Uncertainty Analysis and Sampling Techniques

Discrete Random Variables

Principles of Quantitative Finance

Greek Maxima 1 by Michael B. Miller

Deriving the Black-Scholes Equation and Basic Mathematical Finance

Chapter 3 Statistical Quality Control, 7th Edition by Douglas C. Montgomery. Copyright (c) 2013 John Wiley & Sons, Inc.

PROBABILITY AND STATISTICS, A16, TEST 1

ELEMENTS OF MONTE CARLO SIMULATION

ECE 340 Probabilistic Methods in Engineering M/W 3-4:15. Lecture 10: Continuous RV Families. Prof. Vince Calhoun

INDIAN INSTITUTE OF SCIENCE STOCHASTIC HYDROLOGY. Lecture -5 Course Instructor : Prof. P. P. MUJUMDAR Department of Civil Engg., IISc.

Bond Valuation. Capital Budgeting and Corporate Objectives

Statistics for Managers Using Microsoft Excel 7 th Edition

Probability and Random Variables A FINANCIAL TIMES COMPANY

AP Statistics Chapter 6 - Random Variables

The Normal Distribution

Chapter 4 Continuous Random Variables and Probability Distributions

Commonly Used Distributions

TOPIC: PROBABILITY DISTRIBUTIONS

Homework: Due Wed, Nov 3 rd Chapter 8, # 48a, 55c and 56 (count as 1), 67a

STOR Lecture 15. Jointly distributed Random Variables - III

Basic Procedure for Histograms

Binomial Approximation and Joint Distributions Chris Piech CS109, Stanford University

Chapter 7 1. Random Variables

Case Study: Heavy-Tailed Distribution and Reinsurance Rate-making

ECON Introductory Econometrics. Lecture 1: Introduction and Review of Statistics

CHAPTER 10: Introducing Probability

6 If and then. (a) 0.6 (b) 0.9 (c) 2 (d) Which of these numbers can be a value of probability distribution of a discrete random variable

Copyright 2004 Pearson Education, Inc. All rights reserved. Bonds

Describing Uncertain Variables

MVE051/MSG Lecture 7

Converting to the Standard Normal rv: Exponential PDF and CDF for x 0 Chapter 7: expected value of x

ME3620. Theory of Engineering Experimentation. Spring Chapter III. Random Variables and Probability Distributions.

Miller, Mathematics & Statistics for Financial Risk Management

ECO220Y Continuous Probability Distributions: Normal Readings: Chapter 9, section 9.10

Chapter 4 Continuous Random Variables and Probability Distributions

Normal Distribution. Definition A continuous rv X is said to have a normal distribution with. the pdf of X is

CPSC 540: Machine Learning

Slides for Risk Management

VI. Continuous Probability Distributions

Transcription:

Week 1 Quantitative Analysis of Financial Markets Probabilities Christopher Ting http://www.mysmu.edu/faculty/christophert/ Christopher Ting : christopherting@smu.edu.sg : 6828 0364 : LKCSB 5036 October 14, 2017 Christopher Ting QF 603 October 14, 2017 1/22

Table of Contents 1 Introduction 2 Random Variables 3 Distributions 4 Probabilistic Events 5 Conditional Probability 6 Takeaways Christopher Ting QF 603 October 14, 2017 2/22

Introduction The concept of probability is very important in Quantitative Finance. Probability can be quite tricky yet fun at times. A thorough grasp of the concepts of unconditional probability, conditional probability, joint probability, and the relationship among them is necessary. Christopher Ting QF 603 October 14, 2017 3/22

Chapter 2. Learning Outcomes of QA01 Michael Miller, Mathematics and Statistics for Financial Risk Management, 2nd Edition (Hoboken, NJ: John Wiley & Sons, 2013). Describe and distinguish between continuous and discrete random variables. Define and distinguish between the probability density function, the cumulative distribution function, and the inverse cumulative distribution function. Calculate the probability of an event given a discrete probability function. Distinguish between independent and mutually exclusive events. Define joint probability, describe a probability matrix, and calculate joint probabilities using probability matrices. Define and calculate a conditional probability, and distinguish between conditional and unconditional probabilities. Christopher Ting QF 603 October 14, 2017 4/22

Events, Random Variables, and Probability Distribution An event in probability theory refers to something of interest for the analyst, and its occurrence is uncertain. An outcome is a realization of one possible result out of many possibilities. Mutually exclusive events are events that cannot happen at the same time. Exhaustive events are event that include all possible outcomes. In quantitative analysis, a random variable is a mapping from the space of events to a number. A probability distribution describes the probabilities of all the possible outcomes for a random variable. Christopher Ting QF 603 October 14, 2017 5/22

Relevant Examples Intra-day trading Outcome 1: The signal/forecast generated by an algorithmic system is correct. Outcome 2: The signal/forecast generated by an algorithmic system is incorrect. Trinomial tree Moody s long-term credit rating 21 outcomes: Aaa, Aa1, Aa2, Aa3, A1, A2, A3, Baa1, Baa2, Baa3, Ba1, Ba2, Ba3, B1, B2, B3, Caa1, Caa2, Caa3, Ca, C. Corporate Earnings Three outcomes: better than, equal to, or worst than consensus estimate Daily return r given daily volatility σ Outcomes: 1 < r 3σ, 3σ < r 2σ, 2σ < r σ, σ < r 0, 0 < r σ, σ < r 2σ, 2σ < r 3σ, r > 3σ Christopher Ting QF 603 October 14, 2017 6/22

Discrete vs. Continuous Random Variables A discrete random variable X can take on only a countable number of values. P(X = x i ) = p i, i = 1, 2,..., n. A continuous random variable X can take on any value within a given range. P(r 1 < X < r 2 ) = p. The probability of X being between r 1 and r 2 is equal to p. Christopher Ting QF 603 October 14, 2017 7/22

Probability Density Functions For a continuous random variable we can define a probability density function (PDF), which tells us the likelihood of outcomes occurring between any two points. For the probability p of X lying between r 1 and r 2, we define the density function f(x) as follows: r2 r 1 f(x) dx = p. Christopher Ting QF 603 October 14, 2017 8/22

Sample Problem Suppose the probability density function for the price of a zero coupon bond in percentage point x of the par or face value is, for 0 < x 3/2. f(x) = 8 9 x, 1 Do the probabilities sum to 1? 2 What is the probability that the price of the bond is between 90% and 100%? Christopher Ting QF 603 October 14, 2017 9/22

Cumulative Distribution Functions (CDF) A cumulative distribution function tells us the probability of a random variable being less than a certain value. By integrating the probability density function from its lower bound to the certain value a, the CDF is obtained. F (a) = a f(x) dx = P (X a). We emphasize that 0 F (x) 1, and F (x) is non-decreasing. df (x) By the fundamental theorem of calculus, f(x) = dx. Moreover, P ( a < X b ) = b a f(x) dx = F (b) F (a). The probability that a random variable is greater than a certain value a is P ( X > a ) = 1 F (a). Christopher Ting QF 603 October 14, 2017 10/22

Inverse Cumulative Distribution Functions Let F (a) be the cumulative distribution function. We define the inverse function F 1 (p), the inverse cumulative distribution, as follows: F (a) = p F 1 (p) = a. The inverse distribution function is also called the quantile function. The 95-th percentile is F 1 (0.95). Properties of F 1 (p) 1 F 1 (p) is non-decreasing 2 F 1 (y) x if and only if y F (x). 3 If Y has a uniform distribution in the interval [0, 1], then F 1 (Y ) is a random variable with distribution F. Christopher Ting QF 603 October 14, 2017 11/22

Normal Distribution CDF Source: https://en.wikipedia.org/wiki/file:normal_distribution_cdf.svg Christopher Ting QF 603 October 14, 2017 12/22

Sample Problem Consider the cumulative distribution function for 0 a 10, F (a) = a2 100. 1 Calculate the inverse cumulative distribution function. 2 Find the value of a such that 25% of the distribution is less than or equal to a. Christopher Ting QF 603 October 14, 2017 13/22

Wikipedia Example The cumulative distribution function of Exponential(λ) (i.e. intensity λ and expected value (mean) 1/λ) is { 1 e F (x; λ) = λx, if x 0; 0, if x < 0. 1 Find the probability density function. 2 Find the quantile function for Exponential(λ). 3 Suppose λ = ln(2). Find the median. Christopher Ting QF 603 October 14, 2017 14/22

Mutually Exclusive Events For a given random variable, the probability of any of two mutually exclusive events A and B occurring is just the sum of their individual probabilities. P ( A B ) = P(A) + P(B). It is the probability of either A or B occurring, which is true only for mutually exclusive events. Question: Calculate the probability that a stock return is either below -10% or above 10%, given that P ( R < 10% ) = 14%, P ( R > 10% ) = 17%, Christopher Ting QF 603 October 14, 2017 15/22

Independent Events and Joint Probability What happens when we have more than one random variable? Event: It rains tomorrow and the return on stock SIA is greater than 0.5%? If the outcome of one random variable is not influenced by the outcome of the other random variable, then we say those variables are independent. The joint probability of W and R is such that P ( W = rain and R > 0.5% ) = P ( rain R > 0.5% ) = P ( rain ) P ( R > 0.5% ). Question: According to the most recent weather forecast, there is a 20% chance of rain tomorrow. The probability that SIA returns more than 0.5% on any given day is 40%. The two events are independent. What is the probability that it rains and SIA returns more than 0.5% tomorrow? Christopher Ting QF 603 October 14, 2017 16/22

Probability Matrices When dealing with the joint probabilities of two variables, it is often convenient to summarize the various probabilities in a probability matrix or probability table. Example: Stock Grading by Equity Analyst and Credit Rating Agency Stock Outperform Underperform Total % Upgrade 15% 5% 20% Bonds No Change 30% 25% 55% Downgrade 5% 20% 25% Total % 50% 50% 100% Christopher Ting QF 603 October 14, 2017 17/22

Sample Problem Bonds versus Stock Matrix Stock Outperform Underperform Total % Upgrade 5% 0% 5% Bonds No Change 40% Y% Z% Downgrade X% 30% 35% Total % 50% 50% 100% What are the values of X, Y, and Z? Christopher Ting QF 603 October 14, 2017 18/22

Conditional Probability What is the probability that the stock market is up given that it is raining? P ( M = up W = rain ) Using the conditional probability, we can calculate the probability that it will rain and that the market will be up. P ( M = up and W = rain ) = P ( M = up W = rain ) P ( W = rain ). P ( M = up and W = rain ) = P ( W = rain M = up ) P ( M = up ). Christopher Ting QF 603 October 14, 2017 19/22

Independence Another way to define the concept of independence: If P ( M = up W = rain ) = P ( M = up ), the two random variables, M and W, are independent. Show that if M and W are independent, then P ( M = up and W = rain ) = P ( M = up ) P ( W = rain ). Christopher Ting QF 603 October 14, 2017 20/22

Using Conditional Probabilities We can also use conditional probabilities to calculate unconditional probabilities. On any given day, either it rains or it does not rain. The probability that the market will be up, then, is simply the probability of the market being up when it is raining plus the probability of the market being up when it is not raining. P ( M = up ) = P ( M = up and W = rain ) + P ( M = up and W = rain ) = P ( M = up W = rain ) P ( W = rain ) + P ( M = up W = rain ) P ( W = rain ). In general, if a random variable X has n possible values, x 1, x 2,..., x n, we have the law of total probability: P ( Y ) n = P ( Y ) ( ) X = xi P X = xi. i=1 Christopher Ting QF 603 October 14, 2017 21/22

Important Concepts Event, Outcome, Random Variable Probability Mass Function vs. Probability Density Function Cumulative Distribution Function Inverse Cumulative Distribution Function Conditional, Joint, and Marginal Probabilities Connected in Bayes Theorem f Y X (y x) = f X,Y (x, y) f X (x) Independent events Mutually exclusive events Christopher Ting QF 603 October 14, 2017 22/22