Non-central Beta functions in the Stochastic DuckDB extension
Function category
Non-central Beta
23 functionsNon-central beta — beta with a non-centrality parameter. Power calculations for tests built on beta ratios.
Signature
Arguments (Positional)
| Argument | Type | Mode | Description |
|---|---|---|---|
Argument
alpha
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
beta
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
noncentrality
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
x
|
Type
DOUBLE
|
Mode Positional | Description |
Description
Computes the cumulative distribution function (CDF) of the non-central beta distribution, P(X <= x).
SELECT round(dist_non_central_beta_cdf(2.0, 3.0, 1.0, 0.5), 6) AS cdf;
Output
| cdf |
|---|
| 0.59779 |
Related functions
- dist_non_central_beta_sample() — Generates a random sample from the non-central beta distribution with the specified parameters
- dist_non_central_beta_pdf() — Computes the probability density function (PDF) of the non-central beta distribution at x
- dist_non_central_beta_quantile() — Computes the quantile function (inverse CDF) of the non-central beta distribution
- dist_non_central_beta_mean() — Returns the mean of the non-central beta distribution
- dist_non_central_beta_stddev() — Returns the standard deviation of the non-central beta distribution
Signature
Arguments (Positional)
| Argument | Type | Mode | Description |
|---|---|---|---|
Argument
alpha
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
beta
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
noncentrality
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
x
|
Type
DOUBLE
|
Mode Positional | Description |
Description
Computes the complementary cumulative distribution function (survival function) of the non-central beta distribution, P(X > x).
SELECT dist_non_central_beta_cdf_complement(2.0, 3.0, 1.0, 0.5);
Output
| dist_non_central_beta_cdf_complement(2.0, 3.0, 1.0, 0.5) |
|---|
| 0.40220955518151935 |
Related functions
- dist_non_central_beta_sample() — Generates a random sample from the non-central beta distribution with the specified parameters
- dist_non_central_beta_pdf() — Computes the probability density function (PDF) of the non-central beta distribution at x
- dist_non_central_beta_quantile() — Computes the quantile function (inverse CDF) of the non-central beta distribution
- dist_non_central_beta_mean() — Returns the mean of the non-central beta distribution
- dist_non_central_beta_stddev() — Returns the standard deviation of the non-central beta distribution
Signature
Arguments (Positional)
| Argument | Type | Mode | Description |
|---|---|---|---|
Argument
alpha
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
beta
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
noncentrality
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
x
|
Type
DOUBLE
|
Mode Positional | Description |
Description
Computes the cumulative hazard function of the non-central beta distribution at x.
SELECT dist_non_central_beta_chf(2.0, 3.0, 1.0, 0.5);
Output
| dist_non_central_beta_chf(2.0, 3.0, 1.0, 0.5) |
|---|
| 0.9107820446370748 |
Related functions
- dist_non_central_beta_sample() — Generates a random sample from the non-central beta distribution with the specified parameters
- dist_non_central_beta_pdf() — Computes the probability density function (PDF) of the non-central beta distribution at x
- dist_non_central_beta_quantile() — Computes the quantile function (inverse CDF) of the non-central beta distribution
- dist_non_central_beta_mean() — Returns the mean of the non-central beta distribution
- dist_non_central_beta_stddev() — Returns the standard deviation of the non-central beta distribution
Signature
Arguments (Positional)
| Argument | Type | Mode | Description |
|---|---|---|---|
Argument
alpha
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
beta
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
noncentrality
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
x
|
Type
DOUBLE
|
Mode Positional | Description |
Description
Computes the hazard function of the non-central beta distribution at x.
SELECT dist_non_central_beta_hazard(2.0, 3.0, 1.0, 0.5);
Output
| dist_non_central_beta_hazard(2.0, 3.0, 1.0, 0.5) |
|---|
| 4.086286435162447 |
Related functions
- dist_non_central_beta_sample() — Generates a random sample from the non-central beta distribution with the specified parameters
- dist_non_central_beta_pdf() — Computes the probability density function (PDF) of the non-central beta distribution at x
- dist_non_central_beta_quantile() — Computes the quantile function (inverse CDF) of the non-central beta distribution
- dist_non_central_beta_mean() — Returns the mean of the non-central beta distribution
- dist_non_central_beta_stddev() — Returns the standard deviation of the non-central beta distribution
Signature
Arguments (Positional)
| Argument | Type | Mode | Description |
|---|---|---|---|
Argument
x
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
alpha
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
beta
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
noncentrality
|
Type
DOUBLE
|
Mode Positional | Description |
Description
One-sample Kolmogorov-Smirnov test of whether x follows the non-central beta distribution with the given parameters. Returns the statistic D and the asymptotic p-value.
SELECT dist_non_central_beta_ks_test(x, 2.0, 3.0, 1.0) AS ks
FROM (VALUES (0.12), (0.34), (0.27), (0.51), (0.18), (0.42), (0.09), (0.63), (0.31), (0.22)) t(x);
Output
| ks |
|---|
| {'statistic': 0.3702747826015753, 'p_value': 0.12883938893595392} |
Signature
Arguments (Positional)
| Argument | Type | Mode | Description |
|---|---|---|---|
Argument
alpha
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
beta
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
noncentrality
|
Type
DOUBLE
|
Mode Positional | Description |
Description
Returns the kurtosis of the non-central beta distribution. Returns NULL when it is undefined for the given parameters.
SELECT dist_non_central_beta_kurtosis(2.0, 3.0, 1.0);
Output
| dist_non_central_beta_kurtosis(2.0, 3.0, 1.0) |
|---|
| NULL |
Related functions
- dist_non_central_beta_sample() — Generates a random sample from the non-central beta distribution with the specified parameters
- dist_non_central_beta_pdf() — Computes the probability density function (PDF) of the non-central beta distribution at x
- dist_non_central_beta_quantile() — Computes the quantile function (inverse CDF) of the non-central beta distribution
- dist_non_central_beta_mean() — Returns the mean of the non-central beta distribution
- dist_non_central_beta_stddev() — Returns the standard deviation of the non-central beta distribution
Signature
Arguments (Positional)
| Argument | Type | Mode | Description |
|---|---|---|---|
Argument
alpha
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
beta
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
noncentrality
|
Type
DOUBLE
|
Mode Positional | Description |
Description
Returns the excess kurtosis of the non-central beta distribution. Returns NULL when it is undefined for the given parameters.
SELECT dist_non_central_beta_kurtosis_excess(2.0, 3.0, 1.0);
Output
| dist_non_central_beta_kurtosis_excess(2.0, 3.0, 1.0) |
|---|
| NULL |
Related functions
- dist_non_central_beta_sample() — Generates a random sample from the non-central beta distribution with the specified parameters
- dist_non_central_beta_pdf() — Computes the probability density function (PDF) of the non-central beta distribution at x
- dist_non_central_beta_quantile() — Computes the quantile function (inverse CDF) of the non-central beta distribution
- dist_non_central_beta_mean() — Returns the mean of the non-central beta distribution
- dist_non_central_beta_stddev() — Returns the standard deviation of the non-central beta distribution
Signature
Arguments (Positional)
| Argument | Type | Mode | Description |
|---|---|---|---|
Argument
alpha
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
beta
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
noncentrality
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
x
|
Type
DOUBLE
|
Mode Positional | Description |
Description
Computes the natural logarithm of the cumulative distribution function (CDF) of the non-central beta distribution.
SELECT dist_non_central_beta_log_cdf(2.0, 3.0, 1.0, 0.5);
Output
| dist_non_central_beta_log_cdf(2.0, 3.0, 1.0, 0.5) |
|---|
| -0.5145150131702468 |
Related functions
- dist_non_central_beta_sample() — Generates a random sample from the non-central beta distribution with the specified parameters
- dist_non_central_beta_pdf() — Computes the probability density function (PDF) of the non-central beta distribution at x
- dist_non_central_beta_quantile() — Computes the quantile function (inverse CDF) of the non-central beta distribution
- dist_non_central_beta_mean() — Returns the mean of the non-central beta distribution
- dist_non_central_beta_stddev() — Returns the standard deviation of the non-central beta distribution
Signature
Arguments (Positional)
| Argument | Type | Mode | Description |
|---|---|---|---|
Argument
alpha
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
beta
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
noncentrality
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
x
|
Type
DOUBLE
|
Mode Positional | Description |
Description
Computes the natural logarithm of the survival function of the non-central beta distribution, log P(X > x).
SELECT dist_non_central_beta_log_cdf_complement(2.0, 3.0, 1.0, 0.5);
Output
| dist_non_central_beta_log_cdf_complement(2.0, 3.0, 1.0, 0.5) |
|---|
| -0.9107820446370748 |
Related functions
- dist_non_central_beta_sample() — Generates a random sample from the non-central beta distribution with the specified parameters
- dist_non_central_beta_pdf() — Computes the probability density function (PDF) of the non-central beta distribution at x
- dist_non_central_beta_quantile() — Computes the quantile function (inverse CDF) of the non-central beta distribution
- dist_non_central_beta_mean() — Returns the mean of the non-central beta distribution
- dist_non_central_beta_stddev() — Returns the standard deviation of the non-central beta distribution
Signature
Arguments (Positional)
| Argument | Type | Mode | Description |
|---|---|---|---|
Argument
alpha
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
beta
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
noncentrality
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
x
|
Type
DOUBLE
|
Mode Positional | Description |
Description
Computes the natural logarithm of the probability density function (PDF) of the non-central beta distribution at x. Useful for numerical stability when dealing with very small probabilities.
SELECT dist_non_central_beta_log_pdf(2.0, 3.0, 1.0, 0.5);
Output
| dist_non_central_beta_log_pdf(2.0, 3.0, 1.0, 0.5) |
|---|
| 0.49685455090743375 |
Related functions
- dist_non_central_beta_sample() — Generates a random sample from the non-central beta distribution with the specified parameters
- dist_non_central_beta_pdf() — Computes the probability density function (PDF) of the non-central beta distribution at x
- dist_non_central_beta_quantile() — Computes the quantile function (inverse CDF) of the non-central beta distribution
- dist_non_central_beta_mean() — Returns the mean of the non-central beta distribution
- dist_non_central_beta_stddev() — Returns the standard deviation of the non-central beta distribution
Signature
Arguments (Positional)
| Argument | Type | Mode | Description |
|---|---|---|---|
Argument
alpha
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
beta
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
noncentrality
|
Type
DOUBLE
|
Mode Positional | Description |
Description
Returns the mean of the non-central beta distribution. Returns NULL when it is undefined for the given parameters.
SELECT dist_non_central_beta_mean(2.0, 3.0, 1.0);
Output
| dist_non_central_beta_mean(2.0, 3.0, 1.0) |
|---|
| 0.4466399779074079 |
Related functions
- dist_non_central_beta_sample() — Generates a random sample from the non-central beta distribution with the specified parameters
- dist_non_central_beta_pdf() — Computes the probability density function (PDF) of the non-central beta distribution at x
- dist_non_central_beta_quantile() — Computes the quantile function (inverse CDF) of the non-central beta distribution
- dist_non_central_beta_stddev() — Returns the standard deviation of the non-central beta distribution
Signature
Arguments (Positional)
| Argument | Type | Mode | Description |
|---|---|---|---|
Argument
alpha
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
beta
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
noncentrality
|
Type
DOUBLE
|
Mode Positional | Description |
Description
Returns the median of the non-central beta distribution. Returns NULL when it is undefined for the given parameters.
SELECT dist_non_central_beta_median(2.0, 3.0, 1.0);
Output
| dist_non_central_beta_median(2.0, 3.0, 1.0) |
|---|
| 0.4416063918535663 |
Related functions
- dist_non_central_beta_sample() — Generates a random sample from the non-central beta distribution with the specified parameters
- dist_non_central_beta_pdf() — Computes the probability density function (PDF) of the non-central beta distribution at x
- dist_non_central_beta_quantile() — Computes the quantile function (inverse CDF) of the non-central beta distribution
- dist_non_central_beta_mean() — Returns the mean of the non-central beta distribution
- dist_non_central_beta_stddev() — Returns the standard deviation of the non-central beta distribution
Signature
Arguments (Positional)
| Argument | Type | Mode | Description |
|---|---|---|---|
Argument
alpha
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
beta
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
noncentrality
|
Type
DOUBLE
|
Mode Positional | Description |
Description
Returns the mode (most likely value) of the non-central beta distribution. Returns NULL when it is undefined for the given parameters.
SELECT dist_non_central_beta_mode(2.0, 3.0, 1.0);
Output
| dist_non_central_beta_mode(2.0, 3.0, 1.0) |
|---|
| 0.42626766504282143 |
Related functions
- dist_non_central_beta_sample() — Generates a random sample from the non-central beta distribution with the specified parameters
- dist_non_central_beta_pdf() — Computes the probability density function (PDF) of the non-central beta distribution at x
- dist_non_central_beta_quantile() — Computes the quantile function (inverse CDF) of the non-central beta distribution
- dist_non_central_beta_mean() — Returns the mean of the non-central beta distribution
- dist_non_central_beta_stddev() — Returns the standard deviation of the non-central beta distribution
Signature
Arguments (Positional)
| Argument | Type | Mode | Description |
|---|---|---|---|
Argument
alpha
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
beta
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
noncentrality
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
x
|
Type
DOUBLE
|
Mode Positional | Description |
Description
Computes the probability density function (PDF) of the non-central beta distribution at x.
SELECT dist_non_central_beta_pdf(2.0, 3.0, 1.0, 0.5);
Output
| dist_non_central_beta_pdf(2.0, 3.0, 1.0, 0.5) |
|---|
| 1.6435434494309642 |
Related functions
- dist_non_central_beta_sample() — Generates a random sample from the non-central beta distribution with the specified parameters
- dist_non_central_beta_quantile() — Computes the quantile function (inverse CDF) of the non-central beta distribution
- dist_non_central_beta_mean() — Returns the mean of the non-central beta distribution
- dist_non_central_beta_stddev() — Returns the standard deviation of the non-central beta distribution
Signature
Arguments (Positional)
| Argument | Type | Mode | Description |
|---|---|---|---|
Argument
alpha
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
beta
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
noncentrality
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
p
|
Type
DOUBLE
|
Mode Positional | Description |
Description
Computes the quantile function (inverse CDF) of the non-central beta distribution. Returns the smallest x such that P(X <= x) >= p.
SELECT dist_non_central_beta_quantile(2.0, 3.0, 1.0, 0.95);
Output
| dist_non_central_beta_quantile(2.0, 3.0, 1.0, 0.95) |
|---|
| 0.7897912840516761 |
Related functions
- dist_non_central_beta_sample() — Generates a random sample from the non-central beta distribution with the specified parameters
- dist_non_central_beta_pdf() — Computes the probability density function (PDF) of the non-central beta distribution at x
- dist_non_central_beta_mean() — Returns the mean of the non-central beta distribution
- dist_non_central_beta_stddev() — Returns the standard deviation of the non-central beta distribution
Signature
Arguments (Positional)
| Argument | Type | Mode | Description |
|---|---|---|---|
Argument
alpha
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
beta
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
noncentrality
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
p
|
Type
DOUBLE
|
Mode Positional | Description |
Description
Computes the complementary quantile function of the non-central beta distribution. Returns x such that P(X > x) = p, useful for upper tail quantiles.
SELECT dist_non_central_beta_quantile_complement(2.0, 3.0, 1.0, 0.95);
Output
| dist_non_central_beta_quantile_complement(2.0, 3.0, 1.0, 0.95) |
|---|
| 0.12134832105381693 |
Related functions
- dist_non_central_beta_sample() — Generates a random sample from the non-central beta distribution with the specified parameters
- dist_non_central_beta_pdf() — Computes the probability density function (PDF) of the non-central beta distribution at x
- dist_non_central_beta_quantile() — Computes the quantile function (inverse CDF) of the non-central beta distribution
- dist_non_central_beta_mean() — Returns the mean of the non-central beta distribution
- dist_non_central_beta_stddev() — Returns the standard deviation of the non-central beta distribution
Signature
Arguments (Positional)
| Argument | Type | Mode | Description |
|---|---|---|---|
Argument
alpha
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
beta
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
noncentrality
|
Type
DOUBLE
|
Mode Positional | Description |
Description
Returns the range of the non-central beta distribution as [min, max].
SELECT dist_non_central_beta_range(2.0, 3.0, 1.0);
Output
| dist_non_central_beta_range(2.0, 3.0, 1.0) |
|---|
| [0.0, 1.0] |
Related functions
- dist_non_central_beta_sample() — Generates a random sample from the non-central beta distribution with the specified parameters
- dist_non_central_beta_pdf() — Computes the probability density function (PDF) of the non-central beta distribution at x
- dist_non_central_beta_quantile() — Computes the quantile function (inverse CDF) of the non-central beta distribution
- dist_non_central_beta_mean() — Returns the mean of the non-central beta distribution
- dist_non_central_beta_stddev() — Returns the standard deviation of the non-central beta distribution
Signature
Arguments (Positional)
| Argument | Type | Mode | Description |
|---|---|---|---|
Argument
alpha
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
beta
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
noncentrality
|
Type
DOUBLE
|
Mode Positional | Description |
Description
Generates a random sample from the non-central beta distribution with the specified parameters.
SELECT dist_non_central_beta_sample(2.0, 3.0, 1.0);
Output
| dist_non_central_beta_sample(2.0, 3.0, 1.0) |
|---|
| 0.49563312453369074 |
Related functions
- dist_non_central_beta_pdf() — Computes the probability density function (PDF) of the non-central beta distribution at x
- dist_non_central_beta_quantile() — Computes the quantile function (inverse CDF) of the non-central beta distribution
- dist_non_central_beta_mean() — Returns the mean of the non-central beta distribution
- dist_non_central_beta_stddev() — Returns the standard deviation of the non-central beta distribution
Signature
Arguments (Positional)
| Argument | Type | Mode | Description |
|---|---|---|---|
Argument
alpha
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
beta
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
noncentrality
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
n
|
Type
BIGINT
|
Mode Positional | Description |
Description
Generates a list of n random samples from the non-central beta distribution with the specified parameters.
SELECT dist_non_central_beta_samples(2.0, 3.0, 1.0, 5);
Output
| dist_non_central_beta_samples(2.0, 3.0, 1.0, 5) |
|---|
| [0.8158449929823162, 0.36248671276695243, 0.3249340891383334, 0.5405325476594958, 0.4797699186137801] |
Related functions
- dist_non_central_beta_sample() — Generates a random sample from the non-central beta distribution with the specified parameters
- dist_non_central_beta_pdf() — Computes the probability density function (PDF) of the non-central beta distribution at x
- dist_non_central_beta_quantile() — Computes the quantile function (inverse CDF) of the non-central beta distribution
- dist_non_central_beta_mean() — Returns the mean of the non-central beta distribution
- dist_non_central_beta_stddev() — Returns the standard deviation of the non-central beta distribution
Signature
Arguments (Positional)
| Argument | Type | Mode | Description |
|---|---|---|---|
Argument
alpha
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
beta
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
noncentrality
|
Type
DOUBLE
|
Mode Positional | Description |
Description
Returns the skewness of the non-central beta distribution. Returns NULL when it is undefined for the given parameters.
SELECT dist_non_central_beta_skewness(2.0, 3.0, 1.0);
Output
| dist_non_central_beta_skewness(2.0, 3.0, 1.0) |
|---|
| NULL |
Related functions
- dist_non_central_beta_sample() — Generates a random sample from the non-central beta distribution with the specified parameters
- dist_non_central_beta_pdf() — Computes the probability density function (PDF) of the non-central beta distribution at x
- dist_non_central_beta_quantile() — Computes the quantile function (inverse CDF) of the non-central beta distribution
- dist_non_central_beta_mean() — Returns the mean of the non-central beta distribution
- dist_non_central_beta_stddev() — Returns the standard deviation of the non-central beta distribution
Signature
Arguments (Positional)
| Argument | Type | Mode | Description |
|---|---|---|---|
Argument
alpha
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
beta
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
noncentrality
|
Type
DOUBLE
|
Mode Positional | Description |
Description
Returns the standard deviation of the non-central beta distribution. Returns NULL when it is undefined for the given parameters.
SELECT dist_non_central_beta_stddev(2.0, 3.0, 1.0);
Output
| dist_non_central_beta_stddev(2.0, 3.0, 1.0) |
|---|
| 0.20404327487995014 |
Related functions
- dist_non_central_beta_sample() — Generates a random sample from the non-central beta distribution with the specified parameters
- dist_non_central_beta_pdf() — Computes the probability density function (PDF) of the non-central beta distribution at x
- dist_non_central_beta_quantile() — Computes the quantile function (inverse CDF) of the non-central beta distribution
- dist_non_central_beta_mean() — Returns the mean of the non-central beta distribution
Signature
Arguments (Positional)
| Argument | Type | Mode | Description |
|---|---|---|---|
Argument
alpha
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
beta
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
noncentrality
|
Type
DOUBLE
|
Mode Positional | Description |
Description
Returns the support of the non-central beta distribution as [min, max].
SELECT dist_non_central_beta_support(2.0, 3.0, 1.0);
Output
| dist_non_central_beta_support(2.0, 3.0, 1.0) |
|---|
| [0.0, 1.0] |
Related functions
- dist_non_central_beta_sample() — Generates a random sample from the non-central beta distribution with the specified parameters
- dist_non_central_beta_pdf() — Computes the probability density function (PDF) of the non-central beta distribution at x
- dist_non_central_beta_quantile() — Computes the quantile function (inverse CDF) of the non-central beta distribution
- dist_non_central_beta_mean() — Returns the mean of the non-central beta distribution
- dist_non_central_beta_stddev() — Returns the standard deviation of the non-central beta distribution
Signature
Arguments (Positional)
| Argument | Type | Mode | Description |
|---|---|---|---|
Argument
alpha
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
beta
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
noncentrality
|
Type
DOUBLE
|
Mode Positional | Description |
Description
Returns the variance of the non-central beta distribution. Returns NULL when it is undefined for the given parameters.
SELECT dist_non_central_beta_variance(2.0, 3.0, 1.0);
Output
| dist_non_central_beta_variance(2.0, 3.0, 1.0) |
|---|
| 0.04163365802373489 |
Related functions
- dist_non_central_beta_sample() — Generates a random sample from the non-central beta distribution with the specified parameters
- dist_non_central_beta_pdf() — Computes the probability density function (PDF) of the non-central beta distribution at x
- dist_non_central_beta_quantile() — Computes the quantile function (inverse CDF) of the non-central beta distribution
- dist_non_central_beta_mean() — Returns the mean of the non-central beta distribution
- dist_non_central_beta_stddev() — Returns the standard deviation of the non-central beta distribution