Using JMP > Formula Functions Reference > Probability Functions
Publication date: 10/01/2019

Probability Functions

You can build formulas that calculate probabilities and quantiles for statistical distributions including the beta, Chi-square, F, gamma, normal, Student’s t, and Weibull distributions. See Probability Functions in the JSL Syntax Reference for more information about distribution parameterizations and function arguments.

Beta Distribution Probability Functions

For more information about syntax for the Beta Distribution probability functions, see Probability Functions in the JSL Syntax Reference.

Beta Density

Requires three arguments: quantile argument and the shape parameters alpha and beta. A threshold parameter (θ) and a scale parameter (σ > 0) are additional arguments. It returns the value of the beta probability density function (pdf) for the given arguments. The beta density is useful for modeling the probabilistic behavior of random variables such as proportions constrained to fall in the interval [0, 1].

Beta Distribution

The beta distribution has two shape parameters: α > 0 and β > 0. A threshold parameter (θ) and a scale parameter (σ) are additional arguments, where θ≤ x ≤θ + σ. The default value for θ is 0. The default value for σ is 1.

The beta distribution function is the inverse of the beta quantile function.

Beta Quantile

Accepts a probability argument, p, and shape and scale parameters, α > 0 and β > 0. It returns the pth quantile from the standard beta distribution. The beta quantile function is the inverse of the beta distribution function.

Cauchy Distribution Probability Functions

For more information about syntax for the Cauchy Distribution probability functions, see Probability Functions in the JSL Syntax Reference.

Cauchy Density

Accepts an argument x, which can be any real number, and optional arguments center and scale. If you do not specify values for the optional arguments, the function returns the value at x of the Cauchy probability density function (pdf) for a distribution with median 0 and third quartile 1.

If you specify values for center and scale, the function returns the value at x of the Cauchy probability function, characterized as follows:

The optional parameter center is the median of the distribution.

The optional parameter scale is half of the interquartile range, namely, half of the difference between the 0.75 and 0.25 quantiles.

Cauchy Distribution

Accepts an argument x, which can be any real number, and optional arguments center and scale. If you do not specify values for the optional arguments, the function returns the value at x of the Cauchy cumulative distribution function (cdf) for a distribution with median 0 and third quartile 1. If you specify values for center and scale, the function returns the value at x of the cumulative distribution function for the Cauchy distribution with median given by center and interquartile range given by twice the scale.

Cauchy Quantile

Accepts an argument prob, which can be any number between 0 and 1, and optional arguments center and scale. If you do not specify values for the optional arguments, the function returns the pth quantile, where p = prob, of a Cauchy distribution with median 0 and third quartile 1. If you specify values for center and scale, the function returns the pth quantile of a Cauchy distribution with median given by center and interquartile range given by twice the scale.

ChiSquare Distribution Probability Functions

For more information about syntax for the ChiSquare Distribution probability functions, see Probability Functions in the JSL Syntax Reference.

ChiSquare Density

Accepts a quantile argument from the range of values for the Chi-squared distribution, a degrees of freedom argument, and an optional noncentrality parameter. It returns the value of the Chi-squared density function (pdf) for the arguments.

ChiSquare Distribution

Accepts a response argument (range of x values) and three parameter arguments: a quantile, a degrees of freedom, and a noncentrality parameter. It returns the probability that an observation from the Chi-squared distribution with the specified noncentrality parameter and degrees of freedom is less than or equal to the given quantile. For example, the expression ChiSquare Distribution(11.264, 5) returns the probability that an observation from the Chi-squared distribution centered at 0 with 5 degrees of freedom is less than or equal to 11.264. The expression evaluates as 0.95361.

Furthermore, the ChiSquare Distribution function accepts integer and noninteger degrees of freedom. It is centered at 0 by default. The ChiSquare Distribution function is the inverse of the ChiSquare Quantile function.

ChiSquare Log CDistribution

Returns 1 -log (value) of the Chi-square distribution.

ChiSquare Log Density

Returns the log of the value of the Chi-square probability density.

ChiSquare Log Distribution

