Continuous Random VI

Owning Palette: Probability VIs

Requires: Full Development System

Generates random values from a variate X, where X describes the selected distribution type. You must manually select the polymorphic instance to use.

Use the pull-down menu to select an instance of this VI.

 Add to the block diagram  Find on the palette

Beta Random

reset, if TRUE, resets the seed to the seed control value. The default is FALSE.
samples specifies the number of samples the output array contains. samples must be greater than or equal to 0. The default is 128.
a specifies the first shape parameter of the beta variate.
b specifies the second shape parameter of the beta variate.
seed, when greater than 0, causes reseeding of the noise sample generator. The default is –1.
beta random data contains randomized data distributed according to the beta distribution.
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster.

Cauchy Random

Note Note  Generates random values from a Cauchy-distributed random variate with location a and scale b.

reset, if TRUE, resets the seed to the seed control value. The default is FALSE.
samples specifies the number of samples the output array contains. samples must be greater than or equal to 0. The default is 128.
a specifies the location parameter and median of the variate.
b specifies the scale parameter of the variate and must be greater than 0.
seed, when greater than 0, causes reseeding of the noise sample generator. The default is –1.
Cauchy random data contains randomized data distributed according to the Cauchy distribution.
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster.

Chi-Squared Random

Note Note  X represents a chi-squared-distributed variate with k degrees of freedom. The sum of k squared, independent, standard normal variates is distributed as a chi-squared variate with k degrees of freedom.

reset, if TRUE, resets the seed to the seed control value. The default is FALSE.
samples specifies the number of samples the output array contains. samples must be greater than or equal to 0. The default is 128.
k specifies the number of degrees of freedom and must be greater than 0.
seed, when greater than 0, causes reseeding of the noise sample generator. The default is –1.
chi-squared random data contains randomized data distributed according to the chi-squared distribution.
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster.

Chi-Squared (Non-Central) Random

Note Note  X represents a non-central chi-squared-distributed variate with k degrees of freedom and a noncentrality parameter d. The sum of k squared, independent, normal variates with a mean of d and a standard deviation of 1 is distributed as a non-central chi-squared variate with k degrees of freedom and noncentrality d.

reset, if TRUE, resets the seed to the seed control value. The default is FALSE.
samples specifies the number of samples the output array contains. samples must be greater than or equal to 0. The default is 128.
k specifies the number of degrees of freedom and must be greater than 0.
d specifies the noncentrality parameter, which must be greater than 0.
seed, when greater than 0, causes reseeding of the noise sample generator. The default is –1.
chi-squared(nc) random data contains randomized data distributed according to the non-central chi-squared distribution.
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster.

Exp Random

Note Note  X represents an exponential-distributed variate. The exponential distribution often is used to model Poisson processes, which are situations in which an object can change from one state to another with constant probability per unit time. The scale parameter b is the mean of the distribution.

reset, if TRUE, resets the seed to the seed control value. The default is FALSE.
samples specifies the number of samples the output array contains. samples must be greater than or equal to 0. The default is 128.
a specifies the offset parameter of the variate.
b specifies the scale parameter of the variate and must be greater than 0.
seed, when greater than 0, causes reseeding of the noise sample generator. The default is –1.
exp random data contains randomized data distributed according to the exponential distribution.
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster.

Extreme Value Random

Note Note  X represents an extreme value variate, which is the distribution of the largest extreme of a number of values with location parameter a and scale parameter b.

reset, if TRUE, resets the seed to the seed control value. The default is FALSE.
samples specifies the number of samples the output array contains. samples must be greater than or equal to 0. The default is 128.
a specifies the location parameter of the variate.
b specifies the scale parameter of the variate.
seed, when greater than 0, causes reseeding of the noise sample generator. The default is –1.
extreme value random numbers contains randomized data distributed according to the extreme value distribution.
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster.

F Random

Note Note  X represents an F variate, which is the ratio of two chi-squared variates. The F variate provides a basis for comparing variances between data and factors within a model, often indicating which factors cause significant variation. The k1 and k2 parameters specify the degrees of freedom of the two chi-squared variates whose ratio form the F variate.

reset, if TRUE, resets the seed to the seed control value. The default is FALSE.
samples specifies the number of samples the output array contains. samples must be greater than or equal to 0. The default is 128.
k1 specifies the number of degrees of freedom of the first chi-squared variate that forms the F variate. k1 must be greater than 0.
k2 specifies the number of degrees of freedom of the second chi-squared variate that forms the F variate. k2 must be greater than 0.
seed, when greater than 0, causes reseeding of the noise sample generator. The default is –1.
f random numbers contains randomized data distributed according to the F distribution.
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster.

Gamma Random

Note Note  X represents a gamma-distributed variate with scale parameter b and shape parameter c. The gamma distribution includes the chi-squared, Erlang, and exponential distributions as special cases, but the value of the gamma shape parameter is not restricted to integers. The gamma variate with an integer shape parameter c is known as the Erlang variate.

reset, if TRUE, resets the seed to the seed control value. The default is FALSE.
samples specifies the number of samples the output array contains. samples must be greater than or equal to 0. The default is 128.
b specifies the scale parameter of the variate and must be greater than 0.
c specifies the shape parameter of the variate and must be greater than 0.
seed, when greater than 0, causes reseeding of the noise sample generator. The default is –1.
gamma random numbers contains randomized data distributed according to the gamma distribution.
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster.

Laplace Random

Note Note  X represents a Laplace-distributed variate with location parameter a and scale parameter b.

