PROBABILITY AND STATISTICS FOR ENGINEERING Hossein Sameti Department of Computer Engineering Sharif University of Technology Mean, Variance, Moments and.

Slides:



Advertisements
Similar presentations
CHAPTER 8 More About Estimation. 8.1 Bayesian Estimation In this chapter we introduce the concepts related to estimation and begin this by considering.
Advertisements

1 12. Principles of Parameter Estimation The purpose of this lecture is to illustrate the usefulness of the various concepts introduced and studied in.
Continuous Probability Distributions.  Experiments can lead to continuous responses i.e. values that do not have to be whole numbers. For example: height.
6. Mean, Variance, Moments and Characteristic Functions
Evaluating Hypotheses
G. Cowan Lectures on Statistical Data Analysis 1 Statistical Data Analysis: Lecture 8 1Probability, Bayes’ theorem, random variables, pdfs 2Functions of.
CHAPTER 6 Statistical Analysis of Experimental Data
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.
Variance Fall 2003, Math 115B. Basic Idea Tables of values and graphs of the p.m.f.’s of the finite random variables, X and Y, are given in the sheet.
1 10. Joint Moments and Joint Characteristic Functions Following section 6, in this section we shall introduce various parameters to compactly represent.
Continuous Probability Distribution  A continuous random variables (RV) has infinitely many possible outcomes  Probability is conveyed for a range of.
Moment Generating Functions 1/33. Contents Review of Continuous Distribution Functions 2/33.
Short Resume of Statistical Terms Fall 2013 By Yaohang Li, Ph.D.
HAWKES LEARNING SYSTEMS math courseware specialists Copyright © 2010 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Chapter 8 Continuous.
1 As we have seen in section 4 conditional probability density functions are useful to update the information about an event based on the knowledge about.
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.
1 1. Basics Probability theory deals with the study of random phenomena, which under repeated experiments yield different outcomes that have certain underlying.
Random Variables & Probability Distributions Outcomes of experiments are, in part, random E.g. Let X 7 be the gender of the 7 th randomly selected student.
PROBABILITY & STATISTICAL INFERENCE LECTURE 3 MSc in Computing (Data Analytics)
Moment Generating Functions
Random Sampling, Point Estimation and Maximum Likelihood.
PROBABILITY AND STATISTICS FOR ENGINEERING Hossein Sameti Department of Computer Engineering Sharif University of Technology Two Functions of Two Random.
QBM117 Business Statistics Probability and Probability Distributions Continuous Probability Distributions 1.
Some Useful Continuous Probability Distributions.
1 7. Two Random Variables In many experiments, the observations are expressible not as a single quantity, but as a family of quantities. For example to.
1 5. Functions of a Random Variable Let X be a r.v defined on the model and suppose g(x) is a function of the variable x. Define Is Y necessarily a r.v?
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.
Continuous Distributions The Uniform distribution from a to b.
1 Let X represent a Binomial r.v as in (3-42). Then from (2-30) Since the binomial coefficient grows quite rapidly with n, it is difficult to compute (4-1)
PROBABILITY AND STATISTICS FOR ENGINEERING Hossein Sameti Department of Computer Engineering Sharif University of Technology.
Multiple Random Variables Two Discrete Random Variables –Joint pmf –Marginal pmf Two Continuous Random Variables –Joint Distribution (PDF) –Joint Density.
1 Two Functions of Two Random Variables In the spirit of the previous lecture, let us look at an immediate generalization: Suppose X and Y are two random.
PROBABILITY AND STATISTICS FOR ENGINEERING Hossein Sameti Department of Computer Engineering Sharif University of Technology Principles of Parameter Estimation.
1 Functions of a Random Variable Let X be a r.v defined on the model and suppose g(x) is a function of the variable x. Define Is Y necessarily a r.v? If.
PROBABILITY AND STATISTICS FOR ENGINEERING Hossein Sameti Department of Computer Engineering Sharif University of Technology Functions of a Random Variable.
PROBABILITY AND STATISTICS FOR ENGINEERING Hossein Sameti Department of Computer Engineering Sharif University of Technology Two Random Variables.
1 6. Mean, Variance, Moments and Characteristic Functions For a r.v X, its p.d.f represents complete information about it, and for any Borel set B on the.
1 8. One Function of Two Random Variables Given two random variables X and Y and a function g(x,y), we form a new random variable Z as Given the joint.
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.
CONTINUOUS RANDOM VARIABLES
1 Introduction to Statistics − Day 4 Glen Cowan Lecture 1 Probability Random variables, probability densities, etc. Lecture 2 Brief catalogue of probability.
1 6. Mean, Variance, Moments and Characteristic Functions For a r.v X, its p.d.f represents complete information about it, and for any Borel set B on the.
Probability and Moment Approximations using Limit Theorems.
Joint Moments and Joint Characteristic Functions.
One Function of Two Random Variables
CHAPTER 2.3 PROBABILITY DISTRIBUTIONS. 2.3 GAUSSIAN OR NORMAL ERROR DISTRIBUTION  The Gaussian distribution is an approximation to the binomial distribution.
G. Cowan Lectures on Statistical Data Analysis Lecture 9 page 1 Statistical Data Analysis: Lecture 9 1Probability, Bayes’ theorem 2Random variables and.
Lecture 8: Measurement Errors 1. Objectives List some sources of measurement errors. Classify measurement errors into systematic and random errors. Study.
The Exponential and Gamma Distributions
CONTINUOUS RANDOM VARIABLES
3.1 Expectation Expectation Example
Mean & Variance of a Distribution
7. Two Random Variables In many experiments, the observations are expressible not as a single quantity, but as a family of quantities. For example to record.
5. Functions of a Random Variable
5. Functions of a Random Variable
3. Random Variables Let (, F, P) be a probability model for an experiment, and X a function that maps every to a unique point.
11. Conditional Density Functions and Conditional Expected Values
8. One Function of Two Random Variables
7. Two Random Variables In many experiments, the observations are expressible not as a single quantity, but as a family of quantities. For example to record.
11. Conditional Density Functions and Conditional Expected Values
9. Two Functions of Two Random Variables
7. Two Random Variables In many experiments, the observations are expressible not as a single quantity, but as a family of quantities. For example to record.
Berlin Chen Department of Computer Science & Information Engineering
8. One Function of Two Random Variables
Continuous Distributions
Continuous Random Variables: Basics
Presentation transcript:

