Chapter 2 Random variables 2.1 Random variables Definition. Suppose that S={e} is the sampling space of random trial, if X is a real-valued function.

Slides:



Advertisements
Similar presentations
Statistics review of basic probability and statistics.
Advertisements

Important Random Variables Binomial: S X = { 0,1,2,..., n} Geometric: S X = { 0,1,2,... } Poisson: S X = { 0,1,2,... }
Random Variable A random variable X is a function that assign a real number, X(ζ), to each outcome ζ in the sample space of a random experiment. Domain.
Chapter 5 Discrete Random Variables and Probability Distributions
Flipping an unfair coin three times Consider the unfair coin with P(H) = 1/3 and P(T) = 2/3. If we flip this coin three times, the sample space S is the.
Use of moment generating functions. Definition Let X denote a random variable with probability density function f(x) if continuous (probability mass function.
Chapter 4 Discrete Random Variables and Probability Distributions
Chapter 1 Probability Theory (i) : One Random Variable
Sampling Distributions
Probability Densities
Review.
Chapter 6 Continuous Random Variables and Probability Distributions
Probability Distributions
A random variable that has the following pmf is said to be a binomial random variable with parameters n, p The Binomial random variable.
Continuous Random Variables and Probability Distributions
Chapter 5 Continuous Random Variables and Probability Distributions
Week 51 Theorem For g: R  R If X is a discrete random variable then If X is a continuous random variable Proof: We proof it for the discrete case. Let.
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 4 Continuous Random Variables and Probability Distributions.
Chapter 21 Random Variables Discrete: Bernoulli, Binomial, Geometric, Poisson Continuous: Uniform, Exponential, Gamma, Normal Expectation & Variance, Joint.
Lecture 28 Dr. MUMTAZ AHMED MTH 161: Introduction To Statistics.
Chapter 4 Continuous Random Variables and Probability Distributions
The Binomial, Poisson, and Normal Distributions Modified after PowerPoint by Carlos J. Rosas-Anderson.
STAT 552 PROBABILITY AND STATISTICS II
Binomial and Related Distributions 學生 : 黃柏舜 學號 : 授課老師 : 蔡章仁.
Functions of Random Variables. Methods for determining the distribution of functions of Random Variables 1.Distribution function method 2.Moment generating.
Chapter 6: Probability Distributions
Continuous Random Variables and Probability Distributions
Tch-prob1 Chap 3. Random Variables The outcome of a random experiment need not be a number. However, we are usually interested in some measurement or numeric.
Dept of Bioenvironmental Systems Engineering National Taiwan University Lab for Remote Sensing Hydrology and Spatial Modeling STATISTICS Random Variables.
4.2 Variances of random variables. A useful further characteristic to consider is the degree of dispersion in the distribution, i.e. the spread of the.
Continuous Probability Distributions  Continuous Random Variable  A random variable whose space (set of possible values) is an entire interval of numbers.
PROBABILITY & STATISTICAL INFERENCE LECTURE 3 MSc in Computing (Data Analytics)
Random Sampling, Point Estimation and Maximum Likelihood.
Random Variables Numerical Quantities whose values are determine by the outcome of a random experiment.
Chapter 3 Random vectors and their numerical characteristics.
Continuous Distributions The Uniform distribution from a to b.
BINOMIALDISTRIBUTION AND ITS APPLICATION. Binomial Distribution  The binomial probability density function –f(x) = n C x p x q n-x for x=0,1,2,3…,n for.
CHAPTER Discrete Models  G eneral distributions  C lassical: Binomial, Poisson, etc Continuous Models  G eneral distributions 
Chapter 5.6 From DeGroot & Schervish. Uniform Distribution.
2.4 Continuous r.v. Suppose that F(x) is the distribution function of r.v. X , if there exists a nonnegative function f(x) , (- 
1 Since everything is a reflection of our minds, everything can be changed by our minds.
Expectation for multivariate distributions. Definition Let X 1, X 2, …, X n denote n jointly distributed random variable with joint density function f(x.
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.
1 Continuous Probability Distributions Continuous Random Variables & Probability Distributions Dr. Jerrell T. Stracener, SAE Fellow Leadership in Engineering.
Stats Probability Theory Summary. The sample Space, S The sample space, S, for a random phenomena is the set of all possible outcomes.
1 3. Random Variables Let ( , F, P) be a probability model for an experiment, and X a function that maps every to a unique point the set of real numbers.
1 3. Random Variables Let ( , F, P) be a probability model for an experiment, and X a function that maps every to a unique point the set of real numbers.
Expectation. Let X denote a discrete random variable with probability function p(x) (probability density function f(x) if X is continuous) then the expected.
INTRODUCTORY MATHEMATICAL ANALYSIS For Business, Economics, and the Life and Social Sciences  2011 Pearson Education, Inc. Chapter 16 Continuous Random.
Exam 2: Rules Section 2.1 Bring a cheat sheet. One page 2 sides. Bring a calculator. Bring your book to use the tables in the back.
Random Variable The outcome of an experiment need not be a number, for example, the outcome when a coin is tossed can be 'heads' or 'tails'. However, we.
Chapter 3 Multivariate Random Variables
Sampling and estimation Petter Mostad
Probability Theory Modelling random phenomena. Permutations the number of ways that you can order n objects is: n! = n(n-1)(n-2)(n-3)…(3)(2)(1) Definition:
Chapter 4. Random Variables - 3
Continuous Random Variables and Probability Distributions
Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Chapter 5 Discrete Random Variables.
Chapter 6 Large Random Samples Weiqi Luo ( 骆伟祺 ) School of Data & Computer Science Sun Yat-Sen University :
Chapter 5 Special Distributions Weiqi Luo ( 骆伟祺 ) School of Data & Computer Science Sun Yat-Sen University :
2.2 Discrete Random Variables 2.2 Discrete random variables Definition 2.2 –P27 Definition 2.3 –P27.
1 Chapter 4 Mathematical Expectation  4.1 Mean of Random Variables  4.2 Variance and Covariance  4.3 Means and Variances of Linear Combinations of Random.
Chapter 4 Discrete Random Variables and Probability Distributions
Random Variables By: 1.
Jiaping Wang Department of Mathematical Science 04/22/2013, Monday
ONE DIMENSIONAL RANDOM VARIABLES
3 Discrete Random Variables and Probability Distributions
Random Variables.
The Bernoulli distribution
3.1 Expectation Expectation Example
Continuous Distributions
Presentation transcript:

Chapter 2 Random variables

2.1 Random variables Definition. Suppose that S={e} is the sampling space of random trial, if X is a real-valued function with domain S, i.e. for each e  S , there exists an unique X=X(e), then it is called that X a Random vector. Usually, we denote random variable by notation X, Y, Z or , ,  etc.. For notation convenience, From now on, we denote random variable by r.v.

2.2 Discrete random variables Definition Suppose that r.v. X assume value x 1, x 2, …, x n, … with probability p 1, p 2, …, p n, …respectively, then it is said that r.v. X is a discrete r.v. and name P{X=x k }=p k, (k=1, 2, … ) the distribution law of X. The distirbution law of X can be represented by X ~ P{X=x k }=p k, (k=1, 2, … ) , or Xx 1 x 2 … x K … P k p 1 p 2 … p k …

(1) p k  0, k = 1, 2, … ; (2) Example 1 Suppose that there are 5 balls in a bag, 2 of them are white and the others are black, now pick 3 ball from the bag without putting back, try to determine the distribution law of r.v. X, where X is the number of whithe ball among the 3 picked ball. In fact, X assumes value 0 , 1 , 2 and 2. Characteristics of distribution law

Several Important Discrete R.V. (0-1) distribution let X denote the number that event A appeared in a trail, then X has the following distribution law X ~ P{X = k} = p k (1 - p) 1 - k, (0<p<1) k = 0 , 1 or and X is said to follow a (0-1) distribution

Let X denote the numbers that event A appeared in a n-repeated Bernoulli experiment, then X is said to follow a binomial distribution with parameters n,p and represent it by X  B ( n,p). The distribution law of X is given as :

Example A soldier try to shot a bomber with probability 0.02 that he can hit the target, suppose the he independently give the target 400 shots, try to determine the probability that he hit the target at least for twice. Poisson theorem If X n ~B(n, p), (n = 0, 1, 2,…) and n is large enough, p is very small, denote =np , then Answer Let X represent the number that hit the target in 400 shots Then X ~ B(400, 0.02), thus P{X  2} = 1 - P{X = 0} - P {X = 1} = 1 - )(0.02)( )=…

Now, lets try to solve the aforementioned problem by putting =np = (400)(0.02) = 8, then approximately we have P{X  2} = 1 - P{X = 0} - P {X = 1} = 1 - (1 + 8)e - 8 = Poisson distribution X ~ P{X = k} =, k = 0, 1, 2, … (  0)

Poisson theorem indicates that Poisson distribution is the limit distribution of binomial distribution, when n is large enough and p is very small, then we can approximate binomial distribution by putting =np.

Random variable Discrete r.v. Distribution law Several important r.v.s 0-1 distribution Bionomial distribution Poisson distribution

2.3 Distribution function of r.v. Definition Suppose that X is a r.v., for any real number x , Define the probability of event {X  x}, i.e. P {X  x} the distribution function of r.v. X, denote it by F(x), i.e. F(x) = P {X  x}.

It is easy to find that for a, b (a<b), P {a<X  b} = P{X  b} - P{X  a} = F(b) - F(a). For notation convenience, we usually denote distribution fucntion by d.f.

Characteristics of d.f. 1. If x 1 <x 2, then F(x 1 )  F(x 2 ); 2. for all x , 0  F(x)  1 , and 3. right continuous : for any x , Conversely, any function satisfying the above three characteristics must be a d.f. of a r.v.

Example1 Suppose that X has distribution law given by the table X012 P Try to determine the d.f. of X

For discrete distributed r.v., X ~ P{X= x k } = p k, k = 1, 2, … the distribution function of X is given by

Suppose that the d.f. of r.v. X is specified as follows, Try to determine a,b and

Is there a more intuitive way to express the distribution Law of a r.v. ? Try to observe the following graph ab

2.4 Continuous r.v. Probability density function Definition Suppose that F(x) is the distribution function of r.v. X , if there exists a nonnegative function f(x) , (-  <x<+  ) , such that for any x , we have then it is said that X a continuous r.v. and f(x) the density function of X, i.e. X ~ f(x), (-  <x<+  )

The geometric interpretation of density function

2. Characteristics of density function (1 f(x)  0 , (-  <x<  ) ; (2) (1) and (2) are the sufficient and necessary properties of a density function Suppose the density function of r.v. X is Try to determine the value of a.

(3) If x is the continuous points of f( x ), then Suppose that the d.f. of r.v. X is specified as follows, try to determine the density function f(x)

( 4 ) For any b , if X ~ f(x) , (-  <x<  ) , then P{X=b} = 0 。 And

Example 1. Suppose that the density function of X is specified by Try to determine 1)the d.f. F(x), 2)P{X  (0.5,1.5)}

Distribution function Monotonicity Standardized Right continuous Density function F(x)…f(x) Nonnegative P{a<X<b}

Suppose that the distribution function of X is specified by Try to determine (1) P{X<2},P{0<X<3},P{2<X<e-0.1}. (2)Density function f(x)

1. Uniformly distribution if X ~ f(x) = It is said that X are uniformly distributed in interval (a, b) and denote it by X~U(a, b) For any c, d (a<c<d<b) , we have Several Important continuous r.v.

2. Exponential distribution If X ~ It is said that X follows an exponential distribution with parameter >0, the d.f. of exponential distribution is

Example Suppose the age of a electronic instrument is X (year), which follows an exponential distribution with parameter 0.5, try to determine (1)The probability that the age of the instrument is more than 2 years. (2)If the instrument has already been used for 1 year and a half, then try to determine the probability that it can be use 2 more years.

The normal distribution are one the most important distribution in probability theory, which is widely applied In management, statistics, finance and some other ereas. 3. Normal distribution A B Suppose that the distance between A , B is  , the observed value of X is X, then what is the density function of X ?

where  is a constant and  >0 , then, X is said to follows a normal distribution with parameters  and  2 and represent it by X ~ N( ,  2 ). Suppose that the density fucntion of X is specified by

(1) symmetry the curve of density function is symmetry with respect to x=  and f(  ) = maxf(x) =. Two important characteristics of Normal distribution

(2)  influences the distribution  , the curve tends to be flat ,  , the curve tends to be sharp ,

4.Standard normal distribution A normal distribution with parameters  = 0 and  2 = 1 is said to follow standard normal distribution and represented by X~N(0, 1) 。

and the d.f. is given by the density function of normal distribution is

The value of  (x) usually is not so easy to compute directly, so how to use the normal distribution table is important. The following two rules are essential for attaining this purpose. Z~N ( 0 , 1 ),  ( 0.5)=0.6915, P{1.32<Z<2.43}=  (2.43)-  (1.32)= 注: (1)  (x) = 1 -  ( - x) ; (2) 若 X ~ N( ,  2 ) ,则

1 X~N(-1,2 2 ),P{-2.45<X<2.45}=? 2. X  N( ,  2 ), P{  -3  <X<  +3  }? EX2 tells us the important 3  rules, which are widely applied in real world. Sometimes we take P{|X-  |≤3  } ≈1 and ignore the probability of {|X-  |>3  }

Example The blood pressure of women at age 18 are normally distributed with N(110,12 2 ).Now, choose a women from the population, then try to determine (1) P{X x}<0.05

Distribution law of the function of discrete r.v.s Distribution of the function of r.v.s Suppose that X ~ P{X = x k } = p k, k = 1, 2, … and y = g(x) is a real valued function, then Y = g(X) is also a r.v., try to determine the law of Y.. Example X PkPk Determine the law of Y=X 2 Y PkPk 1 0

or Y = g(X) ~ P{Y = g(x k )} = p k , k = 1, 2, … Generally X PkPk Y=g(X)

Density function of the function of continuous r.v. 1. If X  f(x),-  < x< + , Y=g(X), then one can try to determine the density function, one can determine the d.f. of Y firstly F Y (y) = P{Y  y} = P {g(X)  y} = and differentiate w.r.t. y yields the density funciton

Example Let X  U(-1,1), tyr to determine the d.f. and density function of Y=X 2 If y<0 If 0≤y<1 If y≥1

Mathematical expectation Definition 1. If X~P{X=x k }=p k, k=1,2,…n, define the mathematical expectation of r.v. X or mean of X.

Definition 2. If X~P{X=x k }=p k, k=1,2,…, and define the mathematical expectation of r.v. X

Example 2 Toss an urn and denote the points by X, try to determine the mathematical expectation of X. Definition 3 Suppose that X~f(x), -  <x< , and the mathematical expectation of r.v. X then define

Example 3. Suppose that r.v. X follows Laplace distribution with density function Try to determine E(X).

Mathematical expectation of several important r.v.s distribution EX=p 2. Binomial distribution B(n, p)

3.Poisson distribution 4. Uniform distribution U(a, b)

5.Exponential distribution

6. Normal distribution N( ,  2 )

EX 1 Suppose that the distribution law of X Try to determine the mathematical expectation of Y=X 2 X PkPk Y PkPk 1 0 Mathematical expectation of the functions of r.v.s

Theorem 1 let X~P{X=x k }=p k, k=1,2,…,then the mathematical expectation of Y=g(X) is given by the following equation and denoted by E(g(X))

Answer Y=ax is strictly monotonic with respect to x with inverse function Thus the density function of Y is given by EX2 : Suppose that r.v. X follows standardized distribution Try to determine the mathematical expectation of Y=aX+b

Theorem 2 If X~f(x), -  <x< , the mathematical expectation of Y=g(X) is specified as

Suppose that X follows N(0 , 1) distribution, try to determine E(X 2 ), E(X 3 ) and E(X 4 )

1. E(c)=c, where c is a constant; 2 。 E(cX)=cE(X), c is a constant. Properties of mathematical expectation Proof. Let X~f(x), then

Example 2. Some disease will occur with probability 1% , investigate 1000 people now, it is necessary to check the blood. The method is clarified these people into ten group with each group 100 and check the mixed blood sample. If the result is negative, it is not need to do any test any more, if it is positive, then,it is necessary to test each blood sample respectively, try to determine the average times needed for the test. Let X j is the number to be taken of j th group, and X the number to be taken in 1000 people, then XjXj PjPj 1 101

Variance Definition 1 Suppose that X is a r.v. with EX 2 <∞, define E (X-EX) 2 the variance of r.v. X and denote it by DX E (X-EX) 2 = E [X 2 -2EXEX +E 2 X ]=EX 2 - E 2 X

The variance of several important r.v.s (0-1) distribution with P(X=0)=p, then DX=pq Binomial distribution B(n,p), then DX=npq Poisson distribution with parameter then, DX=EX=

The variance of several important r.v.s Uniform distribution: Suppose that r.v. X is uniformly distributed on interval [a,b], then Normal distribution: then Exponential distribution: then

Definition of mathematical expectation Properties of mathematical expectation Mathematical expectation of the functions of r.v. Several important expectation