Presentation is loading. Please wait.

Presentation is loading. Please wait.

Chapter 4 Continuous Random Variables and Probability Distributions

Similar presentations


Presentation on theme: "Chapter 4 Continuous Random Variables and Probability Distributions"— Presentation transcript:

1 Chapter 4 Continuous Random Variables and Probability Distributions
4.1 - Probability Density Functions 4.2 - Cumulative Distribution Functions and Expected Values 4.3 - The Normal Distribution 4.4 - The Exponential and Gamma Distributions 4.5 - Other Continuous Distributions 4.6 - Probability Plots

2 Probability Histogram
Reconsider the following discrete random variable… Example: X = “value shown on a single random toss of a fair die (1, 2, 3, 4, 5, 6)” X is uniformly distributed over 1, 2, 3, 4, 5, 6. Probability Table x f(x) 1 1/6 2 3 4 5 6 Probability Histogram Cumul Prob P(X  x) P(X = x) X F(x) 1/6 2/6 3/6 4/6 5/6 1 Total Area = 1 Density “What is the probability of rolling a 4?”

3 Probability Histogram “staircase graph” from 0 to 1
Reconsider the following discrete random variable… Example: X = “value shown on a single random toss of a fair die (1, 2, 3, 4, 5, 6)” X is uniformly distributed over 1, 2, 3, 4, 5, 6. Probability Table x f(x) 1 1/6 2 3 4 5 6 Probability Histogram Cumul Prob P(X  x) P(X = x) X F(x) 1/6 2/6 3/6 4/6 5/6 1 Total Area = 1 Density “What is the probability of rolling a 4?” “staircase graph” from 0 to 1

4 Consider the following continuous random variable…
Reconsider the following discrete random variable… Example: X = “value shown on a single random toss of a fair die (1, 2, 3, 4, 5, 6)” Example: X = “Ages of children from 1 year old to 6 years old” Further suppose that X is uniformly distributed over the interval [1, 6]. X is uniformly distributed over 1, 2, 3, 4, 5, 6. Probability Table x f(x) 1 1/6 2 3 4 5 6 Probability Histogram Cumul Prob P(X  x) P(X = x) X F(x) 1/6 2/6 3/6 4/6 5/6 1 Total Area = 1 Density “What is the probability of rolling a 4?”

5 Probability Histogram
Consider the following continuous random variable… Example: X = “Ages of children from 1 year old to 6 years old” Further suppose that X is uniformly distributed over the interval [1, 6]. X is uniformly distributed over 1, 2, 3, 4, 5, 6. Probability Table x f(x) 1 1/6 2 3 4 5 6 Probability Histogram Cumul Prob P(X  x) P(X = x) X F(x) 1/6 2/6 3/6 4/6 5/6 1 Total Area = 1 Density “What is the probability a child is 4 years old?” “What is the probability of rolling a 4?”

6 POPULATION “In the limit…” Time intervals = 5.0 secs Time intervals = 1.0 secs Time intervals = 2.0 secs Time intervals = 0.5 secs random variable X Continuous Example: X = “reaction time” “Pain Threshold” Experiment: Volunteers place one hand on metal plate carrying low electrical current; measure duration till hand withdrawn. we obtain a density curve Total Area = 1 SAMPLE In principle, as # individuals in samples increase without bound, the class interval widths can be made arbitrarily small, i.e, the scale at which X is measured can be made arbitrarily fine, since it is continuous.

7 Cumulative probability F(x) = P(X  x)
= Area under density curve up to x “In the limit…” we obtain a density curve 00 f(x) = probability density function (pdf) f(x)  0 Area = 1 F(x) increases continuously from 0 to 1. x x x f(x) no longer represents the probability P(X = x), as it did for discrete variables X. In fact, the zero area “limit” argument would seem to imply P(X = x) = 0 ??? (Later…) However, we can define “interval probabilities” of the form P(a  X  b), using F(x).

8 Cumulative probability F(x) = P(X  x)
= Area under density curve up to x “In the limit…” we obtain a density curve F(b) f(x) = probability density function (pdf) F(b)  F(a) F(a) f(x)  0 Area = 1 F(x) increases continuously from 0 to 1. a b a b f(x) no longer represents the probability P(X = x), as it did for discrete variables X. In fact, the zero area “limit” argument would seem to imply P(X = x) = 0 ??? (Later…) However, we can define “interval probabilities” of the form P(a  X  b), using F(x).

9 Cumulative probability F(x) = P(X  x)
= Area under density curve up to x “In the limit…” we obtain a density curve F(b) f(x) = probability density function (pdf) F(b)  F(a) F(a) f(x)  0 Area = 1 F(x) increases continuously from 0 to 1. a b a b f(x) no longer represents the probability P(X = x), as it did for discrete variables X. An “interval probability” P(a  X  b) can be calculated as the amount of area under the curve f(x) between a and b, or the difference P(X  b)  P(X  a), i.e., F(b)  F(a). (Ordinarily, finding the area under a general curve requires calculus techniques… unless the “curve” is a straight line, for instance. Examples to follow…)

10 Consider the following continuous random variable…
Example: X = “Ages of children from 1 year old to 6 years old” Further suppose that X is uniformly distributed over the interval [1, 6]. > 0  X Total Area = 1 Density Check? Base = 6 – 1 = 5 5  0.2 = 1  Height = 0.2 “What is the probability of rolling a 4?” that a random child is 4 years old?” doesn’t mean….. = 0 !!!!! The probability that a continuous random variable is exactly equal to any single value is ZERO! A single value is one point out of an infinite continuum of points on the real number line.

