Objective

Web application operation

  1. Indicate the mean and standard deviation of distributions 1 and 2, using the sliders.
  2. Select the operation. Sum or Product.

Results

  • The app will show you the first two distributions with the parameters you provided and a third distribution with the result.

Example (result and code on next page)
* the means of the first and second distributions are 420 and 10.
* the standard deviations of the first and second distributions are 50 and 40.
* the number (n) of simulated values is 10000.
* the chosen operation is "Sum".
* the app shows the following distribution as a result.

Example with result and code

n<-10000
first<-rnorm(10000, mean = 420, sd = 50)
second<-rnorm(10000, mean = 10, sd = 40)
hist(first+second)