You have 3 free guides left 😟
Unlock your guides
You have 3 free guides left 😟
Unlock your guides

4.3 Expected value and variance of discrete random variables

4 min readjuly 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
Top images from around the web for Expected value and variance significance
  • Expected value (mean) of a discrete random variable
    • Denoted as E(X)E(X) or μ\mu
    • 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)Var(X) or σ2\sigma^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)P(X = x) or p(x)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.25P(X=0)=0.25, P(X=1)=0.5, P(X=2)=0.25
  • Expected value calculation
    • Formula: E(X)=xxP(X=x)E(X) = \sum_{x} x \cdot P(X = x)
      1. Multiply each possible value by its probability
      2. Sum the products
    • Example: Expected value of a fair six-sided die roll: E(X)=1(16)+2(16)+...+6(16)=3.5E(X) = 1(\frac{1}{6}) + 2(\frac{1}{6}) + ... + 6(\frac{1}{6}) = 3.5
  • Properties of expected value
    • Linearity: E(aX+b)=aE(X)+bE(aX + b) = aE(X) + b, where aa and bb are constants
      • Scaling and shifting the random variable scales and shifts the expected value accordingly
    • Addition: E(X+Y)=E(X)+E(Y)E(X + Y) = E(X) + E(Y) for independent random variables XX and YY
      • 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μ)2P(X=x)Var(X) = E[(X - \mu)^2] = \sum_{x} (x - \mu)^2 \cdot P(X = x)
      1. Subtract the expected value from each possible value
      2. Square the differences
      3. Multiply by the probabilities
      4. Sum the products
    • Measures the average squared deviation from the mean
  • Standard deviation
    • Denoted as σ\sigma
    • Square root of the variance: σ=Var(X)\sigma = \sqrt{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)Var(aX) = a^2Var(X), where aa 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)Var(X + Y) = Var(X) + Var(Y) for independent random variables XX and YY
      • 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)
© 2024 Fiveable Inc. All rights reserved.
AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.


© 2024 Fiveable Inc. All rights reserved.
AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.

© 2024 Fiveable Inc. All rights reserved.
AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.
Glossary
Glossary