11 Consider the following continuous random variable…
Example: X = “Ages of children from 1 year old to 6 years old” Further suppose that X is uniformly distributed over the interval [1, 6]. X Density “What is the probability of rolling a 4?” that a random child is 4 years old?” between 4 and 5 years old?” actually means.... = (5 – 4)(0.2) = 0.2 NOTE: Since P(X = 5) = 0, no change for P(4  X  5), P(4 < X  5), or P(4 < X < 5).

12 Consider the following continuous random variable…
Example: X = “Ages of children from 1 year old to 6 years old” Further suppose that X is uniformly distributed over the interval [1, 6]. Cumulative probability F(x) = P(X  x) = Area under density curve up to x X For any x, the area under the curve is Density F(x) = 0.2 (x – 1). x

13 Consider the following continuous random variable…
Example: X = “Ages of children from 1 year old to 6 years old” Further suppose that X is uniformly distributed over the interval [1, 6]. Cumulative probability F(x) = P(X  x) = Area under density curve up to x F(x) = 0.2 (x – 1) For any x, the area under the curve is F(x) increases continuously from 0 to 1. Density F(x) = 0.2 (x – 1). (compare with “staircase graph” for discrete case) X x

14 Consider the following continuous random variable…
Example: X = “Ages of children from 1 year old to 6 years old” Further suppose that X is uniformly distributed over the interval [1, 6]. Cumulative probability F(x) = P(X  x) = Area under density curve up to x X F(x) = 0.2 (x – 1) F(5) = 0.8 Density “What is the probability of rolling a 4?” that a random child is under 5 years old? 0.8

15 Consider the following continuous random variable…
Example: X = “Ages of children from 1 year old to 6 years old” Further suppose that X is uniformly distributed over the interval [1, 6]. Cumulative probability F(x) = P(X  x) = Area under density curve up to x X F(x) = 0.2 (x – 1) Density F(4) = 0.6 “What is the probability of rolling a 4?” that a random child is under 4 years old? 0.6

16 Consider the following continuous random variable…
Example: X = “Ages of children from 1 year old to 6 years old” Further suppose that X is uniformly distributed over the interval [1, 6]. Cumulative probability F(x) = P(X  x) = Area under density curve up to x X F(x) = 0.2 (x – 1) F(5) = 0.8 Density F(4) = 0.6 “What is the probability of rolling a 4?” that a random child is between 4 and 5 years old?”

17 Consider the following continuous random variable…
Example: X = “Ages of children from 1 year old to 6 years old” Further suppose that X is uniformly distributed over the interval [1, 6]. Cumulative probability F(x) = P(X  x) = Area under density curve up to x X F(x) = 0.2 (x – 1) F(5) = 0.8 0.2 Density F(4) = 0.6 “What is the probability of rolling a 4?” that a random child is between 4 and 5 years old?” = F(5)  F(4) = 0.8 – 0.6 = 0.2

18 Consider the following continuous random variable…
Example: X = “Ages of children from 1 year old to 6 years old” Further suppose that X is uniformly distributed over the interval [1, 6].  0  Area = Base  Height = 1  Density

19 Consider the following continuous random variable…
Example: X = “Ages of children from 1 year old to 6 years old” Cumulative probability F(x) = P(X  x) = Area under density curve up to x Cumulative Distribution Function F(x) Density x x

20 Consider the following continuous random variable…
Example: X = “Ages of children from 1 year old to 6 years old” Cumulative probability F(x) = P(X  x) = Area under density curve up to x Cumulative Distribution Function F(x) Density x “What is the probability that a child is under 4 years old?” “What is the probability that a child is under 5 years old?” “What is the probability that a child is between 4 and 5?”

21 Fundamental Theorem of Calculus
A continuous random variable X corresponds to a probability density function (pdf) f(x), whose graph is a density curve. f(x) is NOT a pmf! Cumulative probability function (cdf) In summary… Fundamental Theorem of Calculus F(x) increases continuously from 0 to 1. Moreover…

22 Fundamental Theorem of Calculus
A continuous random variable X corresponds to a probability density function (pdf) f(x), whose graph is a density curve. f(x) is NOT a pmf! Cumulative probability function (cdf) In summary… Fundamental Theorem of Calculus F(x) increases continuously from 0 to 1. Moreover…

23 SECTION 4.3 IN POSTED LECTURE NOTES

24

25 Four Examples: 1 For any b > 0, consider the following probability density function (pdf)... Determine the cumulative distribution function (cdf) For any x < 0, it follows that For any it follows that…

26 Four Examples: 1 For any b > 0, consider the following probability density function (pdf)... Determine the cumulative distribution function (cdf) For any x < 0, it follows that For any it follows that… Note: For any it follows that…

27 Four Examples: 1 For any b > 0, consider the following probability density function (pdf)... Determine the cumulative distribution function (cdf)

28 Four Examples: 2 For any b > a > 0, consider the probability density function (pdf)... Determine the cumulative distrib function (cdf) For any it follows that For any it follows that For any it follows that For any it follows that

29 Four Examples: 2 For any b > a > 0, consider the probability density function (pdf)... Determine the mean Determine the cumulative distrib function (cdf) Determine the variance

30 In Chapter 4 of posted Lecture Notes, try…
Exercises - Page (continuous) Problems / 13, 14, 22 (continuous)

31 Four Examples: 3 Consider the following probability density function (pdf)... Confirm pdf

32  Four Examples: 4 Four Examples: 3
Consider the following probability density function (pdf)... Confirm pdf

33   does not exist! Four Examples: 4 Four Examples: 3
Consider the following probability density function (pdf)... Confirm pdf  does not exist!


Download ppt "Chapter 4 Continuous Random Variables and Probability Distributions"

Similar presentations


Ads by Google