Outline. Random Variables. Examples. Random Variable

Similar documents
Probability and Random Variables. Generation of random variables (r.v.)

Probability and statistics; Rehearsal for pattern recognition

Signal Detection. Outline. Detection Theory. Example Applications of Detection Theory

Institute of Actuaries of India Subject CT3 Probability and Mathematical Statistics

MULTIVARIATE PROBABILITY DISTRIBUTIONS

PROBABILITY AND STATISTICS. Ma To teach a knowledge of combinatorial reasoning.

E3: PROBABILITY AND STATISTICS lecture notes

SF2940: Probability theory Lecture 8: Multivariate Normal Distribution

Probability and Statistics Prof. Dr. Somesh Kumar Department of Mathematics Indian Institute of Technology, Kharagpur

Digital Imaging and Multimedia. Filters. Ahmed Elgammal Dept. of Computer Science Rutgers University

Some probability and statistics

MATHEMATICAL METHODS OF STATISTICS

SF2940: Probability theory Lecture 8: Multivariate Normal Distribution

Introduction to General and Generalized Linear Models

Review Jeopardy. Blue vs. Orange. Review Jeopardy

FEGYVERNEKI SÁNDOR, PROBABILITY THEORY AND MATHEmATICAL

Review of Random Variables

BNG 202 Biomechanics Lab. Descriptive statistics and probability distributions I

Analysis of Load Frequency Control Performance Assessment Criteria

Math 431 An Introduction to Probability. Final Exam Solutions

Lecture 6: Discrete & Continuous Probability and Random Variables

( ) is proportional to ( 10 + x)!2. Calculate the

Example: Credit card default, we may be more interested in predicting the probabilty of a default than classifying individuals as default or not.

Probability for Estimation (review)

CCNY. BME I5100: Biomedical Signal Processing. Linear Discrimination. Lucas C. Parra Biomedical Engineering Department City College of New York

Introduction to Probability

A Coefficient of Variation for Skewed and Heavy-Tailed Insurance Losses. Michael R. Powers[ 1 ] Temple University and Tsinghua University

Understanding and Applying Kalman Filtering

Overview of Violations of the Basic Assumptions in the Classical Normal Linear Regression Model

1) Write the following as an algebraic expression using x as the variable: Triple a number subtracted from the number

Chapter 3 RANDOM VARIATE GENERATION

Orthogonal Diagonalization of Symmetric Matrices

Nonlinear Programming Methods.S2 Quadratic Programming

Probability and Statistics Vocabulary List (Definitions for Middle School Teachers)

Overview of Monte Carlo Simulation, Probability Review and Introduction to Matlab

Mean value theorem, Taylors Theorem, Maxima and Minima.

MIMO CHANNEL CAPACITY

Lecture 7: Continuous Random Variables

Data Mining: Algorithms and Applications Matrix Math Review

Univariate and Multivariate Methods PEARSON. Addison Wesley

Probability Theory. Florian Herzog. A random variable is neither random nor variable. Gian-Carlo Rota, M.I.T..

An Introduction to Basic Statistics and Probability

Statistics Graduate Courses

Lecture 3: Linear methods for classification

Linear-Quadratic Optimal Controller 10.3 Optimal Linear Control Systems

Module 3: Correlation and Covariance

CA200 Quantitative Analysis for Business Decisions. File name: CA200_Section_04A_StatisticsIntroduction

Lesson 20. Probability and Cumulative Distribution Functions

Inner Product Spaces

A Tutorial on Probability Theory

ECE302 Spring 2006 HW5 Solutions February 21,

Non Linear Dependence Structures: a Copula Opinion Approach in Portfolio Optimization

Quadratic forms Cochran s theorem, degrees of freedom, and all that

Basics of Floating-Point Quantization

DESCRIPTIVE STATISTICS. The purpose of statistics is to condense raw data to make it easier to answer specific questions; test hypotheses.

Linear Algebra Review. Vectors

Least Squares Estimation

QUALITY ENGINEERING PROGRAM

STAT 360 Probability and Statistics. Fall 2012

Notes on Continuous Random Variables

STAT 830 Convergence in Distribution

International College of Economics and Finance Syllabus Probability Theory and Introductory Statistics

Bindel, Spring 2012 Intro to Scientific Computing (CS 3220) Week 3: Wednesday, Feb 8

MUSICAL INSTRUMENT FAMILY CLASSIFICATION

APPLIED MATHEMATICS ADVANCED LEVEL

Introduction to Principal Components and FactorAnalysis

Classification Problems

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS. + + x 2. x n. a 11 a 12 a 1n b 1 a 21 a 22 a 2n b 2 a 31 a 32 a 3n b 3. a m1 a m2 a mn b m

The Method of Least Squares

A logistic approximation to the cumulative normal distribution

NEW YORK STATE TEACHER CERTIFICATION EXAMINATIONS

Lecture 8: More Continuous Random Variables