PROBABILITY AND STATISTICS FOR ENGINEERING Hossein Sameti Department of Computer Engineering Sharif University of Technology Mean, Variance, Moments and Characteristic Functions

Sharif University of Technology 2 Mean and Variance  p.d.f of a r.v represents complete information about it.  quite often it is desirable to characterize the r.v in terms of its average behavior.  We introduce two parameters -Mean -Variance  represent the overall properties of the r.v and its p.d.f.

Sharif University of Technology 3 Mean  Mean or the Expected Value of a r.v X is defined as  If X is a discrete-type r.v,  Mean represents the average value of the r.v in a very large number of trials. This is the midpoint of the interval (a,b). Example: Uniform Distribution

Sharif University of Technology 4 Mean Example: Exponential Distribution

Sharif University of Technology 5 Mean Example: Poisson Distribution

Sharif University of Technology 6 Mean Example: Binomial Distribution

Sharif University of Technology 7 Mean Example: Normal Distribution

Sharif University of Technology 8 Functions of r.vs  Given  suppose defines a new r.v with p.d.f  Y has a mean  To determine we don’t need to determine  Recall that for any y, where represent the multiple solutions of the equation  This can be rewritten as where the terms form nonoverlapping intervals.

Sharif University of Technology 9 Functions of r.vs – continued  Hence  and hence as y covers the entire y -axis,  the corresponding Δ x ’s are nonoverlapping, and they cover the entire x -axis.  As  Which in the discrete case, reduces to:  So, is not required to evaluate for

Sharif University of Technology 10 Functions of r.vs – continued  Determine the mean of where X is a Poisson r.v. Example is known as the kth moment of r.v X

Sharif University of Technology 11 Another Measure  Mean alone will not be able to truly represent the p.d.f of any r.v.  Consider two Gaussian r.vs and  Despite having the same mean, their p.d.fs are quite different as one is more concentrated around the mean.  We need an additional parameter to measure this spread around the mean. (a) (b)

