Presentation is loading. Please wait.

Presentation is loading. Please wait.

1 ECON 240A Power 5. 2 Last Tuesday & Lab Two Discrete Binomial Probability Distribution Discrete Binomial Probability Distribution.

Similar presentations


Presentation on theme: "1 ECON 240A Power 5. 2 Last Tuesday & Lab Two Discrete Binomial Probability Distribution Discrete Binomial Probability Distribution."— Presentation transcript:

1 1 ECON 240A Power 5

2 2 Last Tuesday & Lab Two Discrete Binomial Probability Distribution Discrete Binomial Probability Distribution

3 3 Three Flips of a Fair Coin knprobabilitycumulative 030.125 130.3750.5 230.3750.875 330.1251

4

5 5

6 6 Moments

7 7 Moments Var(c*k] =E[c*k-E(ck)] 2 = E{c[k-E(k)} 2 Var(c*k] =E[c*k-E(ck)] 2 = E{c[k-E(k)} 2 Var[c*k] = E{c 2 *[k-E(k)] 2 = c 2 *E[k-E(k)] 2 Var[c*k] = E{c 2 *[k-E(k)] 2 = c 2 *E[k-E(k)] 2 Var[c*k] = c 2 *Var(k) Var[c*k] = c 2 *Var(k)

8 8 The Normal Distribution

9 9 Outline The cumulative distribution function, or sigmoid (S-shaped curve) The cumulative distribution function, or sigmoid (S-shaped curve) The normal distribution as an approximation to the binomial The normal distribution as an approximation to the binomial The standardized normal variable, z The standardized normal variable, z sample means sample means The distribution of the sample mean: the normal distribution The distribution of the sample mean: the normal distribution

10

11 11

12 12 Probability Density Function

13 13 Cumulative Distribution Function

14 14 Cumulative Distribution Function The probability of getting two or less heads in five flips is 0.5 The probability of getting two or less heads in five flips is 0.5 can use the cumulative distribution function can use the cumulative distribution function can use the probability density function and add the probabilities for 0, 1, and 2 heads can use the probability density function and add the probabilities for 0, 1, and 2 heads the probability of getting two heads or three heads is the probability of getting two heads or three heads is can add the probabilities for 2 heads and three heads from the probability density function can add the probabilities for 2 heads and three heads from the probability density function

15 15 Cumulative Distribution Function

16

17 17 Cumulative Distribution Function the probability of getting two heads or three heads is: the probability of getting two heads or three heads is: can add the probabilities for 2 heads and three heads from the probability density function can add the probabilities for 2 heads and three heads from the probability density function can use the probability of getting up to 3 heads, P(3 or less heads) from the cumulative distribution function (CDF) and subtract the probability of getting up to one head P(1 or less heads] can use the probability of getting up to 3 heads, P(3 or less heads) from the cumulative distribution function (CDF) and subtract the probability of getting up to one head P(1 or less heads]

18 18 Probability Density Function

19

20

21 21 Cumulative Distribution Function

22 22 For the Binomial Distribution Can use a computer as we did in Lab Two Can use a computer as we did in Lab Two Can use Tables for the cumulative distribution function of the binomial such as Table 1 in the text in Appendix B, p. B-1 Can use Tables for the cumulative distribution function of the binomial such as Table 1 in the text in Appendix B, p. B-1 need a table for each p and n. need a table for each p and n.

23 23

24 24 Normal Approximation to the binomial Fortunately, for large samples, we can approximate the binomial with the normal distribution, as we saw in Lab Two Fortunately, for large samples, we can approximate the binomial with the normal distribution, as we saw in Lab Two

25 Binomial Probability Density Function

26 Binomial Cumulative Distribution Function

27 27 The Normal Distribution What would the normal density function look like if it had the same expected value and the same variance as this binomial distribution What would the normal density function look like if it had the same expected value and the same variance as this binomial distribution from Power 4, E(h) = n*p =40*1/2=20 from Power 4, E(h) = n*p =40*1/2=20 from Power 4, VAR[h] = n*p*(1-p) = 40*1/2*1/2 =10 from Power 4, VAR[h] = n*p*(1-p) = 40*1/2*1/2 =10

28

29

30

31

32 Normal Approximation to the Binomial: De Moivre This is the probability that the number of heads will fall in the interval a through b, as determined by the normal cumulative distribution function, using a mean of n*p, and a standard deviation equal to the square root of n*p*(1-p), i.e. the square root of the variance of the binomial distribution. The parameter 1/2 is a continuity correction since we are approximating a discrete function with a continuous one, and was the motivation of using mean 19.5 instead of mean 20 in the previous slide. Visually, this seemed to be a better approximation than using a mean of 20.

33 33 Guidelines for using the normal approximation n*p>=5 n*p>=5 n*(1-p)>=5 n*(1-p)>=5

34 34 The Standardized Normal Variate Z~N(0, 1.0] Z~N(0, 1.0] E[z} = 0 E[z} = 0 VAR[Z] = 1 VAR[Z] = 1

35

36

37 Normal Variate x E(z) = 0 E(z) = 0 VAR(z) = 1 VAR(z) = 1

38

39 b

40 b

41 41 For the Normal Distribution Can use a computer as we did in Lab Two Can use a computer as we did in Lab Two Can use Tables for the cumulative distribution function of the normal such as Table 3 in the text in Appendix B, p. B-8 Can use Tables for the cumulative distribution function of the normal such as Table 3 in the text in Appendix B, p. B-8 need only one table for the standardized normal variate Z. need only one table for the standardized normal variate Z.

42 42

43 43 Sample Means

44 44 Sample Mean Example Rate of return on UC Stock Index Fund Rate of return on UC Stock Index Fund return equals capital gains or losses plus dividends return equals capital gains or losses plus dividends monthly rate of return equals price this month minus price last month, plus dividends, all divided by the price last month monthly rate of return equals price this month minus price last month, plus dividends, all divided by the price last month r(t) ={ p(t) -p(t-1) + d(t)}/p(t-1) r(t) ={ p(t) -p(t-1) + d(t)}/p(t-1)

45 45 Rate of Return UC Stock Index Fund, http://atyourservice.ucop.edu/

46 46 Table Cont.

47

48 48 Rate of Return UC Stock Index Fund, http://atyourservice.ucop.edu/

49 49 Table Cont.

50

51 51 Data Considerations Time series data for monthly rate of return Time series data for monthly rate of return since we are using the fractional change in price (ignoring dividends) times 100 to convert to %, the use of changes approximately makes the observations independent of one another since we are using the fractional change in price (ignoring dividends) times 100 to convert to %, the use of changes approximately makes the observations independent of one another in contrast, if we used price instead of price changes, the observations would be correlated, not independent in contrast, if we used price instead of price changes, the observations would be correlated, not independent

52 Cont. assume a fixed target, i.e. the central tendency of the rate is fixed, not time varying Assume the rate has some distribution, f, other than normal: r i = sample mean: Sept. ’03-Aug. ‘04, mean = 1.05

53 1.74

54 54 What are the properties of this sample mean?

55 Note: Expected value of a constant, c, times a random variable, x(i), where i indexes the observation Note: Variance of a constant times a random variable VAR[c*x] = E{cx - E[c*x]} 2 = E{c*[x-Ex]} 2 = E{c 2 [x -Ex] 2 } = c 2 *E[x-Ex] 2 = c 2 *VARx Last Time

56 Properties of Expected value: Variance

57 57 Central Limit Theorem As the sample size grows, no matter what the distribution, f, of the rate of return, r, the distribution of the sample mean approaches normality As the sample size grows, no matter what the distribution, f, of the rate of return, r, the distribution of the sample mean approaches normality

58 An interval for the sample mean

59 59 The rate of return, r i The rate of return, r i, could be distributed as uniform f[r(i)] r(i)

60 60 And yet for a large sample, the sample mean will be distributed as normal a b

61 61 Bottom Line We can use the normal distribution to calculate probability statements about sample means We can use the normal distribution to calculate probability statements about sample means

62 An interval for the sample mean calculate choose infer ?, Assume we know, or use sample standard deviation, s

63 Sample Standard Deviation If we use the sample standard deviation, s, then for small samples, approximately less then 100 observations, we use Student’s t distribution instead of the normal

64 64 Text p.253 Normal compared to t t-distribution t distribution as smple size grows

65 65 Appendix B Table 4 p. B-9


Download ppt "1 ECON 240A Power 5. 2 Last Tuesday & Lab Two Discrete Binomial Probability Distribution Discrete Binomial Probability Distribution."

Similar presentations


Ads by Google