Multivariate Analysis (Slides 13)

Probability Calculator

Department of Mathematics, Indian Institute of Technology, Kharagpur Assignment 2-3, Probability and Statistics, March Due:-March 25, 2015.

Dealing with large datasets

THE CENTRAL LIMIT THEOREM TORONTO

For a partition B 1,..., B n, where B i B j = for i. A = (A B 1 ) (A B 2 ),..., (A B n ) and thus. P (A) = P (A B i ) = P (A B i )P (B i )

Summary of Formulas and Concepts. Descriptive Statistics (Ch. 1-4)

Applied Linear Algebra I Review page 1

Dimensionality Reduction: Principal Components Analysis

Generating Random Numbers Variance Reduction Quasi-Monte Carlo. Simulation Methods. Leonid Kogan. MIT, Sloan , Fall 2010

Lecture 8: Signal Detection and Noise Assumption

Transformations and Expectations of random variables

Joint Exam 1/P Sample Exam 1

Finite Mathematics Using Microsoft Excel

Chapter 8 - Power Density Spectrum

The Calculation of G rms

Mathematics (MAT) MAT 061 Basic Euclidean Geometry 3 Hours. MAT 051 Pre-Algebra 4 Hours

In mathematics, there are four attainment targets: using and applying mathematics; number and algebra; shape, space and measures, and handling data.

Statistical Machine Learning

4. Continuous Random Variables, the Pareto and Normal Distributions

Exploratory Factor Analysis Brian Habing - University of South Carolina - October 15, 2003

WEEK #22: PDFs and CDFs, Measures of Center and Spread

UNIT I: RANDOM VARIABLES PART- A -TWO MARKS

Chapter 6: Multivariate Cointegration Analysis

Principles of Digital Communication

Geostatistics Exploratory Analysis

Basics of Statistical Machine Learning

Transcription:

Outline Random Variables M. Sami Fadali Professor of Electrical Engineering University of Nevada, Reno Random variables. CDF and pdf. Joint random variables. Correlated, independent, orthogonal. Correlation, convolution, correlation coefficient. Normal distribution. 1 2 s 1 S Random Variable X(.) R X : S R Function mapping the elements of the sample space S to the real line R. Equivalent Event: real value associated with the elementary event(s). Probability of the real value = sum of probabilities of the original associated elementary event(s) in the sample space. 3 Examples Example: Throw die, outcome 1-6 dots. Random Variable: maps i dots to i, i =1,, 6. Example: Measurement of any physical quantity with additive random error (noise). Example: pitch, card game, collect tricks. Probabilities of equivalent events: 4

Cumulative Probability Distribution Function Definition: The cumulative distribution function (CDF) of a random variable is a function defined for each real number x as follows Properties of the CDF 1. as 2. as 3. is a nondecreasing function of 5 6 Probability Density Function (pdf) Continuous random variable Nonnegative function f defined on the real line. For every real interval f X (x) x x + dx x X x dx f ( x dx P X ) x 7 1. 2. Properties of the pdf 3. First two properties follow from the axioms of probability. Integrate: 8

Uniform Distribution 1, a x b f X ( x) b a 0, elsewhere x a 1 x 2 b 1/(b a) x Example: Spin the Pointer 1 2 2 1 Probability of value in any subinterval of is proportional to its length. Area of rectangle must be unity. 1 2 2 1 MATLAB >> rand(m, n) % a=0, b=1, m by n 9 10 Density & Distribution Expectation of a Random Variable Expected value or mean of. Justified by relative frequency. Discrete Continuous 11 12

Function of a Random Variable Properties of Expectation Expected value of the function Discrete: Continuous: 13 14 Jensen s Inequality For a random variable Convex function: and a function 1 Moments moment: expectation of power First moment is the mean Second moment is the mean square Discrete Continuous 15 16

Variance Second moment about the mean Standard Deviation: square root of variance Discrete Continuous 17 Properties of the Variance Uncorrelated: 18 Variance Property: Proof, 19 Example: Uniform Distribution Find the mean and variance Mean: Mean Square: Variance: 20

