In: Statistics and Probability
Explain Probability Distribution of a single variable, Summary Measures of a Probability Distribution, Conditional Mean and Variance and Introduction to Simulation
Solution:
A probability distribution is a function that describes the likelihood of obtaining the possible values that a random variable can assume. In other words, the values of the variable vary based on the underlying probability distribution.
Suppose you draw a random sample and measure the heights of the subjects. As you measure heights, you can create a distribution of heights. This type of distribution is useful when you need to know which outcomes are most likely, the spread of potential values, and the likelihood of different results.
In this blog post, you’ll learn about probability distributions for both discrete and continuous variables. I’ll show you how they work and examples of how to use them.
General Properties of Probability Distributions
Probability distributions indicate the likelihood of an event or outcome. Statisticians use the following notation to describe probabilities:
p(x) = the likelihood that random variable takes a specific value of x.
The sum of all probabilities for all possible values must equal 1. Furthermore, the probability for a particular value or range of values must be between 0 and 1.
Probability distributions describe the dispersion of the values of a random variable. Consequently, the kind of variable determines the type of probability distribution. For a single random variable, statisticians divide distributions into the following two types:
Simulation
Simulation is a flexible methodology we can use to analyze the behavior of present or proposed business activity, new product, manufacturing line or plant expansion, and so on (analysts call this the 'system' understudy). By performing simulations and analyzing the results, we can gain an understanding of how a present system operates, and what would happen if we changed it -- or we can estimate how a proposed new system would behave. Often -- but not always -- a simulation deals with uncertainty, in the system itself, or in the world around it.
Simulation Applications
Simulation is one of the most widely used quantitative methods -- because it is so flexible and can yield so many useful results. Here's just a sample of the applications where simulation is used:
Simulation Models
In a simulation, we perform experiments on a model of the real system, rather than the real system itself. We do this because it is faster, cheaper, or safer to perform experiments on the model. While simulations can be performed using physical models -- such as a scale model of an airplane -- our focus here is on simulations carried out on a computer.
Computer simulations use a mathematical model of the real system. In such a model we use variables to represent key numerical measures of the inputs and outputs of the system, and we use formulas, programming statements, or other means to express mathematical relationships between the inputs and outputs. When the simulation deals with uncertainty, the model will include uncertain variables -- whose values are not under our control -- as well as decision variables or parameters that we can control. The uncertain variables are represented by random number generators that return sample values from a representative distribution of possible values for each uncertain element in each experimental trial or replication of the model. A simulation run includes many hundreds or thousands of trials.
Our simulation model -- often called a risk model -- will calculate the impact of the uncertain variables and the decisions we make on outcomes that we care about, such as profit and loss, investment returns, environmental consequences, and the like. As part of our model design, we must choose how numerical values for the uncertain variables will be sampled on each trial.
Simulation Methods
Complex manufacturing and logistics systems often call for discrete event simulation, where there are "flows" of materials or parts, people, etc. through the system and many steps or stages with complex interrelationships. Special simulation modeling languages are often used for these applications.
But a great many situations -- including almost all of the examples above -- have been successfully handled with simulation models created in a spreadsheet using Microsoft Excel. This minimizes the learning curve since you can apply your spreadsheet skills to create the model. Simple steps or stages, such as inventory levels in different periods, are easy to represent in columns of a spreadsheet model. You can solve a wide range of problems with Monte Carlo simulation of models created in Excel, or in a programming language such as Visual Basic, C++ or C#.
Running a simulation generates a great deal of statistical data, that must be analyzed with appropriate tools. Professional simulation software, such as Frontline Systems' Risk Solver, allows you to easily create charts and graphs, a wide range of statistics and risk measures, perform sensitivity analysis and parameterized simulations and use advanced methods for simulation optimization.
Monte Carlo Simulation
Monte Carlo simulation -- named after the city in Monaco famed for its casinos and games of chance -- is a powerful method for studying the behavior of a system, as expressed in a mathematical model on a computer. As the name implies, Monte Carlo methods rely on a random sampling of values for uncertain variables, that are "plugged into" the simulation model and used to calculate outcomes of interest. With the aid of software, we can obtain statistics and view charts and graphs of the results. To learn more, consult our Monte Carlo simulation tutorial.
Monte Carlo simulation is especially helpful when there are several different sources of uncertainty that interact to produce an outcome. For example, if we're dealing with uncertain market demand, competitors' pricing, and variable production and raw materials costs at the same time, it can be very difficult to estimate the impacts of these factors -- in combination -- on Net Profit. Monte Carlo simulation can quickly analyze thousands of 'what-if' scenarios, often yielding surprising insights into what can go right, what can go wrong, and what we can do about it.