Probability and Sampling Theory and the Financial Bootstrap Tools (Part 1) IEF 217a: Lecture 2.b Jorion, Chapter 4 Fall 2002.

Slides:



Advertisements
Similar presentations
Chapter 13 – Boot Strap Method. Boot Strapping It is a computer simulation to generate random numbers from a sample. In Excel, it can simulate 5000 different.
Advertisements

Random variables 1. Note  there is no chapter in the textbook that corresponds to this topic 2.
Hypothesis Tests IEF 217a: Lecture 2.b Fall 2002.
6-1 Stats Unit 6 Sampling Distributions and Statistical Inference - 1 FPP Chapters 16-18, 20-21, 23 The Law of Averages (Ch 16) Box Models (Ch 16) Sampling.
© 2004 Prentice-Hall, Inc.Chap 5-1 Basic Business Statistics (9 th Edition) Chapter 5 Some Important Discrete Probability Distributions.
Chapter 5 Some Important Discrete Probability Distributions
Basic Business Statistics, 11e © 2009 Prentice-Hall, Inc. Chap 5-1 Chapter 5 Some Important Discrete Probability Distributions Basic Business Statistics.
© 2003 Prentice-Hall, Inc.Chap 5-1 Basic Business Statistics (9 th Edition) Chapter 5 Some Important Discrete Probability Distributions.
Further Random Walk Tests Fin250f: Lecture 4.2 Fall 2005 Reading: Taylor, chapter 6.1, 6.2, 6.5, 6.6, 6.7.
1 Econ 240A Power Four Last Time Probability.
Risk Measures IEF 217a: Lecture Section 3 Fall 2002.
Value At Risk IEF 217a: Lecture Section 5 Fall 2002 Jorion Chapter 5.
Probability and Sampling Theory and the Financial Bootstrap Tools (Part 2) IEF 217a: Lecture 2.b Fall 2002 Jorion chapter 4.
Slide 1 Statistics Workshop Tutorial 4 Probability Probability Distributions.
 Binomial distributions for sample counts  Binomial distributions in statistical sampling  Finding binomial probabilities  Binomial mean and standard.
Chap 5-1 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 5-1 Chapter 5 Discrete Probability Distributions Basic Business Statistics.
Statistical Inference Lab Three. Bernoulli to Normal Through Binomial One flip Fair coin Heads Tails Random Variable: k, # of heads p=0.5 1-p=0.5 For.
The discipline of statistics: Provides methods for organizing and summarizing data and for drawing conclusions based on information contained in data.
Lecture 6: Descriptive Statistics: Probability, Distribution, Univariate Data.
Probability Introduction IEF 217a: Lecture 1 Fall 2002 (no readings)
1 Econ 240A Power Four Last Time Probability.
Chapter 6 Probability.
Sets, Combinatorics, Probability, and Number Theory Mathematical Structures for Computer Science Chapter 3 Copyright © 2006 W.H. Freeman & Co.MSCS SlidesProbability.
Sets, Combinatorics, Probability, and Number Theory Mathematical Structures for Computer Science Chapter 3 Copyright © 2006 W.H. Freeman & Co.MSCS SlidesProbability.
© 2001 Prentice-Hall, Inc.Chap 5-1 BA 201 Lecture 7 The Probability Distribution for a Discrete Random Variable.
Learning Objectives Copyright © 2004 John Wiley & Sons, Inc. Sample Size Determination CHAPTER Eleven.
AP Statistics Chapter 9 Notes.
40S Applied Math Mr. Knight – Killarney School Slide 1 Unit: Statistics Lesson: ST-5 The Binomial Distribution The Binomial Distribution Learning Outcome.
1. Population Versus Sample 2. Statistic Versus Parameter 3. Mean (Average) of a Sample 4. Mean (Average) of a Population 5. Expected Value 6. Expected.
Sullivan – Fundamentals of Statistics – 2 nd Edition – Chapter 5 Section 1 – Slide 1 of 33 Chapter 5 Section 1 Probability Rules.
Montecarlo Simulation LAB NOV ECON Montecarlo Simulations Monte Carlo simulation is a method of analysis based on artificially recreating.
Statistical Experiment A statistical experiment or observation is any process by which an measurements are obtained.
1 Chapter 5 Sampling Distributions. 2 The Distribution of a Sample Statistic Examples  Take random sample of students and compute average GPA in sample.
Learning Objectives Copyright © 2002 South-Western/Thomson Learning Sample Size Determination CHAPTER thirteen.
© 2008 McGraw-Hill Higher Education The Statistical Imagination Chapter 6. Probability Theory and the Normal Probability Distribution.
Bernoulli Trials Two Possible Outcomes –Success, with probability p –Failure, with probability q = 1  p Trials are independent.
Introduction to Behavioral Statistics Probability, The Binomial Distribution and the Normal Curve.
Binomial Experiment A binomial experiment (also known as a Bernoulli trial) is a statistical experiment that has the following properties:
Binomial Probability Distribution
COMP 170 L2 L17: Random Variables and Expectation Page 1.
1.3 Simulations and Experimental Probability (Textbook Section 4.1)
Chapter 18 – Part I Sampling Distribution for Sample Proportion Statistic.
Chapter 6 The Normal Distribution. 2 Chapter 6 The Normal Distribution Major Points Distributions and area Distributions and area The normal distribution.
Stat 13 Lecture 19 discrete random variables, binomial A random variable is discrete if it takes values that have gaps : most often, integers Probability.
EAS31116/B9036: Statistics in Earth & Atmospheric Sciences Lecture 3: Probability Distributions (cont’d) Instructor: Prof. Johnny Luo
LECTURE 17 THURSDAY, 22 OCTOBER STA 291 Fall
5.1 Probability in our Daily Lives.  Which of these list is a “random” list of results when flipping a fair coin 10 times?  A) T H T H T H T H T H 
Discrete Distributions. Random Variable - A numerical variable whose value depends on the outcome of a chance experiment.
Basic Concepts of Probability
1 BA 555 Practical Business Analysis Linear Programming (LP) Sensitivity Analysis Simulation Agenda.
C4: DISCRETE RANDOM VARIABLES CIS 2033 based on Dekking et al. A Modern Introduction to Probability and Statistics Longin Jan Latecki.
Chapter 3 Statistical Models or Quality Control Improvement.
Chapter 8: Probability: The Mathematics of Chance Probability Models and Rules 1 Probability Theory  The mathematical description of randomness.  Companies.
MATH 2311 Section 3.3.
Chapter 14 Week 5, Monday. Introductory Example Consider a fair coin: Question: If I flip this coin, what is the probability of observing heads? Answer:
CHAPTER 14: Binomial Distributions*
Probability and Statistics
The Statistical Imagination
AP Statistics: Chapter 7
Chapter 16.
Statistics for the Social Sciences
Chapter 18 – Sampling Distribution Models
Probability Key Questions
Discrete Distributions
Discrete Distributions
Discrete Distributions.
Discrete & Continuous Random Variables
Discrete Distributions
Sets, Combinatorics, Probability, and Number Theory
Presentation transcript:

Probability and Sampling Theory and the Financial Bootstrap Tools (Part 1) IEF 217a: Lecture 2.b Jorion, Chapter 4 Fall 2002

Sampling Outline (1) Sampling –Coin flips and political polls –The birthday problem (a not so obvious problem) Random variables and probabilities –Rainfall –The portfolio (rainfall) problem

Financial Bootstrap Commands sample count proportion percentile histogram multiples

Sampling Classical Probability/Statistics –Random variables come from static well defined probability distributions or populations –Observe only samples from these populations Example –Fair coin: (0 1) (1/2 1/2) populations –Sample = 10 draws from this coin

Old Style Probability and Statistics Try to figure out properties of these samples using math formulas Advantage: –Precise/Mathematical Disadvantage –Complicated formulas –For relatively complex problems becomes very difficult

Bootstrap (resample) Style Probability and Statistics Go to the computer (finboot toolbox) Example coin = [ 0 ; 1] % heads tails flips = sample(coin,100) flips = sample(coin,1000) nheads = count(flips == 0) ntails = count(flips == 1);

Monte-Carlo versus Bootstrap Monte-Carlo –Assume a random variable comes from a given distribution –Use the computer and its random number generators to generate draws of this random variable

Monte-Carlo versus Bootstrap Bootstrap –Assume that sample = population –Draw random variables from this sample itself –Advantage No assumption about the distribution –Disadvantage Small amounts of data can mess this up –Many examples coming

Sampling Outline (1) Sampling –Coin flips and political polls –The birthday problem (a not so obvious problem) Random variables and probabilities –Rainfall –A first portfolio problem

The Coin Flip Example What is the chance of getting fewer than 40 heads in a 100 flips of a fair (50/50) coin? Could use probability theory, but we’ll use the computer

Coin Flip Program in Words Perform 1000 trials Each trial –Flip 100 coins –Write down how many heads Summarize –Analyze the distribution of heads –Specifically: Fraction < 40

Now to the Computer coinflip.m and the matlab editor

Application: Political Polling Heads/Tails ->O’Brien/Reich Poll 100 people, 39 for O’Brien How likely is it that the distribution is 50/50? What is the probability of sampling less than 40 in the sample of 100? Remember: it is not zero!!! Try this with smaller samples

Sampling Outline (1) Sampling –Coin flips and political polls –The birthday problem (a not so obvious problem) Random variables and probabilities –Rainfall –A portfolio problem

Birthday If you draw 30 people at random what is the probability that more two or more have the same birthday?

Birthday in Matlab Each trial days = sample(1:365,30); b = multiples(days); z(trial) = any(b>1) proportion (z == 1) on to code

Sampling Outline (1) Sampling –Coin flips and political polls –The birthday problem (a not so obvious problem) Random variables and probabilities –Rainfall –A portfolio problem

Adding Probabilities: Rainfall Example dailyrain = [80; 10 ; 5 ] probs = [0.25; 0.5; 0.25]

Sampling annualrain = sum( sample(dailyrain,365,probs))

Portfolio Problem Distribution of portfolio of size 50 Return of each stock [ -0.05; 0.0; 0.10] Prob(0.25,0.5,0.25) Portfolio is equally weighted on to matlab code (portfolio1.m)

Portfolio Problem 2 1 Stock Return –[-0.05; 0.05] with probability [0.25; 0.75] Probabilities of runs of positives –5 days of positive returns –4/5 days of positive returns on to matlab code –portfolio2.m