Moment Generating Function L Laplace transform of pdf (also defined with Use 2-sided Laplace transform table. 21 Series Expansion and Moments Moments: 22 Characteristic Function = Fourier transform: Use Fourier transform tables Moments: Normal or Gaussian Density 23 24 Symmetric about the mean. Peak value (at )= (larger for sharper peak) Mode (most likely value) = mean Standard normal distribution, zero-mean, unit variance /

Why is it important? Fits many physical phenomena. Central limit theorem. Completely described by mean and variance. Independent uncorrelated. Right Tail Probability Probability of exceeding a given value. >> p = normspec([-inf,1],0,1,'outside') Complementary cumulative distribution. / =Prob. of false alarm. 25 26 Inverse monotonically decreasing invertible. Inverse is important in some applications (signal detection: prob. of false alarm). Erf : error function Error Function 0 0 0.5 1 1.5 2 2.5 3 27 28 Erfc: complementary error function (invertible) 1 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 erf(x) erfc(x) x

Relation to Normal Distribution Probability Less than Upper Bound is 0.9452 Normal Distribution: mean zero, variance 0.5 N For negative use Density 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1. 0-2 -1.5-1 -0.5 0 0.5 1 1.5 2 Critical Value 29 x 2. 3. Erf and Gaussian Density / / 30 MATLAB: Computing Probabilities (similar for Maple) >> erf(x) % Error function >> erfc(x) % Complementary error function >> 0.5*(1+erf(x/sqrt(2)) ) % St. Normal P (t < x) >> 0.5*erfc(x/sqrt(2)) % St. Normal P (t > x) >> Qinv=sqrt(2)*erfinv(1-2*P) % Inverse Q(P) 31 Example: Test Scores Test scores are normally distributed with N >> fun = @(x) exp(-(x-83).^2/128)./sqrt(128*pi); >> integral(fun,83-16,83+16) % within 2 sigma ans = 0.9545 32

Pseudorandom Number Generators Impulsive pdf >> rand % Uniform distribution over [0,1] >> randn % Standard normal Shifting and Scaling (also see random): >> y = sigmay*randn + ybar For Use impulse for discrete or mixed random variables. -2 f(y) 1 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 F(y) 0-1.5-1 -0.5 0 0.5 1 1.5 2 2.5 3 Y 1 0.9 0.8 0.5 (Y) N N 33 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0-2 -1.5-1 -0.5 0 0.5 1 1.5 2 2.5 3 34 Example: Half-wave rectifier Half-wave rectifier driven by noise 1 N R + R + R 0 Density/Distribution 35 36

Multiple Random Variables Multivariate Distributions Multivariate: vector of random variables Bivariate: 2 variables Discrete case: joint prob. = 2-dim. array x 2 A = n by 1 vector Obtain marginal prob. by adding col. or row x 20 dx 2 dx1 x 10 x 1 Generalize: 37 38 Marginal pdf Marginal Distributions Example 39 Conditional Distribution Conditional probability Conditional density of given,,,,,,,,,,,,,,,,,,,,, 40

Bayes Rule for Random Vars. Independence,,,,, Independent,,,,,,,,,, 41 42 dy Sum of Independent Random Vars. y z + d z dx z =x + y x Y Y Y 43 Independent vs. Uncorrelated Independent Uncorrelated Independent Uncorrelated. Uncorrelated Independent?? Not true, in general. True for multivariate Gaussian. 44

Central Limit Theorem Given n independent random variables Property of Convolutions: Convolution of a large number of positive functions is approximately Gaussian. Central Limit Theorem: Z is asymptotically Gaussian. Lim N 45 Correlation Coefficient Normalized measure of correlation between. Value between 1 and 1 Zero for uncorrelated Reduces to variance property for 46 Zero Correlation Coefficient Unity Correlation Coefficient Uncorrelated For uncorrelated 47 48

Range of Correlation Coefficient Proof: Quadratic in a has no real roots Discriminant: negative or zero discriminant for quadratic in a (zero for, equal roots) 49 Orthogonal Random Variables 50 Correlation and Covariance Covariance Matrix Generalization of 2 nd moment & variance to vector case. 51 Can be written in terms of variances and correlation coefficients. Diagonal for uncorrelated (& independent) variables. 52

Proof: Quadratic form Multivariate Normal / 53 54 Generalization of normal distribution to n linearly independent random variables. If are mutually uncorrelated they are also independent. Independent/Uncorrelated If Gaussian are mutually uncorrelated they are also mutually independent. Bivariate Gaussian / / 55 56

Properties of Multivariate Normal Density N completely defined by and. If joint pdf is normal: Uncorrelated Independent. All marginal and conditional pdfs are normal. Linear transformation of normal vector gives a normal vector (next presentation). Conclusion Probabilistic description of random variables. Moments, characteristic function, moment generating function. Correlation and covariance. Correlated, independent, orthogonal. Normal (Gaussian) random variable. 57 58 References Brown & Hwang, Introduction to Random Signals and Applied Kalman Filtering, Wiley, NY, 2012. Stark & Woods, Probability and Random Processes, Prentice Hall, Upper Saddle River, NJ, 2002. R. M. Gray & L. D. Davisson, Random Processes: A mathematical Approach for Engineers, Prentice Hall, Englewood Cliffs, NJ, 1986. M. H. De Groot, M. J. Schervish, Probability & Statistics, Addison-Wesley, Boston, 2002. S. M. Kay, Fundamentals of Statistical Signal Processing: Detection Theory, Prentice Hall, 1998. A. Papoulis and S.U. Pillai, Probability, Random Variables, and Stochastic Processes, 4th Ed., McGraw Hill, Boston, MA, 2002. 59