reset, if TRUE, resets the seed to the seed control value. The default is FALSE.
samples specifies the number of samples the output array contains. samples must be greater than or equal to 0. The default is 128.
a specifies the location or mean parameter of the variate.
b specifies the scale parameter of the variate and must be greater than 0.
seed, when greater than 0, causes reseeding of the noise sample generator. The default is –1.
Laplace random numbers contains randomized data distributed according to the Laplace distribution.
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster.

Logistic Random

Note Note  X represents a logistic-distributed variate with location parameter a and scale parameter b. You can use the logistic variate to model growth.

reset, if TRUE, resets the seed to the seed control value. The default is FALSE.
samples specifies the number of samples the output array contains. samples must be greater than or equal to 0. The default is 128.
a specifies the location or mean parameter of the variate.
b specifies the scale parameter of the variate and must be greater than 0.
seed, when greater than 0, causes reseeding of the noise sample generator. The default is –1.
logistic random data contains randomized data distributed according to the logistic distribution.
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster.

Lognormal Random

Note Note  X represents a lognormal-distributed variate, which always is nonnegative and has several large values.

reset, if TRUE, resets the seed to the seed control value. The default is FALSE.
samples specifies the number of samples the output array contains. samples must be greater than or equal to 0. The default is 128.
b specifies the scale or median parameter of the variate and must be greater than 0.
c specifies the shape parameter of the variate and must be greater than 0.
seed, when greater than 0, causes reseeding of the noise sample generator. The default is –1.
Lognormal random numbers contains randomized data distributed according to the lognormal distribution.
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster.

Normal Random

Note Note  X represents a normally-distributed variate with location parameter mean and scale parameter std. The normal continuous distribution is the most commonly used distribution in statistics and is the asymptotic form of the sum of random variables under a wide range of conditions.

reset, if TRUE, resets the seed to the seed control value. The default is FALSE.
samples specifies the number of samples the output array contains. samples must be greater than or equal to 0. The default is 128.
mean specifies the location or mean parameter of the variate.
std specifies the scale or standard deviation parameter of the variate and must be greater than 0.
seed, when greater than 0, causes reseeding of the noise sample generator. The default is –1.
normal random data contains randomized data distributed according to the normal distribution.
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster.

Pareto Random

Note Note  X represents a Pareto-distributed variate with location parameter a and shape parameter c. You can use the Pareto distribution to model the distribution of the number of people with an income less than x. The Pareto distribution often is associated with the "80/20" rule.

reset, if TRUE, resets the seed to the seed control value. The default is FALSE.
samples specifies the number of samples the output array contains. samples must be greater than or equal to 0. The default is 128.
a specifies the location parameter and must be greater than 0.
c specifies the shape parameter of the variate and must be greater than 0.
seed, when greater than 0, causes reseeding of the noise sample generator. The default is –1.
Pareto random data contains randomized data distributed according to the Pareto distribution.
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster.

Rayleigh Random

Note Note  X represents a Rayleigh-distributed variate with scale parameter b. The RMS sum of two independent, standard, normal variates is a Rayleigh-distributed variate.

reset, if TRUE, resets the seed to the seed control value. The default is FALSE.
samples specifies the number of samples the output array contains. samples must be greater than or equal to 0. The default is 128.
b specifies the scale parameter of the variate and must be greater than 0.
seed, when greater than 0, causes reseeding of the noise sample generator. The default is –1.
Rayleigh random data contains randomized data distributed according to the Rayleigh distribution.
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster.

Student t Random

Note Note  X represents a Student's t-distributed variate with k degrees of freedom. You can use the Student's t-distribution to test whether two samples came from the same normal population or whether the differences between the means of two samples is statistically significant.

reset, if TRUE, resets the seed to the seed control value. The default is FALSE.
samples specifies the number of samples the output array contains. samples must be greater than or equal to 0. The default is 128.
k degrees of freedom specifies the number of degrees of freedom and must be greater than 0.
seed, when greater than 0, causes reseeding of the noise sample generator. The default is –1.
Student t random data contains randomized data distributed according to the Student's t distribution.
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster.

Triangular Random

Note Note  X represents a triangular-distributed variate with lower limit xmin, upper limit xmax, and mode xmode.

reset, if TRUE, resets the seed to the seed control value. The default is FALSE.
samples specifies the number of samples the output array contains. samples must be greater than or equal to 0. The default is 128.
xmin specifies the lower limit parameter of the variate.
xmode specifies the mode parameter of the variate. The default is NaN, which corresponds to a mode at the midpoint between xmin and xmax.
xmax specifies the upper limit parameter of the variate.
seed, when greater than 0, causes reseeding of the noise sample generator. The default is –1.
triangular random data contains randomized data distributed according to the triangular distribution.
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster.

Uniform Random

Note Note  X represents a continuous uniform-distributed variate such that every value in the range of x, as defined by the interval [xmin, xmax], is equally likely to occur. Uniform random numbers typically follow this distribution. The continuous uniform distribution serves as the basis of the generation of random numbers from other statistical distributions.

reset, if TRUE, resets the seed to the seed control value. The default is FALSE.
samples specifies the number of samples the output array contains. samples must be greater than or equal to 0. The default is 128.
xmin specifies the lower limit parameter of the variate.
xmax specifies the upper limit parameter of the variate.
seed, when greater than 0, causes reseeding of the noise sample generator. The default is –1.
uniform random data contains randomized data distributed according to the uniform distribution.
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster.

Weibull Random

reset, if TRUE, resets the seed to the seed control value. The default is FALSE.
samples specifies the number of samples the output array contains. samples must be greater than or equal to 0. The default is 128.
a specifies the location parameter and must be greater than 0.
b specifies the shape parameter of the variate and must be greater than 0.
seed, when greater than 0, causes reseeding of the noise sample generator. The default is –1.
Weibull random numbers contains randomized data distributed according to the Weibull distribution.
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster.