Download presentation

Presentation is loading. Please wait.

Published byKaitlynn Saxton Modified about 1 year ago

1
1 Random Sampling - Random Samples

2
2 Why do we need Random Samples? Many business applications -We will have a random variable X such that the probability distribution & expected value is unknown -The only way to make use of probability is to estimate E(X) and if possible F x or f x - This can be done with random sampling

3
3 Random Samples X come from some random process. x results from a trial of the process (observation of X ) a set {x 1, x 2, , x n } of n independent observations of the same random variable X is called a random sample of size n.

4
4 Sample Mean What does a random sample tell us about a random variable? Consider random sample set {x 1, x 2, , x n } SAMPLE MEAN

5
5 Example

6
6 Important can be used as an estimate of the parameter E(X). In general, the larger the sample size n, the better will be the estimate

7
7 APPROXIMATING MASS AND DENSITY FUNCTIONS If we have a large enough sample, we can group the data and form a histogram that approximates the probability mass function (for a finite random variable) or the probability density function (for a continuous random variable).

8
8 We have used bins of width 1 and have plotted relative frequencies. The relative frequency of each value of X in the sample gives an estimate for the probability that X will assume that value. Hence, the relative frequency of a value x in the sample approximates P(X = x) = f X (x) [p.m.f - Discrete random variables] APPROXIMATING MASS FUNCTIONS - Discrete random variables

9
9 APPROXIMATING DENSITY FUNCTION- Continuous random variables Recall that the p.d.f can be used to find probabilities P(a X b) is equal to the area under the curve of the p.d.f over the interval [a,b] If we want to use a histogram approximate the p.d.f then Relative frequency of a bin= Area of the corresponding rectangle

10
10 Important But we know Area of rectangle=width x height But Relative frequency of a bin= Area of the corresponding rectangle Now the area of each rectangle represents the probability Now we must plot the adjusted relative frequencies against the mid points of the bins

11
11 Approximating the p.d.f. (Disney) Since the width is /0.03 ( )/2 Histogram function is used for normalized ratios( R norm )

12
12 Approximating the p.d.f. (Disney) Normalized ratios Height

13
13 Approximating the p.d.f. (Disney) Height Normalized ratios

14
14 How can random sampling help us price a stock option? Recall that the continuous random variable R norm gives the normalized ratio of weekly closing prices on Walt Disney stock. The sheet Sample of the file Option Focus.xls computes 417 values of this normalized ratio from our 417 weekly closing ratios. We will assume that these are independent observations of R norm, that constitute a random sample of size 417 for R norm. Random Samples, Focus on the project Probability, Mathematics, Tests, Homework, Computers Stock Option Pricing Option Focus.xls (material continues) IT C Class Project

15
15 on the project Probability, Mathematics, Tests, Homework, Computers Stock Option Pricing Random, Focus The sample mean, , of these observations is computed in the sheet Sample of Option Focus.xls. This is the same as our estimate for the ratio, R rf, which corresponds to the weekly risk-free interest rate. Since we constructed the normalized ratios to make this true, we have a check on the correctness of our work. The HISTOGRAM function is used to group the sample data for R norm, and a plot is created with the total area for all of the bars being equal to 1. This produces the bar graph, shown in the sheet Sample, which approximates the p.d.f., f norm, of R norm. Connecting the midpoints at the tops of the bars produces the line graph approximation for f norm that is shown in Sample. Our plots, which are also shown on the next page, give a visual indication for the volatility of Disney stock over the past 8 years. Option Focus.xls (material continues) IT C Class Project

16
16 WHAT SHOULD YOU DO? Each team should now plot an approximation of the probability density function for the normalized ratios of weekly closing prices for its particular stock data and should find the sample mean of the normalized ratios. on the project Probability, Mathematics, Tests, Homework, Computers Stock Option Pricing Random, Focus (material ends) Option Focus.xls IT C Class Project

17
17 Important Check class website Where you should be with the Project –Normalize the ratios of closing prices –Create a histogram of normalized ratios –Read the Requirements for the Project 2 written report –Write a draft of the Discussion of Options section of written report What’s ahead? –Incorporate your simulation results for RANDBETWEEN in the Discussion of Simulation section –Decide which assumption that you will discuss in more detail in the written report

18
18 Expected Value To consider the expected value (or mean) of a continuous random variable, we can use the probability density function(p.d.f) to give us a geometric interpretation. The expected value perfectly “balances” the area to its right with the area to its left. XX fXfX

19
19 Hw11 Estimate the E(X) for the continuous random variable X, whose p.d.f., f X is shown below. E(X)=4 (balances the area to its right with the area to its left

20
20 Bootstrapping collect a smaller sample of data points, then use a computer to simulate a much larger set.

21
21 Computer Simulations Why do simulations? –Cost benefits –Time constraints –Availability of data Which Excel functions will we need? –RANDBETWEEN() – discrete case - VLOOKUP() –IF()

22
22 Simulation, Integers Read the description of the function from the Excel menu. RANDBETWEEN FUNCTION

23
23 Simulation, Integers This process uses the function VLOOKUP, which is found in the Lookup & Reference submenu of the Function Wizard. Read the description of the function from the Excel menu. VLOOKUP FUNCTION

24
24 Simulation, Integers For our purposes, this will usually be left blank. Value in the leftmost column of table Location of table Number of the column where value is to be found Phone Log.xls Simulation. Integers: page 6 (material continues) IT C

25
25 The IF function is found under the Logical submenu of the Function Wizard.

26
26 If B12 is less than or equal to 0.5, the function returns an H. If B12 is not less than or equal to 0.5, a T is returned. Note that the desired text must be specified in quotation marks. For the stock option project we do not need quotation marks-will show later in excel Read the description of the function from the Excel menu.

27
27 More on Project Focus r 1 -a normalized ratio of the adjusted closing price at the end of the first week (will be selected randomly) initial price - $ r 1 is a value of R norm that might have occurred for the first week.

28
28 Likewise, let r 2, r 3, , r 20 be normalized ratios of adjusted closing prices for weeks 2, 3, , 20 of the option. It is stated in the project description that observations of R are all independent. Thus, the normalized ratios r 1, r 2, r 3, , and r 20 are all independent observations of R norm

29
29 random observation for the ratio r 1 r 2 r 3 r 20 c norm = $ r 1 r 2 r 3 r 20 c norm is a observation of normalized closing price, C norm. We conclude that any set of 20 observations of R determines a set of 20 observations of R norm and, therefore, an observation of C norm.

30
30 FV - the continuous random variable giving the per share value of our Walt Disney call at the end of twenty weeks, based on the normalized closing price. s 0 - strike price of $23 C norm takes on a value c norm,

31
31 Recall if closing stock price strike price Final value of Call option (Intrinsic Value of a Call) =Maximum of 0 and C – S Case 1. FV = c norm s 0 if c norm s 0, Case2. FV=0 if c norm < s 0.

32
32 20 observations of Rnorm determine an observation of C norm, which, together with the strike price, determines an observation of FV. PV - the continuous random variable giving the present value of the Disney option on January 11, The present value for a value of FV is an observation of PV. Our price for the present value of the option is the expected value of PV.

Similar presentations

© 2016 SlidePlayer.com Inc.

All rights reserved.

Ads by Google