Related Topics: | ||
The following functions are the predefined functions available for RENO flowcharts. Note that many of these functions are also available in analysis workbooks.
The general mathematical functions are presented first followed by probability functions and the random variable functions.
A probability function returns the probability that a random variable will occur. In other words, it returns the value of F(x) given x, where F(x) is the cumulative density function of a distribution. The returned probability will always be between 0 and 1. Some examples:
To obtain the value of a Weibull distribution at time 1,000 hours with parameters beta = 1.5, eta = 500 and gamma = 0 you would use the function pr_weibull(1000,1.5,500,0).
If you wish to obtain the probability using a random time value you would use the function pr_weibull(rand,1.5,500,0) where "rand" is a predefined function that returns a random value that is greater than or equal to 0, but less than 1.
A random variable function is the opposite of a probability function. It returns the value of a random variable based on a given probability distribution. In other words, it returns a value x, given F(x). Some examples:
To obtain the value of a uniform-discrete distribution with parameters a = 1 and b = 6, and probability = 0.9, you would use the function rv_uniform_discrete(0.9,1,6).
If you wish to use a random probability value for the given distribution, you would use rv_uniform_discrete(rand,1,6), where "rand" is a predefined function that returns a random value that is greater than or equal to 0, but less than 1.
What's Changed? In previous versions of the software, the probability and random variable functions were a type of global object known as a "definition." The second example given above is similar to using a random variable definition in the previous version.
© 1992-2015. ReliaSoft Corporation. ALL RIGHTS RESERVED.