Returns the log of the value of the Chi-square distribution.

ChiSquare Noncentrality

Returns the noncentrality parameter nc such that probability is equal to the probability that a Chi-square distributed random variable with df degrees of freedom is less than x.

ChiSquare Quantile

Accepts three arguments: a probability p, a degrees of freedom, and a noncentrality parameter. It returns the pth quantile from the Chi-squared distribution with the specified noncentrality parameter and degrees of freedom. For example, the expression ChiSquare Quantile(.95, 3.5, 4.5) returns the 95% quantile from the Chi-squared distribution centered at 4.5 with 3.5 degrees of freedom. The expression evaluates as 17.50458.

The ChiSquare Quantile function accepts integer and noninteger degrees of freedom. It is centered at 0 by default. The ChiSquare Quantile function is the inverse of the ChiSquare Distribution function.

Dunnet’s Test Functions

For more information about syntax for Dunnet’s Test functions, see Probability Functions in the JSL Syntax Reference.

Dunnett P Value

Returns the p-value from Dunnett’s multiple comparison test.

Dunnett Quantile

Returns the quantile needed in Dunnett’s multiple comparison tests.

Exponential Distribution Probability Functions

For more information about syntax for the Exponential Distribution probability functions, see Probability Functions in the JSL Syntax Reference.

Exp Density

Returns the probability density function (pdf) evaluated at x of the exponential distribution. The pdf is parameterized as follows:

Exp Distribution

Returns the cumulative distribution function (cdf) evaluated at x of the exponential distribution. The cdf is parameterized as follows:

Exp Quantile

Returns the pth quantile from an exponential distribution with scale parameter theta. The quantile function is parameterized as follows:

F Distribution Functions

For more information about syntax for the F Distribution probability, power, and sample size functions, see Probability Functions in the JSL Syntax Reference.

F Density

Accepts a quantile argument from the range of values for the F-distribution, numerator and denominator degrees of freedom arguments, and an optional noncentrality parameter. It returns the value of the F-density function (pdf) for the arguments.

F Distribution

Accepts four arguments: a quantile, a numerator and denominator degrees of freedom, and a noncentrality parameter. It returns the probability that an observation from the F-distribution with the specified noncentrality parameter and degrees of freedom is less than or equal to the given quantile. For example, the expression F Distribution(3.32, 2, 3) returns the probability that an observation from the central F-distribution with 2 degrees of freedom in the numerator and 3 degrees of freedom in the denominator is less than or equal to 3.32. The expression evaluates as 0.82639.

The F-distribution function accepts integer and noninteger degrees of freedom. By default, the non-central parameter is set to 0. The F-distribution function is the inverse of the F Quantile function.

F Log CDistribution

Returns the log of 1 - F-distribution.

F Log Density

Returns the log of the F probability density.

F Log Distribution

Returns the log of the F-distribution.

F Noncentrality

Solves the noncentrality such that prob=F-distribution (x, ndf, ddf, nc).

F Power and F Sample Size

The F Power function calculates the power from a given situation that involves an F test or t test, and the F Sample Size function computes the sample size. The arguments are the values that you specify for computation of a prospective power analysis. (These functions perform the same computations as if you selected DOE > Sample Size and Power. See Prospective Sample Size and Power in the Design of Experiments Guide for a discussion of power and sample size.)

F Quantile

Accepts four arguments: a probability p, a numerator and denominator degrees of freedom, and a noncentrality parameter. It returns the pth quantile from the F-distribution with the specified noncentrality parameter and degrees of freedom. For example, the expression F Quantile(0.95, 2, 10, 0) returns the 95% quantile from the F-distribution centered at 0 with 2 degrees of freedom in the numerator and 10 degrees of freedom in the denominator. The expression evaluates as 4.1028.

The F Quantile function accepts integer and noninteger degrees of freedom. By default, the non-central parameter is set to 0. The F Quantile function is the inverse of the F Distribution function.

Frechet Distribution Probability Functions

For more information about syntax for the Frechet Distribution probability functions, see Probability Functions in the JSL Syntax Reference.

Frechet Density

