Random BuiltIn Function in Stella

Slides:



Advertisements
Similar presentations
Extra Credit Challenge III Chapter 18 How it works Your group is your own table If you participate and avoid disqualification, you automatically get.
Advertisements

Fill in missing numbers or operations
Chapter 6: The Standard Deviation as a Ruler and the Normal Model
Challenge 2 L. LaRosa for T. Trimpe 2008
Combining Like Terms. Only combine terms that are exactly the same!! Whats the same mean? –If numbers have a variable, then you can combine only ones.
WHAT DO THEY ALL MEAN?. Median Is the number that is in the middle of a set of numbers. (If two numbers make up the middle of a set of numbers then the.
and 6.855J Cycle Canceling Algorithm. 2 A minimum cost flow problem , $4 20, $1 20, $2 25, $2 25, $5 20, $6 30, $
Writing Pseudocode And Making a Flow Chart A Number Guessing Game
Half Life. The half-life of a quantity whose value decreases with time is the interval required for the quantity to decay to half of its initial value.
Finding a Common Denominator
You will need some paper!
Copyright © 2010 Pearson Education, Inc. Slide The boxplots shown above summarize two data sets, I and II. Based on the boxplots, which of the following.
Adding and Subtracting Integers. When adding integers, remember the following pneumonic devices: L A S S U S B.
Frigid Fridays On each Friday last January, the temperature was a record low temperature for the date. On Friday, January 30, the mercury dropped to 5°F,
1  1 =.
Inequalities and their Graphs Objective: To write and graph simple inequalities with one variable.
DIVIDING INTEGERS 1. IF THE SIGNS ARE THE SAME THE ANSWER IS POSITIVE 2. IF THE SIGNS ARE DIFFERENT THE ANSWER IS NEGATIVE.
SUBTRACTING INTEGERS 1. CHANGE THE SUBTRACTION SIGN TO ADDITION
MULT. INTEGERS 1. IF THE SIGNS ARE THE SAME THE ANSWER IS POSITIVE 2. IF THE SIGNS ARE DIFFERENT THE ANSWER IS NEGATIVE.
Multiplication and Division
Welcome to Who Wants to be a Millionaire
SOLVING EQUATIONS AND EXPANDING BRACKETS
Chapter 7 Sampling and Sampling Distributions
Bridging through 10 Learning objectives:
How to use Motif Join UI. 1. Open Command Window and type Motif_Join to call Motif_Join.m.
CHAPTER 5 REVIEW.
Box and Whiskers with Outliers. Outlier…… An extremely high or an extremely low value in the data set when compared with the rest of the values. The IQR.
ORDER OF OPERATIONS LESSON 2 DAY 2. BEDMAS B – Brackets E – Exponents D – Division from left to right M – Multiply from left to right A – Add from left.
1 BA 275 Quantitative Business Methods Statistical Inference: Hypothesis Testing Type I and II Errors Power of a Test Hypothesis Testing Using Statgraphics.
ADDING & SUBTRACTING INTEGERS by Angela Gallacher NS 1.2 and AF 1.3
Everything about Integers
Price Ceilings and Floors. How much rent do you pay per month during the academic year? (Enter DK if you dont know.)
Chapter 7, Sample Distribution
Discrete Event (time) Simulation Kenneth.
5.9 + = 10 a)3.6 b)4.1 c)5.3 Question 1: Good Answer!! Well Done!! = 10 Question 1:
THE CENTRAL LIMIT THEOREM
Hypothesis Tests: Two Independent Samples
Chapter 4 Inference About Process Quality
Distributions of the Sample Mean
Created by Mr. Lafferty Maths Dept
Interesting Integers!.
Probabilistic Volatility in the Western Interconnection Matthew Elkins.
Hours Listening To Music In A Week! David Burgueño, Nestor Garcia, Rodrigo Martinez.
Solve by Substitution: Isolate one variable in an equation
Quantitative Analysis (Statistics Week 8)
CHAPTER 2 – DISCRETE DISTRIBUTIONS HÜSEYIN GÜLER MATHEMATICAL STATISTICS Discrete Distributions 1.
Christopher Dougherty EC220 - Introduction to econometrics (chapter 11) Slideshow: model c assumptions Original citation: Dougherty, C. (2012) EC220 -
CHEM 213 Instrumental Analysis Lab Lecture – Copper by AA & Least Squares Analysis.
Position-Time Graphs. POSITION (m) TIME (s) v = v = 2 m/s [E] v = Δd Δt v =
1 of 31 Images from Africa. 2 of 31 My little Haitian friend Antoine (1985)
Chapter 5 Loops Liang, Introduction to Java Programming, Tenth Edition, (c) 2015 Pearson Education, Inc. All rights reserved.
End Simplify A. 13B. 147 C. 17D – 2(5)+7.
Number bonds to 10,
Let’s take a 15 minute break Please be back on time.
Bell Schedules Club Time is available from 8:05-8:20  1 st 8:20 – 9:15  2 nd 9:20 – 10:10  3 rd 10:15 – 11:05  4 th 11:10 – 12:50 A(11:10)
Bottoms Up Factoring. Start with the X-box 3-9 Product Sum
15-Jan-15Created by Mr. Lafferty Maths Dept Integers – Positive and Negative Add /Sub using Thermometer Integers Add / Sub Integers.
Nov 7, 2013 Lirong Xia Hypothesis testing and statistical decision theory.
6.2 Confidence Intervals for the Mean (Small Samples) Statistics Mrs. Spitz Spring 2009.
( ) EXAMPLE 6 Write a quadratic function in vertex form
One sample means Testing a sample mean against a population mean.
Random variables 1. Note  there is no chapter in the textbook that corresponds to this topic 2.
Materials for Lecture 11 Chapters 3 and 6 Chapter 16 Section 4.0 and 5.0 Lecture 11 Pseudo Random LHC.xls Lecture 11 Validation Tests.xls Next 4 slides.
Simulation Operations -- Prof. Juran.
Sampling Distributions. What is a sampling distribution? Grab a sample of size N Compute a statistic (mean, variance, etc.) Record it Do it again (until.
Sampling Distributions Adapted from Exploring Statistics with the TI-83 by Gail Burrill, Patrick Hopfensperger, Mike Koehler.
Descriptive Statistics Experiment Simulations Confidence Intervals Sampling Distribution Simulations Main Menu.
Chapter 23 Comparing Means.
Wednesday After Lunch: Add randomness to the Flowers Model
Presentation transcript:

Random BuiltIn Function in Stella

RANDOM(<min>, <max>, [<seed>]) The RANDOM builtin generates a series of uniformly distributed random numbers between min and max. RANDOM samples a new random number in each iteration of a model run. If you wish to replicate the stream of random numbers, specify seed as an integer between 1 and 32767. To replicate a simulation, all entities that use statistical functions must have seeds specified. Each entity using a statistical function should use a separate seed value.

Examples: RANDOM(0,1) creates a non-replicable uniformly distributed stream of numbers between 0 and 1. RANDOM(0,1,147) creates a replicable uniformly distributed stream of numbers between 0 and 1. RANDOM(0,10,12) gives a replicable uniformly distributed stream of numbers between 0 and 10. RANDOM(10,13,12) gives a replicable uniformly distributed stream of numbers between 10 and 13.

Build the flower model of Chapter 6 to reproduce the output shown on the next page. Or get it from http://www.atmosedu.com/WSU/esrp310-550/PP/Flowers.STM

Now add a new converter for temperature and connect it To the intrinsic growth rate. In the original model the intrinsic growth rate was fixed at 1.0. Here we’ll let Temperature be Random (20,30,999) and intrinsic growth rate = temperature/25.0 We added the seed here so all simulations will look the same.

Paste your resulting graphs of Flower area, growth, and decay here.

Try letting Temperature be Random (15,35,999) and intrinsic growth rate = temperature/25.0 What do you expect to be different for this new simulation? ANSWER

Paste your resulting graphs of Flower area, growth, and decay here.

NORMAL(<mean>,<std>, [<seed>]) The NORMAL builtin generates a series of normally distributed random numbers with a specified mean and std (standard deviation). NORMAL samples a new random number in each iteration of a simulation. If you wish to replicate the stream of random numbers, specify seed as an integer between 1 and 32767. To replicate a simulation, all entities that use statistical functions must have seeds specified. Each entity using a statistical function should use a separate seed value.

Examples: NORMAL(0,1) gives a non-replicable normally distributed stream of numbers (mean=0, standard deviation=1) NORMAL(0,1,147) gives a replicable normally distributed stream of numbers (mean=0, standard deviation=1) NORMAL(5,1,12) gives a replicable normally distributed stream of numbers (mean=5, standard deviation=1) NORMAL(10,5,102) gives a replicable normally distributed stream of numbers (mean=10, standard deviation=5)

Now let Temperature be Normal (25,5,999) and intrinsic growth rate = temperature/25.0 We added the seed here so all simulations will look the same and make it easier for your instructor to see if you got things set correctly.

Paste your resulting graphs of Flower area, growth, and decay here.

Now let Temperature be Normal (25,10,999) and intrinsic growth rate = temperature/25.0 What do you expect to be different for this new simulation? ANSWER

Paste your resulting graphs of Flower area, growth, and decay here.

Download the 3rd version of the MonoLake Model. http://www.atmosedu.com/WSU/esrp310-550/monoLake/MonoLake3.STM This has a comparitive graph set for volume in the lake.

Run the model once to get a graph of water in the lake with a fixed export of 100. Now run with export set to Normal (100,50,999) . Run this 7 times.(don’t expect big things here) Now run with export set to Normal (100,50) . Run this 7 times

Paste your resulting graphs of Flower area, growth, and decay here.

Comment on the advantages and disadvantage of the seed