4.3 Expected value and variance of discrete random variables
4 min read•july 19, 2024
and variance are key concepts for understanding discrete random variables in engineering probability. They help predict typical outcomes and measure variability, crucial for decision-making in quality control, reliability, and system design.
Calculating expected value involves summing products of values and probabilities, while variance measures spread around the mean. These tools enable engineers to analyze and optimize systems, manage risk, and make data-driven choices in various applications.
Expected Value and Variance of Discrete Random Variables
Expected value and variance significance
Top images from around the web for Expected value and variance significance
Discrete Random Variables (5 of 5) | Concepts in Statistics View original
Is this image relevant?
Discrete Random Variables (2 of 5) | Concepts in Statistics View original
Is this image relevant?
Discrete Random Variables | Boundless Statistics View original
Is this image relevant?
Discrete Random Variables (5 of 5) | Concepts in Statistics View original
Is this image relevant?
Discrete Random Variables (2 of 5) | Concepts in Statistics View original
Is this image relevant?
1 of 3
Top images from around the web for Expected value and variance significance
Discrete Random Variables (5 of 5) | Concepts in Statistics View original
Is this image relevant?
Discrete Random Variables (2 of 5) | Concepts in Statistics View original
Is this image relevant?
Discrete Random Variables | Boundless Statistics View original
Is this image relevant?
Discrete Random Variables (5 of 5) | Concepts in Statistics View original
Is this image relevant?
Discrete Random Variables (2 of 5) | Concepts in Statistics View original
Is this image relevant?
1 of 3
Expected value (mean) of a discrete random variable
Denoted as E(X) or μ
Represents the average value of the random variable over a long run of trials (coin flips, dice rolls)
Calculated by summing the product of each possible value and its probability
Denoted as Var(X) or σ2
Measures the spread or dispersion of the random variable around its expected value
Calculated by summing the product of the squared deviation of each value from the mean and its probability
Indicates how far the values typically deviate from the expected value (low variance implies values cluster closely around the mean)
Significance of expected value and variance
Expected value provides a central tendency or typical value for the random variable
Helps predict long-term average behavior (average number of defective items in a large production run)
Variance quantifies the variability or uncertainty associated with the random variable
Assesses the risk or spread of possible outcomes (variability in product dimensions)
Both measures are essential for characterizing the behavior and distribution of the random variable
Informs decision-making and system design (inventory management, quality control)
Calculation of expected value
Probability mass function ()
Denoted as P(X=x) or p(x)
Assigns probabilities to each possible value of the discrete random variable
Example: PMF for the number of heads in two coin flips: P(X=0)=0.25,P(X=1)=0.5,P(X=2)=0.25
Expected value calculation
Formula: E(X)=∑xx⋅P(X=x)
Multiply each possible value by its probability
Sum the products
Example: Expected value of a fair six-sided die roll: E(X)=1(61)+2(61)+...+6(61)=3.5
Properties of expected value
Linearity: E(aX+b)=aE(X)+b, where a and b are constants
Scaling and shifting the random variable scales and shifts the expected value accordingly
Addition: E(X+Y)=E(X)+E(Y) for independent random variables X and Y
The expected value of the sum of independent random variables equals the sum of their individual expected values
Variance and standard deviation computation
Variance calculation
Formula: Var(X)=E[(X−μ)2]=∑x(x−μ)2⋅P(X=x)
Subtract the expected value from each possible value
Square the differences
Multiply by the probabilities
Sum the products
Measures the average squared deviation from the mean
Standard deviation
Denoted as σ
Square root of the variance: σ=Var(X)
Measures the spread of the random variable in the same units as the variable itself
Provides a more intuitive interpretation of variability (68-95-99.7 rule for normal distributions)
Properties of variance
Scaling: Var(aX)=a2Var(X), where a is a constant
Scaling the random variable by a constant factor scales the variance by the square of that factor
Addition: Var(X+Y)=Var(X)+Var(Y) for independent random variables X and Y
The variance of the sum of independent random variables equals the sum of their individual variances
Applications in engineering problems
Identifying discrete random variables in engineering contexts
Examples: number of defective items, number of customers in a queue, number of successful trials
Quality control: number of defective products in a sample
Queueing systems: number of customers arriving per hour
Reliability engineering: number of component failures in a system
Constructing probability mass functions based on given data or assumptions
Assign probabilities to each possible value based on historical data, theoretical models, or expert judgment
Calculating expected values to estimate average outcomes
Example: expected number of defective items in a production run
Helps determine quality control measures and set production targets
Computing variances and standard deviations to assess variability and risk
Example: variability in the number of customers arriving at a service center
Informs staffing decisions and resource allocation to handle fluctuations in demand
Using expected values and variances to make informed decisions and optimize systems
Example: determining inventory levels based on expected demand and its variability
Balances the costs of holding inventory against the risks of stockouts
Enables data-driven decision-making and risk assessment in various engineering applications (manufacturing, telecommunications, transportation)