x1 p(x1) x2 p(x2) x3 p(x3) POPULATION x p(x) ⋮ Total 1 “Density”

Slides:



Advertisements
Similar presentations
Chapter 2 Multivariate Distributions Math 6203 Fall 2009 Instructor: Ayona Chatterjee.
Advertisements

Engineering Statistics ECIV 2305 Chapter 2 Section 2.2 Continuous Random Variables.
CHAPTER Discrete Models  G eneral distributions  C lassical: Binomial, Poisson, etc Continuous Models  G eneral distributions  C.
Continuous Probability Distributions.  Experiments can lead to continuous responses i.e. values that do not have to be whole numbers. For example: height.
Engineering Statistics ECIV 2305 Chapter 2 Random Variables.
Use of moment generating functions. Definition Let X denote a random variable with probability density function f(x) if continuous (probability mass function.
Introduction to stochastic process
Engineering Statistics ECIV 2305 Section 2.3 The Expectation of a Random Variable.
Continuous Random Variables. For discrete random variables, we required that Y was limited to a finite (or countably infinite) set of values. Now, for.
Today Today: Chapter 5 Reading: –Chapter 5 (not 5.12) –Suggested problems: 5.1, 5.2, 5.3, 5.15, 5.25, 5.33, 5.38, 5.47, 5.53, 5.62.
Lesson #15 The Normal Distribution. For a truly continuous random variable, P(X = c) = 0 for any value, c. Thus, we define probabilities only on intervals.
CONTINUOUS RANDOM VARIABLES. Continuous random variables have values in a “continuum” of real numbers Examples -- X = How far you will hit a golf ball.
Probability Distributions Random Variables: Finite and Continuous A review MAT174, Spring 2004.
Probability Distributions Random Variables: Finite and Continuous Distribution Functions Expected value April 3 – 10, 2003.
Chapter 4: Joint and Conditional Distributions
Probability Distributions Continuous Random Variables.
Copyright © Cengage Learning. All rights reserved. 4 Continuous Random Variables and Probability Distributions.
LECTURE UNIT 4.3 Normal Random Variables and Normal Probability Distributions.
Starter The probability distribution of a discrete random variable X is given by: P(X = r) = 30kr for r = 3, 5, 7 P(X = r) = 0 otherwise What is the value.
PROBABILITY & STATISTICAL INFERENCE LECTURE 3 MSc in Computing (Data Analytics)
1 Normal Random Variables In the class of continuous random variables, we are primarily interested in NORMAL random variables. In the class of continuous.
K. Shum Lecture 16 Description of random variables: pdf, cdf. Expectation. Variance.
1 Lecture 4. 2 Random Variables (Discrete) Real-valued functions defined on a sample space are random vars. determined by outcome of experiment, we can.
Modular 11 Ch 7.1 to 7.2 Part I. Ch 7.1 Uniform and Normal Distribution Recall: Discrete random variable probability distribution For a continued random.
5.3 Random Variables  Random Variable  Discrete Random Variables  Continuous Random Variables  Normal Distributions as Probability Distributions 1.
Random Variables an important concept in probability.
Chapter 7 Lesson 7.3 Random Variables and Probability Distributions 7.3 Probability Distributions for Continuous Random Variables.
Chapter Four Random Variables and Their Probability Distributions
One Random Variable Random Process.
Math b (Discrete) Random Variables, Binomial Distribution.
STA347 - week 31 Random Variables Example: We roll a fair die 6 times. Suppose we are interested in the number of 5’s in the 6 rolls. Let X = number of.
CS433 Modeling and Simulation Lecture 03 – Part 01 Probability Review 1 Dr. Anis Koubâa Al-Imam Mohammad Ibn Saud University
 Random variables can be classified as either discrete or continuous.  Example: ◦ Discrete: mostly counts ◦ Continuous: time, distance, etc.
Random Variables Presentation 6.. Random Variables A random variable assigns a number (or symbol) to each outcome of a random circumstance. A random variable.
MATH 4030 – 4B CONTINUOUS RANDOM VARIABLES Density Function PDF and CDF Mean and Variance Uniform Distribution Normal Distribution.
Random Variables an important concept in probability.
Chapter 3 Discrete Random Variables and Probability Distributions  Random Variables.2 - Probability Distributions for Discrete Random Variables.3.
CY1B2 Statistics1 (ii) Poisson distribution The Poisson distribution resembles the binomial distribution if the probability of an accident is very small.
Modeling Discrete Variables Lecture 22, Part 1 Sections 6.4 Fri, Oct 13, 2006.
Chapter 4 Continuous Random Variables and Probability Distributions
Random Variables. Numerical Outcomes Consider associating a numerical value with each sample point in a sample space. (1,1) (1,2) (1,3) (1,4) (1,5) (1,6)
Chapter 3 Discrete Random Variables and Probability Distributions  Random Variables.2 - Probability Distributions for Discrete Random Variables.3.
Continuous Random Variable (1) Section Continuous Random Variable What is the probability that X is equal to x?
2.Find the turning point of the function given in question 1.
CHAPTER Discrete Models  G eneral distributions  C lassical: Binomial, Poisson, etc Continuous Models  G eneral distributions 
Lesson 99 - Continuous Random Variables HL Math - Santowski.
Lecture 21 Dr. MUMTAZ AHMED MTH 161: Introduction To Statistics.
11.3 CONTINUOUS RANDOM VARIABLES. Objectives: (a) Understand probability density functions (b) Solve problems related to probability density function.
Copyright © Cengage Learning. All rights reserved. 4 Continuous Random Variables and Probability Distributions.
Continuous Random Variables and Probability Distributions
Supplemental Lecture Notes
Continuous Random Variable
STAT 311 REVIEW (Quick & Dirty)
CONTINUOUS RANDOM VARIABLES
Cumulative distribution functions and expected values
Continuous Random Variables and Probability Distributions
Example: X = Cholesterol level (mg/dL)
Chapter Four Random Variables and Their Probability Distributions
Chapter 4 Continuous Random Variables and Probability Distributions
AP Statistics: Chapter 7
ASV Chapters 1 - Sample Spaces and Probabilities
POPULATION (of “units”)
Statistics Lecture 12.
Uniform Distributions and Random Variables
ASV Chapters 1 - Sample Spaces and Probabilities
POPULATION (of “units”)
M248: Analyzing data Block A UNIT A3 Modeling Variation.
Modeling Discrete Variables
Presentation transcript:

x1 p(x1) x2 p(x2) x3 p(x3) POPULATION x p(x) ⋮ Total 1 “Density” Example: X = Cholesterol level (mg/dL) random variable X Discrete Pop vals x pmf p(x) x1 p(x1) x2 p(x2) x3 p(x3) ⋮ Total 1 “Density” Total Area = 1 X p(x) = Probability that the random variable X is equal to a specific value x, i.e., p(x) = P(X = x) “probability mass function” (pmf) | x

x1 p(x1) x2 p(x2) x3 p(x3) x1 p(x1) x2 p(x2) x3 p(x3) POPULATION x Example: X = Cholesterol level (mg/dL) random variable X Discrete Pop vals x pmf p(x) x1 p(x1) x2 p(x2) x3 p(x3) ⋮ Total 1 Pop vals x pmf p(x) cdf F(x) = P(X  x) x1 p(x1) F(x1) = p(x1) x2 p(x2) F(x2) = p(x1) + p(x2) x3 p(x3) F(x3) = p(x1) + p(x2) + p(x3) ⋮ Total 1 increases from 0 to 1 Total Area = 1 “staircase graph” X F(x) = Probability that the random variable X is less than or equal to a specific value x, i.e., F(x) = P(X  x) “cumulative distribution function” (cdf) | x

Example: X = Cholesterol level (mg/dL) POPULATION Example: X = Cholesterol level (mg/dL) random variable X Discrete Pop vals x pmf p(x) cdf F(x) = P(X  x) x1 p(x1) F(x1) = p(x1) x2 p(x2) F(x2) = p(x1) + p(x2) x3 p(x3) F(x3) = p(x1) + p(x2) + p(x3) ⋮ Total 1 increases from 0 to 1 Calculating “interval probabilities”… X F(b) = P(X  b) F(a–) = P(X  a–) F(b) – F(a–) = P(X  b) – P(X  a–) = P(a  X  b) p(x) | a– | a | b

FUNDAMENTAL THEOREM OF CALCULUS POPULATION Pop vals x pmf p(x) cdf F(x) = P(X  x) x1 p(x1) F(x1) = p(x1) x2 p(x2) F(x2) = p(x1) + p(x2) x3 p(x3) F(x3) = p(x1) + p(x2) + p(x3) ⋮ Total 1 increases from 0 to 1 Discrete random variable X Example: X = Cholesterol level (mg/dL) Calculating “interval probabilities”… X F(b) = P(X  b) F(a–) = P(X  a–) F(b) – F(a–) = P(X  b) – P(X  a–) FUNDAMENTAL THEOREM OF CALCULUS (discrete form) = P(a  X  b) p(x) | a– | a | b

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 p(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?”

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 p(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

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 p(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?”

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?”

POPULATION Continuous Discrete random variable X “In the limit…” Time intervals = 0.5 secs Time intervals = 5.0 secs Time intervals = 2.0 secs Time intervals = 1.0 secs Example: X = Cholesterol level (mg/dL) 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.

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 As with discrete variables, the density f(x) is the height, NOT the probability p(x) = P(X = 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 cdf F(x).

F(b) F(b)  F(a) F(a) However, 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 As with discrete variables, the density f(x) is the height, NOT the probability p(x) = P(X = 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 cdf F(x).

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 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…)

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.

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).

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

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

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

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

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?”

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

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

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

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?”

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…

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…

SECTION 4.3 IN POSTED LECTURE NOTES

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…

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…

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…

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

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

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

WARNING: “IMPROPER INTEGRAL” Four Examples: 3 Consider the following probability density function (pdf)... Confirm pdf WARNING: “IMPROPER INTEGRAL”  1

WARNING: “IMPROPER INTEGRAL” Four Examples: 3 Consider the following probability density function (pdf)... Confirm pdf WARNING: “IMPROPER INTEGRAL” 

WARNING: “IMPROPER INTEGRAL” Four Examples: 3 Consider the following probability density function (pdf)... Confirm pdf WARNING: “IMPROPER INTEGRAL” 

WARNING: “IMPROPER INTEGRAL” Four Examples: 4 Four Examples: 3 Consider the following probability density function (pdf)... Confirm pdf WARNING: “IMPROPER INTEGRAL” 

WARNING: “IMPROPER INTEGRAL” Four Examples: 4 Four Examples: 3 Consider the following probability density function (pdf)... Confirm pdf WARNING: “IMPROPER INTEGRAL”   does not exist!