Chapter Contents |
Previous |
Next |
Random and Exogenous Variation |
From this window, you can write a function that returns a number that is used as the sample from the FormulaDistribution. For example, suppose you wanted a mixture distribution with density function
The bottom-most window is the FormulaDistribution Formula window, and it contains the conditional element . Editing this element provides you with the capability to specify the condition .
If the condition evaluates to TRUE, it returns a value from the formula in the True Expression window , which is the appropriate exponential random variable. If it evaluates to FALSE, it returns a value from the user-defined formula in the False Expression window .
Chapter Contents |
Previous |
Next |
Top |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.