Returns the density at x of a Fréchet distribution with location mu and scale sigma.

Frechet Distribution

Returns the probability that a Fréchet distribution with location mu and scale sigma is less than x.

Frechet Quantile

Returns the quantile associated with a cumulative probability p for a Fréchet distribution with location mu and scale sigma.

Gamma Distribution Probability Functions

For more information about syntax for the Gamma Distribution probability functions, see Probability Functions in the JSL Syntax Reference.

Gamma Density

Requires a quantile argument. Also accepts an optional alpha shape parameter, which must be greater than zero and defaults to 1. A scale parameter b, which must be greater than zero and defaults to 1, is optional. A threshold parameter, which must be in the range - < θ < + and defaults to zero, is optional.

Figure A.12 shows the shape of gamma probability density functions for shape parameters of 1, 3, and 5. The standard gamma density function is strictly decreasing when α (shape) 1. When α > 1 the density function begins at zero when x is θ, increases to a maximum, and then decreases.

Figure A.12 Gamma Density Example 

Gamma Distribution

Is based on the standard gamma function, and accepts a single argument with a quantile value. The shape, scale, and threshold parameters are optional, with defaults as described previously in the discussion of the Gamma Density function. It returns the probability that an observation from a standard gamma distribution is less than or equal to the specified x. The Gamma Distribution function is the inverse of Gamma Quantile function.

Gamma Log CDistribution

Returns the log of 1 - Gamma distribution.

Gamma Log Density

Returns the log of the Gamma probability density.

Gamma Log Distribution

Returns the log of the Gamma distribution.

Gamma Quantile

Accepts a probability argument p, and returns the pth quantile from the standard gamma distribution with the shape parameter that you specify. The Gamma Quantile function is the inverse of the Gamma Distribution function.

GenGamma Distribution Probability Functions

For more information about syntax for the GenGamma Distribution probability functions, see Probability Functions in the JSL Syntax Reference.

GenGamma Density

Returns the density at x of a GenGamma probability distribution with parameters mu, sigma, and lambda.

GenGamma Distribution

Returns the probability that a GenGamma distributed random variable (with parameters mu, sigma, and lambda) is less than x.

GenGamma Quantile

Returns the quantile from a GenGamma distribution, the value for which the probability is p that a random value would be lower. mu, sigma, and lambda are parameters, respectively.

Generalized Logarithm Distribution Probability Functions

For more information about syntax for the Generalized Logarithm Distribution probability functions, see Probability Functions in the JSL Syntax Reference.

GLog Density

Returns the density or pdf at a particular quantile q of a generalized logarithm distribution with location mu, scale sigma, and shape lambda. When the shape parameter is equal to zero, the distribution reduces to a Lognormal(mu, sigma).

GLog Distribution

Returns the probability or cdf that a generalized logarithm distributed random variable is less than q. When the shape parameter is equal to zero, the distribution reduces to a Lognormal(mu, sigma).

GLog Quantile

Returns the quantile, the value for which the probability is p that a random value would be lower. When the shape parameter is equal to zero, the distribution reduces to a Lognormal(mu, sigma).

Johnson Distribution Probability Functions

For more information about syntax for all of the Johnson Distribution probability functions, see Probability Functions in the JSL Syntax Reference.

Johnson Sb Distribution

Returns the probability that a Johnson Sb-distributed random variable is less than x. There are four optional arguments: gamma, delta, theta, and sigma. For a description of the Johnson Sb distribution and these parameters, see Johnson Sb Distribution(q, gamma, delta, theta, sigma) the JSL Syntax Reference.

Johnson Sb Quantile

Returns the pth quantile of the Johnson Sb distribution. There are four optional arguments: gamma, delta, theta, and sigma. For a description of the Johnson Sb distribution and these parameters, see Johnson Sb Quantile(p, gamma, delta, theta, sigma) the JSL Syntax Reference.

Johnson Sb Density

Returns the density at x of a Johnson Sb distribution. There are four optional arguments: gamma, delta, theta, and sigma. For a description of the Johnson Sb distribution and these parameters, see Johnson Sl Density(x, gamma, delta, theta, sigma) the JSL Syntax Reference.