Sharif University of Technology 12 Variance and Standard Deviation  For a r.v X with mean (positive or negative) represents the deviation of the r.v from its mean.  So, consider the quantity and its average value represents the average mean square deviation of X around its mean.  Define  Using with we have:  The standard deviation represents the root mean square spread of the r.v X around its mean. variance of the r.v X standard deviation of X

Sharif University of Technology 13 Variance and Standard Deviation This can be used to compute Example: Poisson Distribution

Sharif University of Technology 14 Variance and Standard Deviation  To simplify this, we can make use  For a normal p.d.f. This gives  Differentiating both sides of this equation with respect to we get  or Example: Normal Distribution

Sharif University of Technology 15 Moments  in general are known as the moments of the r.v X, and are known as the central moments of X.  Clearly, and  It is easy to relate and  generalized moments of X about a,  absolute moments of X.

Sharif University of Technology 16 Variance and Standard Deviation  It can be shown that Example: Normal Distribution

Sharif University of Technology 17 Characteristic Function  The characteristic function of a r.v X is defined as  and for all  For discrete r.vs:

Sharif University of Technology 18 Example Example: Poisson Distribution

Sharif University of Technology 19 Example Example: Binomial Distribution

Sharif University of Technology 20 Characteristic Function and Moments  Taking the first derivative of this equation with respect to , and letting it to be equal to zero, we get  Similarly, the second derivative gives

Sharif University of Technology 21 Characteristic Function and Moments – continued  repeating this procedure k times, we obtain the k th moment of X to be  We can use these results to compute the mean, variance and other higher order moments of any r.v X.

Sharif University of Technology 22 Example These results agree with previous ones, but the efforts involved in the calculations are very minimal. Example: Poisson Distribution So,

Sharif University of Technology 23 Example Example: Mean and Variance of Binomial Distribution So,

Sharif University of Technology 24 Example The characteristic function of a Gaussian r.v itself has the “Gaussian” bell shape. Example: Normal(Guassian) Distribution

Sharif University of Technology 25 Example - continued  Note the reverse roles of in and (b) (a) For we have and therefore:

Sharif University of Technology 26 Example Example: Cauchy Distribution Which diverges to infinity. Similarly: With So the double sided integral for mean is undefined. It concludes that the mean and variance of a Cauchy r.v are undefined.

Sharif University of Technology 27 we can start with the definition of So the desired probability is: Chebychev Inequality  Consider an interval of width 2 ε symmetrically centered around its mean μ.  What is the probability that X falls outside this interval? Chebychev inequality

Sharif University of Technology 28 Chebychev Inequality  So, the knowledge of is not necessary. We only need  With we obtain  Thus with we get the probability of X being outside the 3σ interval around its mean to be for any r.v.  Obviously this cannot be a tight bound as it includes all r.vs.  For example, in the case of a Gaussian r.v, from the Table,  Chebychev inequality always underestimates the exact probability.

Sharif University of Technology 29 Moment Identities  Suppose X is a discrete random variable that takes only nonnegative integer values. i.e.,  Then  Similarly,  Which gives: These equations are at times quite useful in simplifying calculations.

Sharif University of Technology 30 Example: Birthday Pairing  In a group of n people, what is A) The probability that two or more persons will have the same birthday? B) The probability that someone in the group will have the birthday that matches yours? Solution C = “no two persons have the same birthday” For n=23,

Sharif University of Technology 31 Example – continued B)D = “a person not matching your birthday” let X represent the minimum number of people in a group for a birthday pair to occur. The probability that “the first n people selected from that group have different birthdays” is given by

Sharif University of Technology 32 Example – continued  But the event the “the first n people selected havedifferent birthdays” is the same as the event “ X > n.”  Hence  Using moment identities, this gives the mean value of X to be

Sharif University of Technology 33 Example – continued  Similarly,  Thus, and  Since the standard deviation is quite high compared to the mean value, the actual number of people required could be anywhere from 25 to 40.

Sharif University of Technology 34 Moment Identities for Continuous r.vs if X is a nonnegative random variable with density function f X (x) and distribution function F X (X), then where Similarly