Chapter 5 – Probability: An Introduction to Modeling Uncertainty
5.1 Events and Probabilities
- Random Experiment: A process that generates well-defined outcomes.
- Sample Space: The set of all possible outcomes of a random experiment.
- Example 1: Tossing a coin.
- Outcomes: Head, Tail.
- Sample space:
- Example 2: Rolling a die.
- Outcomes: 1, 2, 3, 4, 5, 6.
- Sample space:
- Example 1: Tossing a coin.
- Event: A collection of outcomes.
- Example: CP&L Capacity Expansion Project
- Possible project durations: 8, 9, 10, 11, or 12 months.
- Event : Project completed in 10 months or less
- Example: CP&L Capacity Expansion Project
- Probability of an Event: The sum of probabilities of outcomes for the event.
- : Project completed in less than 10 months
- : Project completed in more than 10 months
5.2 Some Basic Relationships of Probability
- Complement of an Event: The event consisting of all outcomes not in , denoted by .
- Union of Two Events: The event containing all outcomes in or or both, denoted by .
- Intersection of Two Events: The event containing all outcomes belonging to both and , denoted by .
- Addition Law: Computes the probability of the union of two events.
- Rationale: Outcomes in are counted twice when computing , so we subtract to correct for overcounting.
- Application of the Addition Law: HR study example.
- Event : Dissatisfaction with salary,
- Event : Dissatisfaction with work assignments,
- Event : Dissatisfaction with both salary and work assignments,
- Probability of leaving due to dissatisfaction with salary or work assignments:
- Mutually Exclusive Events: Two events with no outcomes in common. If one occurs, the other cannot.
- For mutually exclusive events, the addition law simplifies to:
5.3 Conditional Probability
Studying mortgage defaults at Lancaster Savings and Loans (S&L).
= event that a customer is single.
= event that a customer is married.
= event that a customer defaulted on their mortgage.
= event that a customer did not default on their mortgage.
Joint Probabilities: Intersection probabilities of events.
- Probability of not defaulting and being married:
- Probability of defaulting and being married:
- Probability of not defaulting and being single:
- Probability of defaulting and being single:
Joint Probability Table: Summarizes joint probabilities.
Marginal Probabilities: Probabilities of individual events, calculated as sums of joint probabilities.
- Probability that a customer is married:
Conditional Probability: The probability of event given that event has occurred.
- Notation:
- Note:
Application of Conditional Probabilities:
- Probability of defaulting given the customer is married:
- Probability of defaulting given the customer is single:
- Conclusion: Default probability is higher if the customer is married.
- Probability of defaulting given the customer is married:
Independent Events: Events and are independent if
- Otherwise, and are dependent.
- In the mortgage default case:
- Since , events and are dependent.
Multiplication Law:
- For independent events:
- Events A and B are dependent when
Bayes’ Theorem:
- For two events, and :
- with
- and are prior probabilities.
- and are conditional probabilities.
- Bayes’ theorem calculates revised (posterior) probabilities and .
5.4 Random Variables
- For two events, and :
Random variable: A numerical description of an experimental outcome.
Discrete random variable: May assume either a finite number of values or an infinite sequence of values.
- Examples:
- Flip a coin: Face of coin showing (1 if heads; 0 if tails)
- Roll a die: Number of dots showing on top of die (1, 2, 3, 4, 5, 6)
- Contact five customers: Number of customers who place an order (0, 1, 2, 3, 4, 5)
- Operate a health care clinic for one day: Number of patients who arrive (0, 1, 2, 3, …)
- Offer a customer the choice of two products: Product chosen by customer (0 if none; 1 if choose product A; 2 if choose product B)
- Examples:
Continuous random variable: May assume any numerical value in an interval or collection of intervals.
- Examples:
- Customer visits a web page: Time customer spends on web page in minutes ( )
- Fill a soft drink can (max capacity = 12.1 ounces): Number of ounces ( )
- Test a new chemical process: Temperature when the desired reaction takes place (min temperature = 150°F; max temperature = 212°F) ( )
- Invest $10,000 in the stock market: Value of investment after one year ( )
- Examples:
5.5 Discrete Probability Distributions
The probability distribution for a random variable describes the range and relative likelihood of possible values for a random variable.
For a discrete random variable , the probability distribution is defined by a probability mass function, denoted by .
The probability mass function provides the probability for each value of the random variable .
Required conditions for a discrete probability function are: and
Empirical Probability Distribution: A probability distribution generated from observations.
- An empirical probability distribution is considered a custom discrete probability distribution if it is discrete and the possible values of the random variable have different probabilities.
- The probabilities of a custom distribution can be generated using either the subjective method or the relative frequency method.
Custom Discrete Probability Distribution
- Consider a random variable, , describing the number of payments made per year by 300 home mortgage customers:
- 45 customers made quarterly payments (), 180 made monthly payments (), and 75 made two payments per month ().
- Probability distribution as a function:
- Probability distribution as a function:
- 45 customers made quarterly payments (), 180 made monthly payments (), and 75 made two payments per month ().
- Consider a random variable, , describing the number of payments made per year by 300 home mortgage customers:
Expected Value: The expected value, or mean, is a measure of the central location of a random variable, . It is calculated as the weighted average of the values of the random variable. The weights are the probabilities, .
Variance: The variance is a measure of variability in the values of a random variable, . It is calculated as the weighted average of the squared deviations of a random variable, , from its mean, . The weights are the probabilities, .
Standard Deviation: The standard deviation is the positive square root of the variance.
Discrete Uniform Probability Distribution: The simplest example of a discrete probability distribution given by a formula.
- The discrete uniform probability mass function can be written as:
- Where is the number of values the random variable may assume.
- The discrete uniform probability mass function can be written as:
Binomial Probability Distribution: The binomial probability function determines the probability of observing successes in independent events when there are only two possible outcomes.
- The binomial probability mass function is described by the equation:
- Where is the probability of a success in a single event, and the probability of a failure in a single event.
- The binomial probability mass function is described by the equation:
Poisson Probability Distribution: A Poisson Probability Distribution describes the number of occurrences, , over a specified interval of time or space, if the following two properties are met:
- . The probability of an occurrence is the same for any two intervals (time or space) of equal length.
- . The occurrence or nonoccurrence in any interval is independent of the occurrence or nonoccurrence in any other interval.
5.6 Continuous Probability Distributions
- Probability mass function provides the probability that the random variable assumes a particular value for Discrete random variables
- Probability density function is the counterpart of the probability mass function for Continuous random variables.
- Uniform Probability Distribution: A continuous random variable, , is described by a uniform probability distribution whenever the probability is proportional to the interval’s length.
- The uniform probability density function is
- The uniform probability density function is
- Triangular Probability Distribution: A continuous random variable, , can be described by a triangular probability distribution when only the following subjective information is available:
- the minimum possible value, ,
- the maximum possible value, , and
- the most likely value (or mode) of the distribution, .
- Normal Probability Distribution: The normal probability distribution assumes the characteristic bell-shaped curve and is the most common probability continuous distribution.
- The normal probability density function is entirely described by two parameters: the mean, , and the standard deviation,
- Where and
- The normal probability density function is entirely described by two parameters: the mean, , and the standard deviation,
- Exponential Probability Distribution: The exponential probability distribution is used for a random variable, , that describes the length of an interval between occurrences.
- The exponential probability density function is
- The exponential probability density function is