Johnson Sl Distribution

Returns the probability that a Johnson Sl-distributed random variable is less than x. There are four optional arguments: gamma, delta, theta, and sigma. For a description of the Johnson Sl distribution and these parameters, see Johnson Sl Distribution(q, gamma, delta, theta, sigma) the JSL Syntax Reference.

Johnson Sl Quantile

Returns the pth quantile of the Johnson Sl distribution. There are four optional arguments: gamma, delta, theta, and sigma. For a description of the Johnson Sl distribution and these parameters, see Johnson Sl Quantile(p, gamma, delta, theta, sigma) the JSL Syntax Reference.

Johnson Sl Density

Returns the density at x of a Johnson Sl distribution. There are four optional arguments: gamma, delta, theta, and sigma. For a description of the Johnson Sl distribution and these parameters, see Johnson Sl Density(x, gamma, delta, theta, sigma) the JSL Syntax Reference.

Johnson Su Distribution

Returns the probability that a Johnson Su-distributed random variable is less than x. There are four optional arguments: gamma, delta, theta, and sigma. For a description of the Johnson Su distribution and these parameters, see Johnson Su Distribution(q, gamma, delta, theta, sigma) the JSL Syntax Reference.

Johnson Su Quantile

Returns the pth quantile of the Johnson Su distribution. There are four optional arguments: gamma, delta, theta, and sigma. For a description of the Johnson Su distribution and these parameters, see Johnson Su Quantile(p, gamma, delta, theta, sigma) the JSL Syntax Reference.

Johnson Su Density

Returns the density at x of a Johnson Su distribution. There are four optional arguments: gamma, delta, theta, and sigma. For a description of the Johnson Su distribution and these parameters, see Johnson Su Density(x, gamma, delta, theta, sigma) the JSL Syntax Reference.

Largest Extreme Value Distribution Probability Functions

For more information about syntax for the Largest Extreme Value Distribution probability functions, see Probability Functions in the JSL Syntax Reference.

LEV Density

Returns the density at x of the largest extreme value distribution with location mu and scale sigma.

LEV Distribution

Returns the probability that the largest extreme value distribution with location mu and scale sigma is less than x.

LEV Quantile

Returns the quantile associated with a cumulative probability p of the largest extreme value distribution with location mu and scale sigma.

LogGenGamma Distribution Probability Functions

For more information about syntax for the LogGenGamma Distribution probability functions, see Probability Functions in the JSL Syntax Reference.

LogGenGamma Density

Returns the density at x of a LogGenGamma probability distribution with parameters mu, sigma, and lambda.

LogGenGamma Distribution

Returns the probability that a LogGenGamma distributed random variable (with parameters mu, sigma, and lambda) is less than x.

LogGenGammaQuantile

Returns the quantile from a LogGenGamma distribution, the value for which the probability is p that a random value would be lower. mu, sigma, and lambda are parameters, respectively.

Logistic Distribution Probability Functions

For more information about syntax for the Logistic Distribution probability functions, see Probability Functions in the JSL Syntax Reference.

Logistic Density

Returns the density at x of a logistic distribution with location mu and scale sigma.

Logistic Distribution

Returns the probability that the logistic distribution with location mu and scale sigma is less than x.

Logistic Quantile

Returns the quantile associated with a cumulative probability p of the logistic distribution with location mu and scale sigma.

Loglogistic Distribution Probability Functions

For more information about syntax for the Loglogistic Distribution probability functions, see Probability Functions in the JSL Syntax Reference.

Loglogistic Density

Returns the density at x of the loglogistic distribution with location mu and scale sigma.

Loglogistic Distribution

Returns the probability that the loglogistic distribution with location mu and scale sigma is less than x.

Loglogistic Quantile

Returns the quantile associated with a cumulative probability p of the loglogistic distribution with location mu and scale sigma.

Lognormal Distribution Probability Functions

For more information about syntax for the Lognormal Distribution probability functions, see Probability Functions in the JSL Syntax Reference.

