Download Lecture 10 - Statistics

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts
no text concepts found
Transcript
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
Chapter 5
Continuous Random Variables
•
Not all outcomes can be listed (e.g., {w1, w2, …,}) as in the case of
discrete random variable
•
Some random variables are continuous and take on infinitely many
values in an interval
•
E.g., height of an individual
Continuous Random Variables
•
•
•
•
Axioms of probability must still hold
•
Events are usually expressed in intervals for a continuous random
variable
0  P( E )  1; for any event E
P()  1
P( E )  P( F )  P( E )  P( F ) whenever E and F are mutually exclusive
Example
(Continuous Uniform Distribution)
•
Suppose X can take on any value between –1 and 1
•
Further suppose all intervals in [-1,1] of length a have the same
probability of occurring, then X has a uniform distribution on (-1,1)
•
Picture:
Distribution Function of a Continuous Random Variable
•
The distribution function of a continuous random variable X is
defined as,
•
Also called the cumulative distribution function or cdf
Properties
•
Probability of an interval:
Example
•
Suppose X~U(-1,1), with cdf F(x)=1/2(x+1) for –1<x<1
•
Find P(X<0)
•
Find P(-.5<X<.5)
•
Find P(X=0)
Example
•
Suppose X has cdf,
 x / 3, if 0  x  1
F ( x)  
( x  1) / 3, if 1  x  2
•
Find P(X<1/2)
•
Find P(.5<X<3)
Distribution Functions and Densities
•
Suppose that F(x) is the distribution function of a continuous random
variable
•
If F(x) is differentiable, then its derivative is:
f ( x)  F ' ( x) 
•
d
F ( x)
dx
f(x) is called the density function of X
Distribution Functions and Densities
•
Therefore,
a
F (a) 
 f ( x)dx

•
That is, the probability of an interval is the area under the density
curve
Example
•
Suppose X~U(0,1), with cdf F(x)=x for –1<x<1
•
What is the density of X?
•
Find P(X<.33)
Properties of the Density
Example (5-16)
•
•
Suppose X is a random variable and it is claimed that X has density
f(x)=30x2(1-x)2 for 0<x<1
Is f(x) a density?
•
If yes, find the c.d.f. of X.
Example (5-15)
•
•
Suppose X is a random variable and X has density f(x)=c(1-|x|) for
|x|<1 and c is a positive constant
Find c?
•
Draw a picture of f(x)
•
Find P(X>1/2)
Example
•
X has an exponential density:

e x if x  0
f ( x)  

 0 otherwise
•
Find F(x)
Example
•
X has an exponential density:

e x if x  0
f ( x)  

 0 otherwise
•
Find the density of Y=X1/2
Transformations
•
If Y=g(x) is a one-to-one function with inverse, g-1(x), the density of
Y can be obtained from the density of X as,
Example
•
X has an exponential density:

e x if x  0
f ( x)  

 0 otherwise
•
Find the density of Y=X1/2
Example (5-21)
•
Suppose X~U(-1,1)
•
Find the density of Y=|X|
•
Find P(-.5<Y<.75)
Related documents