Introduction to simulation Comprehensive Guide to Computer Simulation, Expected Value Fallacies, and Probability Distributions

Fundamentals of Simulation and Decision Modeling

  • Definition of Simulation:

    • Simulation is a broad class of computational methods and techniques designed to explain, replicate, or mimic real-world systems, operational processes, or physical environments.
    • It serves as a powerful and widely adopted analytical tool across diverse industries, academic disciplines, and engineering domains.
  • Purpose and Rationale for Simulation:

    • Traditional deterministic decision models utilize static parameters in input cells, assuming fixed values. In practice, operational and financial inputs are dynamic and subject to continual fluctuation.
    • Key model variables that routinely exhibit uncertainty include:
    • Future raw material expenditures
    • Future interest rate trajectories
    • Future firm headcount and staffing requirements
    • Expected market demand for products or services
    • Simulation replaces static assumptions with dynamic models to evaluate risk profiles and forecast system behavior under uncertainty, avoiding the costs and hazards of real-world physical experimentation.
  • Applications of Simulation:

    • Weather Forecasting: Complex meteorological phenomena (such as hurricane trajectories) are evaluated by executing ensembles of computer simulations to project final landfall locations and intensity metrics.
    • Process Bottleneck Analysis: Operational process flows and task durations are modeled in software environments to measure total processing duration and identify capacity bottlenecks within a system.

Limitations of Expected Values in Risk Assessment

  • Pitfalls of Single-Point Expected Value Estimates:

    • Relying solely on expected values (mean outcomes) can provide a misleading assessment of project feasibility.
    • Depending on model structure, evaluating expected values in central cells may reflect an overly optimistic best-case scenario for target variables that rarely occurs in practice.
    • Example: An independent variable XX possessing multiple realization values may yield a best-case target metric when evaluated purely at its expected value, obscuring extreme tail risks.
  • Comparative Case Study on Investment Risk:

    • Consider a capital investment requiring an initial cash outlay of n1,000\\n1,000 with an expected return of n10,000\\n10,000 over a horizon of 22 years. Evaluated exclusively on expected return, the opportunity appears highly attractive. However, examining the outcome range reveals vastly different risk profiles:

    • Scenario A (High Variance):

    • Potential Outcome Range: −n30,000-\\n30,000 to +n50,000+\\n50,000

    • Expected Value: n10,000\\n10,000

    • Risk Evaluation: Extremely high risk. The investor faces a potential downside loss of n30,000\\n30,000 alongside an upside gain of n50,000\\n50,000. Despite the positive expected value of n10,000\\n10,000, the possibility of severe loss alters the decision-maker's risk assessment.

    • Scenario B (Low Variance):

    • Potential Outcome Range: +n9,000+\\n9,000 to +n11,000+\\n11,000

    • Expected Value: n10,000\\n10,000

    • Risk Evaluation: Low risk. The outcome consistently produces a positive return between n9,000\\n9,000 and n11,000\\n11,000, completely eliminating capital loss exposure.

    • Decision Analysis Takeaway: While both scenarios share an identical expected value of n10,000\\n10,000, their underlying volatility and risk structures are completely distinct. Expected values alone fail to capture outcome range, risk exposure, and dispersion.

The Simulation Methodology and Distribution Fitting

  • Step-by-Step Simulation Process:

    1. Relationship Mapping: Define all functional and mathematical relationships linking input variables to output metrics within the decision model.
    2. Driver Identification: Analyze input cells to determine key dynamic drivers governing system behavior.
    3. Random Distribution Selection: Assign an appropriate random probability distribution to each uncertain input variable.
    4. Model Integration: Plug the selected input distributions into the quantitative decision model.
    5. Iterative Replication: Execute and replicate the model nn times (running nn simulation trials) and record the output metric from every iteration.
    6. Statistical Analysis: Aggregate and analyze the final dataset of nn simulation results to evaluate probability distributions, risk metrics, and confidence bounds.
  • Sources for Identifying Probability Distributions:

    • Judgmental Data: Subjective probability distributions derived from expert opinion regarding parameter bounds and likelihoods.
    • Empirical Data: Direct utilization of historical observations and empirical datasets within the model.
    • Discrete Distribution Fitting: Statistical fitting of discrete random distributions to empirical observation points.
    • Continuous Variable Modeling: Selection of continuous random variables that mathematically mimic underlying physical or financial processes.

Discrete Probability Distributions

  • Characteristics of Discrete Distributions:

    • Discrete distributions model random variables that take on finite or countable distinct values.
  • Types of Discrete Distributions:

    • Bernoulli Distribution:

    • Models a single trial with exactly two mutually exclusive outcomes: success or non-success.

    • Probability of success is defined as PP.

    • Probability of non-success (failure) is defined as 1−P1 - P.

    • Binomial Distribution:

    • Models the cumulative count of successes observed across nn independent and identically distributed Bernoulli trials.

    • Defined by parameters nn (number of trials) and PP (success probability per trial).

    • Poisson Distribution:

    • Counts the total number of discrete events occurring within a specified unit of time or spatial domain.

    • Application Example: Modeling the frequency of traffic accidents observed along a designated highway stretch over a specific time frame.

    • Discrete Uniform Distribution:

    • Models finite discrete outcomes where every prospective outcome possesses an equal likelihood of occurrence.

    • Application Example: Rolling a standard, fair six-sided die, where observing any single face from 11 to 66 has a probability of \n\n\frac{1}{6}.

Continuous Probability Distributions

  • Characteristics of Continuous Distributions:

    • Continuous distributions model variables that can take on any infinite real value within a continuous range or numerical interval.
  • Types of Continuous Distributions:

    • Continuous Uniform Distribution:

    • Bounded by two explicit parameters: a minimum boundary and a maximum boundary.

    • Every real value falling within the continuous interval between the minimum and maximum has an equal likelihood / probability density of being observed.

    • Triangular Distribution:

    • Provides enhanced modeling flexibility compared to the uniform distribution by incorporating central tendency.

    • Defined by three explicit parameters:

      1. Minimum value
      2. Most likely value (mode)
      3. Maximum value
    • Normal Distribution:

    • Symmetric, bell-shaped probability density curve centered around a midpoint (mean).

    • Characterized by infinite asymptotic tails extending continuously toward positive infinity (+∞+\infty) and negative infinity (−∞-\infty).

    • The highest probability density and most likely outputs occur directly at the midpoint (mean).