Lognormal Density

Returns the density at x of the lognormal distribution with location mu and scale sigma.

Lognormal Distribution

Returns the probability that the lognormal distribution with location mu and scale sigma is less than x.

Lognormal Quantile

Returns the quantile associated with a cumulative probability p of a lognormal distribution with location mu and scale sigma.

Normal Distribution Probability Functions

For more information about syntax for the Normal Distribution probability functions, see Probability Functions in the JSL Syntax Reference.

Normal Biv Distribution

Computes the probability that an observation is less than or equal to (x,y) with correlation coefficient r where the observation is marginally normally distributed. You can specify the mean and standard deviation for the X and Y coordinates of the observation. The default values are 0 for both means and 1 for both standard deviations.

Normal Density

Accepts an argument from the range of values for the standard normal distribution, which is all real numbers. It returns the value of the standard normal probability density function (pdf) for the argument. For example, you can create a column of values (X) with the formula count(-3, 3, nrow()). In a second column, insert the formula Normal Density(X) to generate density values. Then select Graph > Graph Builder to plot the normal density by X.

Normal Distribution

Accepts an argument x from the range of values for the standard normal distribution, which is all real numbers. It returns the probability that an observation from the standard normal distribution is less than or equal to x. For example, the expression Normal Distribution(1.96) returns 0.975, the probability that an observation from the standard normal distribution is less than or equal to the quantile 1.96. Also, you can specify mean and standard deviation parameters to obtain probabilities from nonstandard normal distributions. The Normal Distribution function is the inverse of the Normal Quantile function.

Normal Log CDistribution

Returns the log of 1 - Normal distribution.

Normal Log Density

Returns the log of the Normal probability density.

Normal Log Distribution

Returns the log of the Normal distribution.

Normal Mixture Density

Returns the density at q of a normal mixture distribution with group means mean, group standard deviations stdev, and group probabilities probability. The mean, stdev, and probability arguments are all vectors of the same size.

Normal Mixture Distribution

Returns the probability that a normal mixture distributed variable with group means mean, group standard deviations stdev, and group probabilities probability is less than q. The mean, stdev, and probability arguments are all vectors of the same size.

Normal Mixture Quantile

Returns the quantile, the values for which the probability is p that a random value would be lower. The mean, stdev, and probability arguments are all vectors of the same size.

Normal Quantile (Probit)

Accepts a probability argument p, and returns the pth quantile from the standard normal distribution. For example, the expression Normal Quantile(0.975) returns the 97.5% quantile from the standard normal distribution, which evaluates as 1.96. Also, you can specify parameter values for the mean and standard deviation to obtain quantiles from nonstandard normal distributions. The Normal Quantile function is the inverse of the Normal Distribution function.

Smallest Extreme Value Distribution Probability Functions

For more information about syntax for the Smallest Extreme Value Distribution probability functions, see Probability Functions in the JSL Syntax Reference.

SEV Density

Returns the density at x of the smallest extreme distribution with location mu and scale sigma.

SEV Distribution

Returns the probability that the smallest extreme distribution with location mu and scale sigma is less than x.

SEV Quantile

Returns the quantile associated with a cumulative probability p of the smallest extreme distribution with location mu and scale sigma.

SHASH Distribution Probability Functions

For more information about syntax for the SHASH Distribution probability functions, see Probability Functions in the JSL Syntax Reference.

SHASH Density

Returns the density at x of the sinh-arcsinh (SHASH) distribution.

SHASH Distribution

Returns the probability that the sinh-arcsinh (SHASH) distribution is less than x.

SHASH Quantile

Returns the quantile associated with a cumulative probability p of the sinh-arcsinh (SHASH) distribution.

t Distribution Probability Functions

For more information about syntax for the t Distribution probability functions, see Probability Functions in the JSL Syntax Reference.

t Density

