02/10/2021
Use the left and right arrow keys to navigate the presentation forward and backward respectively. You can also use the arrows at the bottom right of the screen to navigate with a mouse.
FAIR USE ACT DISCLAIMER: This site is for educational purposes only. This website may contain copyrighted material, the use of which has not been specifically authorized by the copyright holders. The material is made available on this website as a way to advance teaching, and copyright-protected materials are used to the extent necessary to make this class function in a distance learning environment. The Fair Use Copyright Disclaimer is under section 107 of the Copyright Act of 1976, allowance is made for “fair use” for purposes such as criticism, comment, news reporting, teaching, scholarship, education and research.
The following topics will be covered in this lecture:
The statement that \[ P(A \vert B) = \frac{P(B\vert A) P(A)}{ P(B)} \] is known as Bayes' theorem for \( P(B)>0 \).
EXAMPLE: suppose that 20% of email messages are spam. The word free occurs in 60% of the spam messages. 13% of the overall messages contain the word free.
Question: How can we use Bayes' theorem,
\[ P(A\vert B) = \frac{P(B\vert A) P(A)}{P(B)} \] to compute the probability of a message being spam, given that it includes the word “free”?
Courtesy of Montgomery & Runger, Applied Statistics and Probability for Engineers, 7th edition
Courtesy of Mario Triola, Essentials of Statistics, 6th edition
Random Variable A random variable is a function that assigns a real number to each outcome in the sample space of a random experiment.
Notation A random variable is denoted by an uppercase letter such as \( X \). After an experiment is conducted, the measured value of the random variable is denoted by a lowercase letter such as \( x \)
Courtesy of Ania Panorska CC
Discrete random variable is a random variable with a finite (or countably infinite) range.
Courtesy of Ania Panorska CC
Continuous random variable is a random variable with an interval (either finite or infinite) of real numbers for its range.
The probability distribution of a random variable \( X \) is a description of the probabilities associated with the possible values of \( X \).
Courtesy of Montgomery & Runger, Applied Statistics and Probability for Engineers, 7th edition
Courtesy of Montgomery & Runger, Applied Statistics and Probability for Engineers, 7th edition
Probability Mass FunctionFor a discrete random variable \( X \) with possible values \( x_1, x_2,\dots, x_n \), a probability mass function is a function such that
- \( f(x_i)\geq 0 \)
- \( \sum_{i=1}^n f(x_i)=1 \)
- \( f(x_i)=P(X=x_i) \)
Courtesy of Montgomery & Runger, Applied Statistics and Probability for Engineers, 7th edition