Accepts a quantile argument from the range of values for the t-distribution, a degrees of freedom argument, and an optional noncentrality parameter. It returns the value of the t-density function (pdf) for the arguments. To compare a t-density with 5 df with a standard normal distribution, you can create a column of quantile values (X) with the formula count(-3, 3, nrow()). In a second column, insert the formula t Density(X, 5). In a third column, insert the formula Normal Density(X). Then select Graph > Graph Builder to plot the t-density and the normal density by X. You will see that the t-density has slightly more spread than the normal.

t Distribution

Accepts three arguments: a quantile, a degrees of freedom, and a noncentrality parameter. It returns the probability that an observation from the Student’s t-distribution with the specified noncentrality parameter and degrees of freedom is less than or equal to the given quantile. For example, the expression t Distribution(.9, 5) returns the probability that an observation from the Student’s t-distribution centered at 0 with 5 degrees of freedom is less than or equal to 0.9. The expression is evaluated as 0.79531. t-distribution accepts integer and noninteger degrees of freedom. It is centered at 0 by default, but you can enter a value for the noncentrality parameter. The t Quantile function is the inverse of the t Distribution function.

t Log CDistribution

Returns 1 - log (value) of the normal distribution function at quantile x for the t distribution.

t Log Density

Returns the log of the value of the density function at quantile x for the t distribution.

t Log Distribution

Returns the log of the value of the distribution function at quantile x for the t distribution.

t Log Noncentrality

Solves the noncentrality such that prob=T Distribution (x, df, nc).

t Quantile

Accepts three arguments: a probability p, a degrees of freedom, and a noncentrality parameter. It returns the pth quantile from the Student’s t-distribution with the specified noncentrality parameter and degrees of freedom. For example, the expression Student’s t Quantile(.95, 2.5) returns the 95% quantile from the Student’s t-distribution centered at 0 with 2.5 degrees of freedom. The expression evaluates as 2.558219. The t Quantile function is the inverse of the t Distribution function. This function also accepts integer and noninteger degrees of freedom. It is centered at 0 by default, but you have the option to enter a value for the noncentrality parameter. The t Distribution function is the inverse of the t Quantile function.

Tukey’s Test Functions

For more information about syntax for Tukey’s Test functions, see Probability Functions in the JSL Syntax Reference.

Tukey HSD Quantile

Accepts a probability argument 1-alpha, and returns the 1-alphath quantile from Tukey’s HSD test for the parameters that you specify. The alpha argument is the significance level that you want. nGroups is the number of groups in a study. dfe is the error degrees of freedom (based on the total study sample). This is the quantile used to calculate least significant difference in Tukey’s multiple comparisons test.

Tukey HSD P Value

Returns the p-value from Tukey’s HSD multiple comparisons test.

Weibull Distribution Probability Functions

For more information about syntax for the Weibull Distribution probability functions, see Probability Functions in the JSL Syntax Reference.

Weibull Density

Accepts a quantile argument from the range of values for the Weibull distribution, and optional shape, scale, and threshold arguments. The density function for a Weibull distribution with shape parameter β, scale parameter α, and threshold parameter θ is given in Weibull, Weibull with Threshold, and Extreme Value in Basic Analysis. The Weibull Density function returns the value of the probability density function (pdf) for the corresponding Weibull distribution.

Weibull Distribution

Accepts a quantile argument x from the range of values for the Weibull distribution, and optional shape, scale, and threshold arguments. The distribution function for a Weibull distribution with shape parameter β, scale parameter α, and threshold parameter θ is given in Basic Analysis. The Weibull Distribution function returns the probability that an observation is less than or equal to the specified x for the Weibull distribution with the shape, scale, and threshold parameters that you specified. The Weibull Distribution function is the inverse of Weibull Quantile function.

The Weibull distribution has different shapes depending on the values of α (a scale parameter that affects the x direction) and β (a shape parameter). It often provides a good model for estimating the length of life, especially for mechanical devices and in biology. The two-parameter Weibull is the same as the three-parameter Weibull with a threshold of zero.

Weibull Quantile

Accepts a probability argument p, and returns the pth quantile from the Weibull distribution with the shape, scale, and threshold parameters that you specify. The Weibull Quantile function is the inverse of the Weibull Distribution function.

Want more information? Have questions? Get answers in the JMP User Community.