Skip to content

DuckDB Extension

Stochastic

Evaluate probability distributions in DuckDB SQL. Compute densities, cumulative probabilities and quantiles, generate samples for simulations, fit distributions to data and run hypothesis tests.

3,110,312
extension loads · last 90 days
On this page

Calculate probabilities and draw samples in SQL

Stochastic provides 36 probability distributions through a consistent set of SQL functions. For each one you can evaluate a density, calculate a cumulative probability or quantile, read its properties and generate random samples.

It also works in the other direction: fit aggregates estimate a distribution's parameters from a column by maximum likelihood, and test aggregates run Kolmogorov-Smirnov, t-tests and Pearson's chi-squared test next to your data. Use it for synthetic datasets, probability calculations alongside existing rows, simulation experiments and quick inference.

Example

Find a normal-distribution percentile

Calculate the 95th percentile of a standard normal distribution, then check its cumulative probability.

Tested with DuckDB 2.0.0. Browser examples use Haybarn-Wasm 2.0.0-rc12.

SET allow_extension_repositories = 'allowed';
CREATE EXTENSION REPOSITORY IF NOT EXISTS query_farm
  WITH PREFIX 'https://duckdb-extensions.query.farm';
INSTALL stochastic FROM query_farm;
LOAD stochastic FROM query_farm;

SELECT round(dist_normal_quantile(0.0, 1.0, 0.95), 4) AS p95,
       round(dist_normal_cdf(0.0, 1.0, 1.6448536269514722), 2) AS probability;

Expected result

p95 probability
1.6449 0.95

The parameters describe a standard normal distribution: mean 0 and standard deviation 1. This computes a theoretical quantile, not a percentile of an observed table.

Example

Fit a distribution and test the fit

Fit a gamma distribution to a column by maximum likelihood, then check the fit with a Kolmogorov-Smirnov test.

Tested with DuckDB 2.0.0. Run this example in the DuckDB CLI or a native client.

SET allow_extension_repositories = 'allowed';
CREATE EXTENSION REPOSITORY IF NOT EXISTS query_farm
  WITH PREFIX 'https://duckdb-extensions.query.farm';
INSTALL stochastic FROM query_farm;
LOAD stochastic FROM query_farm;

WITH durations AS (
  SELECT * FROM (VALUES (1.2), (0.7), (2.9), (1.8), (0.4), (3.6), (1.1), (2.2)) t(x)
), fit AS (
  SELECT dist_gamma_fit(x) AS f FROM durations
)
SELECT round(f.shape, 4) AS shape, round(f.scale, 4) AS scale,
       round(dist_gamma_ks_test(x, f.shape, f.scale).p_value, 4) AS ks_p_value
FROM durations, fit
GROUP BY f;

Expected result

shape scale ks_p_value
2.5168 0.6904 0.9991

The fit returns a STRUCT whose fields are named like the distribution's parameters, so it plugs straight into the other dist_gamma_* functions, followed by the log_likelihood, aic and bic for comparing fits. Fitting and the tests need the DuckDB 2.0 build of the extension.

Common tasks

Deep Dive

Technical Details

Reference

Extension Contents

Quick reference to all available functions and settings organized by category.

Arcsine
dist_arcsine_cdf() Object type: Scalar function Computes the cumulative distribution function (CDF) of the arcsine distribution, P(X <= x).
dist_arcsine_cdf_complement() Object type: Scalar function Computes the complementary cumulative distribution function (survival function) of the arcsine distribution, P(X > x).
dist_arcsine_chf() Object type: Scalar function Computes the cumulative hazard function of the arcsine distribution at x.
dist_arcsine_hazard() Object type: Scalar function Computes the hazard function of the arcsine distribution at x.
dist_arcsine_ks_test() Object type: Aggregate function One-sample Kolmogorov-Smirnov test of whether x follows the arcsine distribution with the given parameters.
dist_arcsine_kurtosis() Object type: Scalar function Returns the kurtosis of the arcsine distribution.
dist_arcsine_kurtosis_excess() Object type: Scalar function Returns the excess kurtosis of the arcsine distribution.
dist_arcsine_log_cdf() Object type: Scalar function Computes the natural logarithm of the cumulative distribution function (CDF) of the arcsine distribution.
dist_arcsine_log_cdf_complement() Object type: Scalar function Computes the natural logarithm of the survival function of the arcsine distribution, log P(X > x).
dist_arcsine_log_pdf() Object type: Scalar function Computes the natural logarithm of the probability density function (PDF) of the arcsine distribution at x.
dist_arcsine_mean() Object type: Scalar function Returns the mean of the arcsine distribution.
dist_arcsine_median() Object type: Scalar function Returns the median of the arcsine distribution.
dist_arcsine_mode() Object type: Scalar function Returns the mode (most likely value) of the arcsine distribution.
dist_arcsine_pdf() Object type: Scalar function Computes the probability density function (PDF) of the arcsine distribution at x.
dist_arcsine_quantile() Object type: Scalar function Computes the quantile function (inverse CDF) of the arcsine distribution.
dist_arcsine_quantile_complement() Object type: Scalar function Computes the complementary quantile function of the arcsine distribution.
dist_arcsine_range() Object type: Scalar function Returns the range of the arcsine distribution as [min, max].
dist_arcsine_sample() Object type: Scalar function Generates a random sample from the arcsine distribution with the specified parameters.
dist_arcsine_samples() Object type: Scalar function Generates a list of n random samples from the arcsine distribution with the specified parameters.
dist_arcsine_skewness() Object type: Scalar function Returns the skewness of the arcsine distribution.
dist_arcsine_stddev() Object type: Scalar function Returns the standard deviation of the arcsine distribution.
dist_arcsine_support() Object type: Scalar function Returns the support of the arcsine distribution as [min, max].
dist_arcsine_variance() Object type: Scalar function Returns the variance of the arcsine distribution.
Bernoulli
dist_bernoulli_cdf() Object type: Scalar function Computes the cumulative distribution function (CDF) of the Bernoulli distribution, P(X <= x).
dist_bernoulli_cdf_complement() Object type: Scalar function Computes the complementary cumulative distribution function (survival function) of the Bernoulli distribution, P(X > x).
dist_bernoulli_chf() Object type: Scalar function Computes the cumulative hazard function of the Bernoulli distribution at x.
dist_bernoulli_fit() Object type: Aggregate function Fits a Bernoulli distribution to x by maximum likelihood.
dist_bernoulli_hazard() Object type: Scalar function Computes the hazard function of the Bernoulli distribution at x.
dist_bernoulli_kurtosis() Object type: Scalar function Returns the kurtosis of the Bernoulli distribution.
dist_bernoulli_kurtosis_excess() Object type: Scalar function Returns the excess kurtosis of the Bernoulli distribution.
dist_bernoulli_log_cdf() Object type: Scalar function Computes the natural logarithm of the cumulative distribution function (CDF) of the Bernoulli distribution.
dist_bernoulli_log_cdf_complement() Object type: Scalar function Computes the natural logarithm of the survival function of the Bernoulli distribution, log P(X > x).
dist_bernoulli_log_pdf() Object type: Scalar function Computes the natural logarithm of the probability mass function (PMF) of the Bernoulli distribution at x.
dist_bernoulli_log_pmf() Object type: Scalar function Computes the natural logarithm of the probability mass function (PMF) of the Bernoulli distribution at x.
dist_bernoulli_mean() Object type: Scalar function Returns the mean of the Bernoulli distribution.
dist_bernoulli_median() Object type: Scalar function Returns the median of the Bernoulli distribution.
dist_bernoulli_mode() Object type: Scalar function Returns the mode (most likely value) of the Bernoulli distribution.
dist_bernoulli_pdf() Object type: Scalar function Computes the probability mass function (PMF) of the Bernoulli distribution at x.
dist_bernoulli_pmf() Object type: Scalar function Computes the probability mass function (PMF) of the Bernoulli distribution at x, P(X = x).
dist_bernoulli_quantile() Object type: Scalar function Computes the quantile function (inverse CDF) of the Bernoulli distribution.
dist_bernoulli_quantile_complement() Object type: Scalar function Computes the complementary quantile function of the Bernoulli distribution.
dist_bernoulli_range() Object type: Scalar function Returns the range of the Bernoulli distribution as [min, max].
dist_bernoulli_sample() Object type: Scalar function Generates a random sample from the Bernoulli distribution with the specified parameters.
dist_bernoulli_samples() Object type: Scalar function Generates a list of n random samples from the Bernoulli distribution with the specified parameters.
dist_bernoulli_skewness() Object type: Scalar function Returns the skewness of the Bernoulli distribution.
dist_bernoulli_stddev() Object type: Scalar function Returns the standard deviation of the Bernoulli distribution.
dist_bernoulli_support() Object type: Scalar function Returns the support of the Bernoulli distribution as [min, max].
dist_bernoulli_variance() Object type: Scalar function Returns the variance of the Bernoulli distribution.
Beta
dist_beta_cdf() Object type: Scalar function Computes the cumulative distribution function (CDF) of the beta distribution, P(X <= x).
dist_beta_cdf_complement() Object type: Scalar function Computes the complementary cumulative distribution function (survival function) of the beta distribution, P(X > x).
dist_beta_chf() Object type: Scalar function Computes the cumulative hazard function of the beta distribution at x.
dist_beta_fit() Object type: Aggregate function Fits a beta distribution to x by maximum likelihood (Newton's method).
dist_beta_hazard() Object type: Scalar function Computes the hazard function of the beta distribution at x.
dist_beta_ks_test() Object type: Aggregate function One-sample Kolmogorov-Smirnov test of whether x follows the beta distribution with the given parameters.
dist_beta_kurtosis() Object type: Scalar function Returns the kurtosis of the beta distribution.
dist_beta_kurtosis_excess() Object type: Scalar function Returns the excess kurtosis of the beta distribution.
dist_beta_log_cdf() Object type: Scalar function Computes the natural logarithm of the cumulative distribution function (CDF) of the beta distribution.
dist_beta_log_cdf_complement() Object type: Scalar function Computes the natural logarithm of the survival function of the beta distribution, log P(X > x).
dist_beta_log_pdf() Object type: Scalar function Computes the natural logarithm of the probability density function (PDF) of the beta distribution at x.
dist_beta_mean() Object type: Scalar function Returns the mean of the beta distribution.
dist_beta_median() Object type: Scalar function Returns the median of the beta distribution.
dist_beta_mode() Object type: Scalar function Returns the mode (most likely value) of the beta distribution.
dist_beta_pdf() Object type: Scalar function Computes the probability density function (PDF) of the beta distribution at x.
dist_beta_quantile() Object type: Scalar function Computes the quantile function (inverse CDF) of the beta distribution.
dist_beta_quantile_complement() Object type: Scalar function Computes the complementary quantile function of the beta distribution.
dist_beta_range() Object type: Scalar function Returns the range of the beta distribution as [min, max].
dist_beta_sample() Object type: Scalar function Generates a random sample from the beta distribution with the specified parameters.
dist_beta_samples() Object type: Scalar function Generates a list of n random samples from the beta distribution with the specified parameters.
dist_beta_skewness() Object type: Scalar function Returns the skewness of the beta distribution.
dist_beta_stddev() Object type: Scalar function Returns the standard deviation of the beta distribution.
dist_beta_support() Object type: Scalar function Returns the support of the beta distribution as [min, max].
dist_beta_variance() Object type: Scalar function Returns the variance of the beta distribution.
Binomial
dist_binomial_cdf() Object type: Scalar function Computes the cumulative distribution function (CDF) of the binomial distribution, P(X <= x).
dist_binomial_cdf_complement() Object type: Scalar function Computes the complementary cumulative distribution function (survival function) of the binomial distribution, P(X > x).
dist_binomial_chf() Object type: Scalar function Computes the cumulative hazard function of the binomial distribution at x.
dist_binomial_fit() Object type: Aggregate function Fits a binomial distribution to x by maximum likelihood.
dist_binomial_hazard() Object type: Scalar function Computes the hazard function of the binomial distribution at x.
dist_binomial_kurtosis() Object type: Scalar function Returns the kurtosis of the binomial distribution.
dist_binomial_kurtosis_excess() Object type: Scalar function Returns the excess kurtosis of the binomial distribution.
dist_binomial_log_cdf() Object type: Scalar function Computes the natural logarithm of the cumulative distribution function (CDF) of the binomial distribution.
dist_binomial_log_cdf_complement() Object type: Scalar function Computes the natural logarithm of the survival function of the binomial distribution, log P(X > x).
dist_binomial_log_pdf() Object type: Scalar function Computes the natural logarithm of the probability mass function (PMF) of the binomial distribution at x.
dist_binomial_log_pmf() Object type: Scalar function Computes the natural logarithm of the probability mass function (PMF) of the binomial distribution at x.
dist_binomial_mean() Object type: Scalar function Returns the mean of the binomial distribution.
dist_binomial_median() Object type: Scalar function Returns the median of the binomial distribution.
dist_binomial_mode() Object type: Scalar function Returns the mode (most likely value) of the binomial distribution.
dist_binomial_pdf() Object type: Scalar function Computes the probability mass function (PMF) of the binomial distribution at x.
dist_binomial_pmf() Object type: Scalar function Computes the probability mass function (PMF) of the binomial distribution at x, P(X = x).
dist_binomial_quantile() Object type: Scalar function Computes the quantile function (inverse CDF) of the binomial distribution.
dist_binomial_quantile_complement() Object type: Scalar function Computes the complementary quantile function of the binomial distribution.
dist_binomial_range() Object type: Scalar function Returns the range of the binomial distribution as [min, max].
dist_binomial_sample() Object type: Scalar function Generates a random sample from the binomial distribution with the specified parameters.
dist_binomial_samples() Object type: Scalar function Generates a list of n random samples from the binomial distribution with the specified parameters.
dist_binomial_skewness() Object type: Scalar function Returns the skewness of the binomial distribution.
dist_binomial_stddev() Object type: Scalar function Returns the standard deviation of the binomial distribution.
dist_binomial_support() Object type: Scalar function Returns the support of the binomial distribution as [min, max].
dist_binomial_variance() Object type: Scalar function Returns the variance of the binomial distribution.
Cauchy
dist_cauchy_cdf() Object type: Scalar function Computes the cumulative distribution function (CDF) of the Cauchy distribution, P(X <= x).
dist_cauchy_cdf_complement() Object type: Scalar function Computes the complementary cumulative distribution function (survival function) of the Cauchy distribution, P(X > x).
dist_cauchy_chf() Object type: Scalar function Computes the cumulative hazard function of the Cauchy distribution at x.
dist_cauchy_fit() Object type: Aggregate function Fits a Cauchy distribution to x by maximum likelihood (Newton's method).
dist_cauchy_hazard() Object type: Scalar function Computes the hazard function of the Cauchy distribution at x.
dist_cauchy_ks_test() Object type: Aggregate function One-sample Kolmogorov-Smirnov test of whether x follows the Cauchy distribution with the given parameters.
dist_cauchy_kurtosis() Object type: Scalar function Returns the kurtosis of the Cauchy distribution.
dist_cauchy_kurtosis_excess() Object type: Scalar function Returns the excess kurtosis of the Cauchy distribution.
dist_cauchy_log_cdf() Object type: Scalar function Computes the natural logarithm of the cumulative distribution function (CDF) of the Cauchy distribution.
dist_cauchy_log_cdf_complement() Object type: Scalar function Computes the natural logarithm of the survival function of the Cauchy distribution, log P(X > x).
dist_cauchy_log_pdf() Object type: Scalar function Computes the natural logarithm of the probability density function (PDF) of the Cauchy distribution at x.
dist_cauchy_mean() Object type: Scalar function Returns the mean of the Cauchy distribution.
dist_cauchy_median() Object type: Scalar function Returns the median of the Cauchy distribution.
dist_cauchy_mode() Object type: Scalar function Returns the mode (most likely value) of the Cauchy distribution.
dist_cauchy_pdf() Object type: Scalar function Computes the probability density function (PDF) of the Cauchy distribution at x.
dist_cauchy_quantile() Object type: Scalar function Computes the quantile function (inverse CDF) of the Cauchy distribution.
dist_cauchy_quantile_complement() Object type: Scalar function Computes the complementary quantile function of the Cauchy distribution.
dist_cauchy_range() Object type: Scalar function Returns the range of the Cauchy distribution as [min, max].
dist_cauchy_sample() Object type: Scalar function Generates a random sample from the Cauchy distribution with the specified parameters.
dist_cauchy_samples() Object type: Scalar function Generates a list of n random samples from the Cauchy distribution with the specified parameters.
dist_cauchy_skewness() Object type: Scalar function Returns the skewness of the Cauchy distribution.
dist_cauchy_stddev() Object type: Scalar function Returns the standard deviation of the Cauchy distribution.
dist_cauchy_support() Object type: Scalar function Returns the support of the Cauchy distribution as [min, max].
dist_cauchy_variance() Object type: Scalar function Returns the variance of the Cauchy distribution.
Chi-squared
dist_chi_squared_cdf() Object type: Scalar function Computes the cumulative distribution function (CDF) of the chi-squared distribution, P(X <= x).
dist_chi_squared_cdf_complement() Object type: Scalar function Computes the complementary cumulative distribution function (survival function) of the chi-squared distribution, P(X > x).
dist_chi_squared_chf() Object type: Scalar function Computes the cumulative hazard function of the chi-squared distribution at x.
dist_chi_squared_fit() Object type: Aggregate function Fits a chi-squared distribution to x by maximum likelihood (Newton's method).
dist_chi_squared_hazard() Object type: Scalar function Computes the hazard function of the chi-squared distribution at x.
dist_chi_squared_ks_test() Object type: Aggregate function One-sample Kolmogorov-Smirnov test of whether x follows the chi-squared distribution with the given parameters.
dist_chi_squared_kurtosis() Object type: Scalar function Returns the kurtosis of the chi-squared distribution.
dist_chi_squared_kurtosis_excess() Object type: Scalar function Returns the excess kurtosis of the chi-squared distribution.
dist_chi_squared_log_cdf() Object type: Scalar function Computes the natural logarithm of the cumulative distribution function (CDF) of the chi-squared distribution.
dist_chi_squared_log_cdf_complement() Object type: Scalar function Computes the natural logarithm of the survival function of the chi-squared distribution, log P(X > x).
dist_chi_squared_log_pdf() Object type: Scalar function Computes the natural logarithm of the probability density function (PDF) of the chi-squared distribution at x.
dist_chi_squared_mean() Object type: Scalar function Returns the mean of the chi-squared distribution.
dist_chi_squared_median() Object type: Scalar function Returns the median of the chi-squared distribution.
dist_chi_squared_mode() Object type: Scalar function Returns the mode (most likely value) of the chi-squared distribution.
dist_chi_squared_pdf() Object type: Scalar function Computes the probability density function (PDF) of the chi-squared distribution at x.
dist_chi_squared_quantile() Object type: Scalar function Computes the quantile function (inverse CDF) of the chi-squared distribution.
dist_chi_squared_quantile_complement() Object type: Scalar function Computes the complementary quantile function of the chi-squared distribution.
dist_chi_squared_range() Object type: Scalar function Returns the range of the chi-squared distribution as [min, max].
dist_chi_squared_sample() Object type: Scalar function Generates a random sample from the chi-squared distribution with the specified parameters.
dist_chi_squared_samples() Object type: Scalar function Generates a list of n random samples from the chi-squared distribution with the specified parameters.
dist_chi_squared_skewness() Object type: Scalar function Returns the skewness of the chi-squared distribution.
dist_chi_squared_stddev() Object type: Scalar function Returns the standard deviation of the chi-squared distribution.
dist_chi_squared_support() Object type: Scalar function Returns the support of the chi-squared distribution as [min, max].
dist_chi_squared_variance() Object type: Scalar function Returns the variance of the chi-squared distribution.
Dirichlet
dist_dirichlet_log_pdf() Object type: Scalar function Computes the natural logarithm of the probability density function (PDF) of the Dirichlet distribution at x.
dist_dirichlet_mean() Object type: Scalar function Returns the mean of each component of the Dirichlet distribution, alpha_i / sum(alpha).
dist_dirichlet_pdf() Object type: Scalar function Computes the probability density function (PDF) of the Dirichlet distribution at x, a list of values in [0, 1] that sums to 1.
dist_dirichlet_sample() Object type: Scalar function Generates a random sample from the Dirichlet distribution with concentration parameters alpha.
dist_dirichlet_variance() Object type: Scalar function Returns the variance of each component of the Dirichlet distribution.
Exponential
dist_exponential_cdf() Object type: Scalar function Computes the cumulative distribution function (CDF) of the exponential distribution, P(X <= x).
dist_exponential_cdf_complement() Object type: Scalar function Computes the complementary cumulative distribution function (survival function) of the exponential distribution, P(X > x).
dist_exponential_chf() Object type: Scalar function Computes the cumulative hazard function of the exponential distribution at x.
dist_exponential_fit() Object type: Aggregate function Fits a exponential distribution to x by maximum likelihood.
dist_exponential_hazard() Object type: Scalar function Computes the hazard function of the exponential distribution at x.
dist_exponential_ks_test() Object type: Aggregate function One-sample Kolmogorov-Smirnov test of whether x follows the exponential distribution with the given parameters.
dist_exponential_kurtosis() Object type: Scalar function Returns the kurtosis of the exponential distribution.
dist_exponential_kurtosis_excess() Object type: Scalar function Returns the excess kurtosis of the exponential distribution.
dist_exponential_log_cdf() Object type: Scalar function Computes the natural logarithm of the cumulative distribution function (CDF) of the exponential distribution.
dist_exponential_log_cdf_complement() Object type: Scalar function Computes the natural logarithm of the survival function of the exponential distribution, log P(X > x).
dist_exponential_log_pdf() Object type: Scalar function Computes the natural logarithm of the probability density function (PDF) of the exponential distribution at x.
dist_exponential_mean() Object type: Scalar function Returns the mean of the exponential distribution.
dist_exponential_median() Object type: Scalar function Returns the median of the exponential distribution.
dist_exponential_mode() Object type: Scalar function Returns the mode (most likely value) of the exponential distribution.
dist_exponential_pdf() Object type: Scalar function Computes the probability density function (PDF) of the exponential distribution at x.
dist_exponential_quantile() Object type: Scalar function Computes the quantile function (inverse CDF) of the exponential distribution.
dist_exponential_quantile_complement() Object type: Scalar function Computes the complementary quantile function of the exponential distribution.
dist_exponential_range() Object type: Scalar function Returns the range of the exponential distribution as [min, max].
dist_exponential_sample() Object type: Scalar function Generates a random sample from the exponential distribution with the specified parameters.
dist_exponential_samples() Object type: Scalar function Generates a list of n random samples from the exponential distribution with the specified parameters.
dist_exponential_skewness() Object type: Scalar function Returns the skewness of the exponential distribution.
dist_exponential_stddev() Object type: Scalar function Returns the standard deviation of the exponential distribution.
dist_exponential_support() Object type: Scalar function Returns the support of the exponential distribution as [min, max].
dist_exponential_variance() Object type: Scalar function Returns the variance of the exponential distribution.
Extreme Value
dist_extreme_value_cdf() Object type: Scalar function Computes the cumulative distribution function (CDF) of the extreme value (Gumbel) distribution, P(X <= x).
dist_extreme_value_cdf_complement() Object type: Scalar function Computes the complementary cumulative distribution function (survival function) of the extreme value (Gumbel) distribution, P(X > x).
dist_extreme_value_chf() Object type: Scalar function Computes the cumulative hazard function of the extreme value (Gumbel) distribution at x.
dist_extreme_value_fit() Object type: Aggregate function Fits a extreme value (Gumbel) distribution to x by maximum likelihood (Newton's method).
dist_extreme_value_hazard() Object type: Scalar function Computes the hazard function of the extreme value (Gumbel) distribution at x.
dist_extreme_value_ks_test() Object type: Aggregate function One-sample Kolmogorov-Smirnov test of whether x follows the extreme value (Gumbel) distribution with the given parameters.
dist_extreme_value_kurtosis() Object type: Scalar function Returns the kurtosis of the extreme value (Gumbel) distribution.
dist_extreme_value_kurtosis_excess() Object type: Scalar function Returns the excess kurtosis of the extreme value (Gumbel) distribution.
dist_extreme_value_log_cdf() Object type: Scalar function Computes the natural logarithm of the cumulative distribution function (CDF) of the extreme value (Gumbel) distribution.
dist_extreme_value_log_cdf_complement() Object type: Scalar function Computes the natural logarithm of the survival function of the extreme value (Gumbel) distribution, log P(X > x).
dist_extreme_value_log_pdf() Object type: Scalar function Computes the natural logarithm of the probability density function (PDF) of the extreme value (Gumbel) distribution at x.
dist_extreme_value_mean() Object type: Scalar function Returns the mean of the extreme value (Gumbel) distribution.
dist_extreme_value_median() Object type: Scalar function Returns the median of the extreme value (Gumbel) distribution.
dist_extreme_value_mode() Object type: Scalar function Returns the mode (most likely value) of the extreme value (Gumbel) distribution.
dist_extreme_value_pdf() Object type: Scalar function Computes the probability density function (PDF) of the extreme value (Gumbel) distribution at x.
dist_extreme_value_quantile() Object type: Scalar function Computes the quantile function (inverse CDF) of the extreme value (Gumbel) distribution.
dist_extreme_value_quantile_complement() Object type: Scalar function Computes the complementary quantile function of the extreme value (Gumbel) distribution.
dist_extreme_value_range() Object type: Scalar function Returns the range of the extreme value (Gumbel) distribution as [min, max].
dist_extreme_value_sample() Object type: Scalar function Generates a random sample from the extreme value (Gumbel) distribution with the specified parameters.
dist_extreme_value_samples() Object type: Scalar function Generates a list of n random samples from the extreme value (Gumbel) distribution with the specified parameters.
dist_extreme_value_skewness() Object type: Scalar function Returns the skewness of the extreme value (Gumbel) distribution.
dist_extreme_value_stddev() Object type: Scalar function Returns the standard deviation of the extreme value (Gumbel) distribution.
dist_extreme_value_support() Object type: Scalar function Returns the support of the extreme value (Gumbel) distribution as [min, max].
dist_extreme_value_variance() Object type: Scalar function Returns the variance of the extreme value (Gumbel) distribution.
Fisher F
dist_fisher_f_cdf() Object type: Scalar function Computes the cumulative distribution function (CDF) of the Fisher's F distribution, P(X <= x).
dist_fisher_f_cdf_complement() Object type: Scalar function Computes the complementary cumulative distribution function (survival function) of the Fisher's F distribution, P(X > x).
dist_fisher_f_chf() Object type: Scalar function Computes the cumulative hazard function of the Fisher's F distribution at x.
dist_fisher_f_hazard() Object type: Scalar function Computes the hazard function of the Fisher's F distribution at x.
dist_fisher_f_ks_test() Object type: Aggregate function One-sample Kolmogorov-Smirnov test of whether x follows the Fisher's F distribution with the given parameters.
dist_fisher_f_kurtosis() Object type: Scalar function Returns the kurtosis of the Fisher's F distribution.
dist_fisher_f_kurtosis_excess() Object type: Scalar function Returns the excess kurtosis of the Fisher's F distribution.
dist_fisher_f_log_cdf() Object type: Scalar function Computes the natural logarithm of the cumulative distribution function (CDF) of the Fisher's F distribution.
dist_fisher_f_log_cdf_complement() Object type: Scalar function Computes the natural logarithm of the survival function of the Fisher's F distribution, log P(X > x).
dist_fisher_f_log_pdf() Object type: Scalar function Computes the natural logarithm of the probability density function (PDF) of the Fisher's F distribution at x.
dist_fisher_f_mean() Object type: Scalar function Returns the mean of the Fisher's F distribution.
dist_fisher_f_median() Object type: Scalar function Returns the median of the Fisher's F distribution.
dist_fisher_f_mode() Object type: Scalar function Returns the mode (most likely value) of the Fisher's F distribution.
dist_fisher_f_pdf() Object type: Scalar function Computes the probability density function (PDF) of the Fisher's F distribution at x.
dist_fisher_f_quantile() Object type: Scalar function Computes the quantile function (inverse CDF) of the Fisher's F distribution.
dist_fisher_f_quantile_complement() Object type: Scalar function Computes the complementary quantile function of the Fisher's F distribution.
dist_fisher_f_range() Object type: Scalar function Returns the range of the Fisher's F distribution as [min, max].
dist_fisher_f_sample() Object type: Scalar function Generates a random sample from the Fisher's F distribution with the specified parameters.
dist_fisher_f_samples() Object type: Scalar function Generates a list of n random samples from the Fisher's F distribution with the specified parameters.
dist_fisher_f_skewness() Object type: Scalar function Returns the skewness of the Fisher's F distribution.
dist_fisher_f_stddev() Object type: Scalar function Returns the standard deviation of the Fisher's F distribution.
dist_fisher_f_support() Object type: Scalar function Returns the support of the Fisher's F distribution as [min, max].
dist_fisher_f_variance() Object type: Scalar function Returns the variance of the Fisher's F distribution.
Fitting
dist_bernoulli_fit() Object type: Aggregate function Fits a Bernoulli distribution to x by maximum likelihood.
dist_beta_fit() Object type: Aggregate function Fits a beta distribution to x by maximum likelihood (Newton's method).
dist_binomial_fit() Object type: Aggregate function Fits a binomial distribution to x by maximum likelihood.
dist_cauchy_fit() Object type: Aggregate function Fits a Cauchy distribution to x by maximum likelihood (Newton's method).
dist_chi_squared_fit() Object type: Aggregate function Fits a chi-squared distribution to x by maximum likelihood (Newton's method).
dist_exponential_fit() Object type: Aggregate function Fits a exponential distribution to x by maximum likelihood.
dist_extreme_value_fit() Object type: Aggregate function Fits a extreme value (Gumbel) distribution to x by maximum likelihood (Newton's method).
dist_fits() Object type: Aggregate function Fits several distributions to x by maximum likelihood and ranks them by AICc, the AIC corrected for small samples.
dist_gamma_fit() Object type: Aggregate function Fits a gamma distribution to x by maximum likelihood (Newton's method).
dist_geometric_fit() Object type: Aggregate function Fits a geometric (failures before the first success) distribution to x by maximum likelihood.
dist_inverse_gamma_fit() Object type: Aggregate function Fits a inverse gamma distribution to x by maximum likelihood (Newton's method).
dist_inverse_gaussian_fit() Object type: Aggregate function Fits a inverse Gaussian distribution to x by maximum likelihood.
dist_laplace_fit() Object type: Aggregate function Fits a Laplace distribution to x by maximum likelihood (the median and the mean absolute deviation from it).
dist_logistic_fit() Object type: Aggregate function Fits a logistic distribution to x by maximum likelihood (Newton's method).
dist_lognormal_fit() Object type: Aggregate function Fits a log-normal distribution to x by maximum likelihood.
dist_negative_binomial_fit() Object type: Aggregate function Fits a negative binomial distribution to x by maximum likelihood.
dist_normal_fit() Object type: Aggregate function Fits a normal distribution to x by maximum likelihood.
dist_pareto_fit() Object type: Aggregate function Fits a Pareto distribution to x by maximum likelihood.
dist_poisson_fit() Object type: Aggregate function Fits a Poisson distribution to x by maximum likelihood.
dist_rayleigh_fit() Object type: Aggregate function Fits a Rayleigh distribution to x by maximum likelihood.
dist_students_t_fit() Object type: Aggregate function Fits a standard Student's t distribution to x by maximum likelihood (golden section search).
dist_uniform_real_fit() Object type: Aggregate function Fits a continuous uniform distribution to x by maximum likelihood (the sample minimum and maximum).
dist_weibull_fit() Object type: Aggregate function Fits a Weibull distribution to x by maximum likelihood (Newton's method).
Gamma
dist_gamma_cdf() Object type: Scalar function Computes the cumulative distribution function (CDF) of the gamma distribution, P(X <= x).
dist_gamma_cdf_complement() Object type: Scalar function Computes the complementary cumulative distribution function (survival function) of the gamma distribution, P(X > x).
dist_gamma_chf() Object type: Scalar function Computes the cumulative hazard function of the gamma distribution at x.
dist_gamma_fit() Object type: Aggregate function Fits a gamma distribution to x by maximum likelihood (Newton's method).
dist_gamma_hazard() Object type: Scalar function Computes the hazard function of the gamma distribution at x.
dist_gamma_ks_test() Object type: Aggregate function One-sample Kolmogorov-Smirnov test of whether x follows the gamma distribution with the given parameters.
dist_gamma_kurtosis() Object type: Scalar function Returns the kurtosis of the gamma distribution.
dist_gamma_kurtosis_excess() Object type: Scalar function Returns the excess kurtosis of the gamma distribution.
dist_gamma_log_cdf() Object type: Scalar function Computes the natural logarithm of the cumulative distribution function (CDF) of the gamma distribution.
dist_gamma_log_cdf_complement() Object type: Scalar function Computes the natural logarithm of the survival function of the gamma distribution, log P(X > x).
dist_gamma_log_pdf() Object type: Scalar function Computes the natural logarithm of the probability density function (PDF) of the gamma distribution at x.
dist_gamma_mean() Object type: Scalar function Returns the mean of the gamma distribution.
dist_gamma_median() Object type: Scalar function Returns the median of the gamma distribution.
dist_gamma_mode() Object type: Scalar function Returns the mode (most likely value) of the gamma distribution.
dist_gamma_pdf() Object type: Scalar function Computes the probability density function (PDF) of the gamma distribution at x.
dist_gamma_quantile() Object type: Scalar function Computes the quantile function (inverse CDF) of the gamma distribution.
dist_gamma_quantile_complement() Object type: Scalar function Computes the complementary quantile function of the gamma distribution.
dist_gamma_range() Object type: Scalar function Returns the range of the gamma distribution as [min, max].
dist_gamma_sample() Object type: Scalar function Generates a random sample from the gamma distribution with the specified parameters.
dist_gamma_samples() Object type: Scalar function Generates a list of n random samples from the gamma distribution with the specified parameters.
dist_gamma_skewness() Object type: Scalar function Returns the skewness of the gamma distribution.
dist_gamma_stddev() Object type: Scalar function Returns the standard deviation of the gamma distribution.
dist_gamma_support() Object type: Scalar function Returns the support of the gamma distribution as [min, max].
dist_gamma_variance() Object type: Scalar function Returns the variance of the gamma distribution.
Geometric
dist_geometric_cdf() Object type: Scalar function Computes the cumulative distribution function (CDF) of the geometric distribution, P(X <= x).
dist_geometric_cdf_complement() Object type: Scalar function Computes the complementary cumulative distribution function (survival function) of the geometric distribution, P(X > x).
dist_geometric_chf() Object type: Scalar function Computes the cumulative hazard function of the geometric distribution at x.
dist_geometric_fit() Object type: Aggregate function Fits a geometric (failures before the first success) distribution to x by maximum likelihood.
dist_geometric_hazard() Object type: Scalar function Computes the hazard function of the geometric distribution at x.
dist_geometric_kurtosis() Object type: Scalar function Returns the kurtosis of the geometric distribution.
dist_geometric_kurtosis_excess() Object type: Scalar function Returns the excess kurtosis of the geometric distribution.
dist_geometric_log_cdf() Object type: Scalar function Computes the natural logarithm of the cumulative distribution function (CDF) of the geometric distribution.
dist_geometric_log_cdf_complement() Object type: Scalar function Computes the natural logarithm of the survival function of the geometric distribution, log P(X > x).
dist_geometric_log_pdf() Object type: Scalar function Computes the natural logarithm of the probability mass function (PMF) of the geometric distribution at x.
dist_geometric_log_pmf() Object type: Scalar function Computes the natural logarithm of the probability mass function (PMF) of the geometric distribution at x.
dist_geometric_mean() Object type: Scalar function Returns the mean of the geometric distribution.
dist_geometric_median() Object type: Scalar function Returns the median of the geometric distribution.
dist_geometric_mode() Object type: Scalar function Returns the mode (most likely value) of the geometric distribution.
dist_geometric_pdf() Object type: Scalar function Computes the probability mass function (PMF) of the geometric distribution at x.
dist_geometric_pmf() Object type: Scalar function Computes the probability mass function (PMF) of the geometric distribution at x, P(X = x).
dist_geometric_quantile() Object type: Scalar function Computes the quantile function (inverse CDF) of the geometric distribution.
dist_geometric_quantile_complement() Object type: Scalar function Computes the complementary quantile function of the geometric distribution.
dist_geometric_range() Object type: Scalar function Returns the range of the geometric distribution as [min, max].
dist_geometric_sample() Object type: Scalar function Generates a random sample from the geometric distribution with the specified parameters.
dist_geometric_samples() Object type: Scalar function Generates a list of n random samples from the geometric distribution with the specified parameters.
dist_geometric_skewness() Object type: Scalar function Returns the skewness of the geometric distribution.
dist_geometric_stddev() Object type: Scalar function Returns the standard deviation of the geometric distribution.
dist_geometric_support() Object type: Scalar function Returns the support of the geometric distribution as [min, max].
dist_geometric_variance() Object type: Scalar function Returns the variance of the geometric distribution.
Hypergeometric
dist_hypergeometric_cdf() Object type: Scalar function Computes the cumulative distribution function (CDF) of the hypergeometric distribution, P(X <= x).
dist_hypergeometric_cdf_complement() Object type: Scalar function Computes the complementary cumulative distribution function (survival function) of the hypergeometric distribution, P(X > x).
dist_hypergeometric_chf() Object type: Scalar function Computes the cumulative hazard function of the hypergeometric distribution at x.
dist_hypergeometric_hazard() Object type: Scalar function Computes the hazard function of the hypergeometric distribution at x.
dist_hypergeometric_kurtosis() Object type: Scalar function Returns the kurtosis of the hypergeometric distribution.
dist_hypergeometric_kurtosis_excess() Object type: Scalar function Returns the excess kurtosis of the hypergeometric distribution.
dist_hypergeometric_log_cdf() Object type: Scalar function Computes the natural logarithm of the cumulative distribution function (CDF) of the hypergeometric distribution.
dist_hypergeometric_log_cdf_complement() Object type: Scalar function Computes the natural logarithm of the survival function of the hypergeometric distribution, log P(X > x).
dist_hypergeometric_log_pdf() Object type: Scalar function Computes the natural logarithm of the probability mass function (PMF) of the hypergeometric distribution at x.
dist_hypergeometric_log_pmf() Object type: Scalar function Computes the natural logarithm of the probability mass function (PMF) of the hypergeometric distribution at x.
dist_hypergeometric_mean() Object type: Scalar function Returns the mean of the hypergeometric distribution.
dist_hypergeometric_median() Object type: Scalar function Returns the median of the hypergeometric distribution.
dist_hypergeometric_mode() Object type: Scalar function Returns the mode (most likely value) of the hypergeometric distribution.
dist_hypergeometric_pdf() Object type: Scalar function Computes the probability mass function (PMF) of the hypergeometric distribution at x.
dist_hypergeometric_pmf() Object type: Scalar function Computes the probability mass function (PMF) of the hypergeometric distribution at x, P(X = x).
dist_hypergeometric_quantile() Object type: Scalar function Computes the quantile function (inverse CDF) of the hypergeometric distribution.
dist_hypergeometric_quantile_complement() Object type: Scalar function Computes the complementary quantile function of the hypergeometric distribution.
dist_hypergeometric_range() Object type: Scalar function Returns the range of the hypergeometric distribution as [min, max].
dist_hypergeometric_sample() Object type: Scalar function Generates a random sample from the hypergeometric distribution with the specified parameters.
dist_hypergeometric_samples() Object type: Scalar function Generates a list of n random samples from the hypergeometric distribution with the specified parameters.
dist_hypergeometric_skewness() Object type: Scalar function Returns the skewness of the hypergeometric distribution.
dist_hypergeometric_stddev() Object type: Scalar function Returns the standard deviation of the hypergeometric distribution.
dist_hypergeometric_support() Object type: Scalar function Returns the support of the hypergeometric distribution as [min, max].
dist_hypergeometric_variance() Object type: Scalar function Returns the variance of the hypergeometric distribution.
Hypothesis Tests
chi_squared_test() Object type: Aggregate function Pearson's chi-squared goodness-of-fit test with one row per category.
dist_arcsine_ks_test() Object type: Aggregate function One-sample Kolmogorov-Smirnov test of whether x follows the arcsine distribution with the given parameters.
dist_beta_ks_test() Object type: Aggregate function One-sample Kolmogorov-Smirnov test of whether x follows the beta distribution with the given parameters.
dist_cauchy_ks_test() Object type: Aggregate function One-sample Kolmogorov-Smirnov test of whether x follows the Cauchy distribution with the given parameters.
dist_chi_squared_ks_test() Object type: Aggregate function One-sample Kolmogorov-Smirnov test of whether x follows the chi-squared distribution with the given parameters.
dist_exponential_ks_test() Object type: Aggregate function One-sample Kolmogorov-Smirnov test of whether x follows the exponential distribution with the given parameters.
dist_extreme_value_ks_test() Object type: Aggregate function One-sample Kolmogorov-Smirnov test of whether x follows the extreme value (Gumbel) distribution with the given parameters.
dist_fisher_f_ks_test() Object type: Aggregate function One-sample Kolmogorov-Smirnov test of whether x follows the Fisher's F distribution with the given parameters.
dist_gamma_ks_test() Object type: Aggregate function One-sample Kolmogorov-Smirnov test of whether x follows the gamma distribution with the given parameters.
dist_inverse_chi_squared_ks_test() Object type: Aggregate function One-sample Kolmogorov-Smirnov test of whether x follows the scaled inverse chi-squared distribution with the given parameters.
dist_inverse_gamma_ks_test() Object type: Aggregate function One-sample Kolmogorov-Smirnov test of whether x follows the inverse gamma distribution with the given parameters.
dist_inverse_gaussian_ks_test() Object type: Aggregate function One-sample Kolmogorov-Smirnov test of whether x follows the inverse Gaussian (Wald) distribution with the given parameters.
dist_kolmogorov_smirnov_ks_test() Object type: Aggregate function One-sample Kolmogorov-Smirnov test of whether x follows the Kolmogorov-Smirnov distribution with the given parameters.
dist_laplace_ks_test() Object type: Aggregate function One-sample Kolmogorov-Smirnov test of whether x follows the Laplace distribution with the given parameters.
dist_logistic_ks_test() Object type: Aggregate function One-sample Kolmogorov-Smirnov test of whether x follows the logistic distribution with the given parameters.
dist_lognormal_ks_test() Object type: Aggregate function One-sample Kolmogorov-Smirnov test of whether x follows the log-normal distribution with the given parameters.
dist_non_central_beta_ks_test() Object type: Aggregate function One-sample Kolmogorov-Smirnov test of whether x follows the non-central beta distribution with the given parameters.
dist_non_central_chi_squared_ks_test() Object type: Aggregate function One-sample Kolmogorov-Smirnov test of whether x follows the non-central chi-squared distribution with the given parameters.
dist_non_central_f_ks_test() Object type: Aggregate function One-sample Kolmogorov-Smirnov test of whether x follows the non-central F distribution with the given parameters.
dist_non_central_t_ks_test() Object type: Aggregate function One-sample Kolmogorov-Smirnov test of whether x follows the non-central Student's t distribution with the given parameters.
dist_normal_ks_test() Object type: Aggregate function One-sample Kolmogorov-Smirnov test of whether x follows the normal distribution with the given parameters.
dist_pareto_ks_test() Object type: Aggregate function One-sample Kolmogorov-Smirnov test of whether x follows the Pareto distribution with the given parameters.
dist_rayleigh_ks_test() Object type: Aggregate function One-sample Kolmogorov-Smirnov test of whether x follows the Rayleigh distribution with the given parameters.
dist_skew_normal_ks_test() Object type: Aggregate function One-sample Kolmogorov-Smirnov test of whether x follows the skew normal distribution with the given parameters.
dist_students_t_ks_test() Object type: Aggregate function One-sample Kolmogorov-Smirnov test of whether x follows the Student's t distribution with the given parameters.
dist_triangular_ks_test() Object type: Aggregate function One-sample Kolmogorov-Smirnov test of whether x follows the triangular distribution with the given parameters.
dist_uniform_real_ks_test() Object type: Aggregate function One-sample Kolmogorov-Smirnov test of whether x follows the continuous uniform distribution with the given parameters.
dist_weibull_ks_test() Object type: Aggregate function One-sample Kolmogorov-Smirnov test of whether x follows the Weibull distribution with the given parameters.
one_sample_t_test() Object type: Aggregate function One-sample t-test of whether the mean of x equals mu.
student_t_test() Object type: Aggregate function Student's two-sample t-test with pooled variance of whether two independent samples have the same mean.
welch_t_test() Object type: Aggregate function Welch's unequal-variance t-test of whether two independent samples have the same mean.
Inverse Chi-squared
dist_inverse_chi_squared_cdf() Object type: Scalar function Computes the cumulative distribution function (CDF) of the scaled inverse chi-squared distribution, P(X <= x).
dist_inverse_chi_squared_cdf_complement() Object type: Scalar function Computes the complementary cumulative distribution function (survival function) of the scaled inverse chi-squared distribution, P(X > x).
dist_inverse_chi_squared_chf() Object type: Scalar function Computes the cumulative hazard function of the scaled inverse chi-squared distribution at x.
dist_inverse_chi_squared_hazard() Object type: Scalar function Computes the hazard function of the scaled inverse chi-squared distribution at x.
dist_inverse_chi_squared_ks_test() Object type: Aggregate function One-sample Kolmogorov-Smirnov test of whether x follows the scaled inverse chi-squared distribution with the given parameters.
dist_inverse_chi_squared_kurtosis() Object type: Scalar function Returns the kurtosis of the scaled inverse chi-squared distribution.
dist_inverse_chi_squared_kurtosis_excess() Object type: Scalar function Returns the excess kurtosis of the scaled inverse chi-squared distribution.
dist_inverse_chi_squared_log_cdf() Object type: Scalar function Computes the natural logarithm of the cumulative distribution function (CDF) of the scaled inverse chi-squared distribution.
dist_inverse_chi_squared_log_cdf_complement() Object type: Scalar function Computes the natural logarithm of the survival function of the scaled inverse chi-squared distribution, log P(X > x).
dist_inverse_chi_squared_log_pdf() Object type: Scalar function Computes the natural logarithm of the probability density function (PDF) of the scaled inverse chi-squared distribution at x.
dist_inverse_chi_squared_mean() Object type: Scalar function Returns the mean of the scaled inverse chi-squared distribution.
dist_inverse_chi_squared_median() Object type: Scalar function Returns the median of the scaled inverse chi-squared distribution.
dist_inverse_chi_squared_mode() Object type: Scalar function Returns the mode (most likely value) of the scaled inverse chi-squared distribution.
dist_inverse_chi_squared_pdf() Object type: Scalar function Computes the probability density function (PDF) of the scaled inverse chi-squared distribution at x.
dist_inverse_chi_squared_quantile() Object type: Scalar function Computes the quantile function (inverse CDF) of the scaled inverse chi-squared distribution.
dist_inverse_chi_squared_quantile_complement() Object type: Scalar function Computes the complementary quantile function of the scaled inverse chi-squared distribution.
dist_inverse_chi_squared_range() Object type: Scalar function Returns the range of the scaled inverse chi-squared distribution as [min, max].
dist_inverse_chi_squared_sample() Object type: Scalar function Generates a random sample from the scaled inverse chi-squared distribution with the specified parameters.
dist_inverse_chi_squared_samples() Object type: Scalar function Generates a list of n random samples from the scaled inverse chi-squared distribution with the specified parameters.
dist_inverse_chi_squared_skewness() Object type: Scalar function Returns the skewness of the scaled inverse chi-squared distribution.
dist_inverse_chi_squared_stddev() Object type: Scalar function Returns the standard deviation of the scaled inverse chi-squared distribution.
dist_inverse_chi_squared_support() Object type: Scalar function Returns the support of the scaled inverse chi-squared distribution as [min, max].
dist_inverse_chi_squared_variance() Object type: Scalar function Returns the variance of the scaled inverse chi-squared distribution.
Inverse Gamma
dist_inverse_gamma_cdf() Object type: Scalar function Computes the cumulative distribution function (CDF) of the inverse gamma distribution, P(X <= x).
dist_inverse_gamma_cdf_complement() Object type: Scalar function Computes the complementary cumulative distribution function (survival function) of the inverse gamma distribution, P(X > x).
dist_inverse_gamma_chf() Object type: Scalar function Computes the cumulative hazard function of the inverse gamma distribution at x.
dist_inverse_gamma_fit() Object type: Aggregate function Fits a inverse gamma distribution to x by maximum likelihood (Newton's method).
dist_inverse_gamma_hazard() Object type: Scalar function Computes the hazard function of the inverse gamma distribution at x.
dist_inverse_gamma_ks_test() Object type: Aggregate function One-sample Kolmogorov-Smirnov test of whether x follows the inverse gamma distribution with the given parameters.
dist_inverse_gamma_kurtosis() Object type: Scalar function Returns the kurtosis of the inverse gamma distribution.
dist_inverse_gamma_kurtosis_excess() Object type: Scalar function Returns the excess kurtosis of the inverse gamma distribution.
dist_inverse_gamma_log_cdf() Object type: Scalar function Computes the natural logarithm of the cumulative distribution function (CDF) of the inverse gamma distribution.
dist_inverse_gamma_log_cdf_complement() Object type: Scalar function Computes the natural logarithm of the survival function of the inverse gamma distribution, log P(X > x).
dist_inverse_gamma_log_pdf() Object type: Scalar function Computes the natural logarithm of the probability density function (PDF) of the inverse gamma distribution at x.
dist_inverse_gamma_mean() Object type: Scalar function Returns the mean of the inverse gamma distribution.
dist_inverse_gamma_median() Object type: Scalar function Returns the median of the inverse gamma distribution.
dist_inverse_gamma_mode() Object type: Scalar function Returns the mode (most likely value) of the inverse gamma distribution.
dist_inverse_gamma_pdf() Object type: Scalar function Computes the probability density function (PDF) of the inverse gamma distribution at x.
dist_inverse_gamma_quantile() Object type: Scalar function Computes the quantile function (inverse CDF) of the inverse gamma distribution.
dist_inverse_gamma_quantile_complement() Object type: Scalar function Computes the complementary quantile function of the inverse gamma distribution.
dist_inverse_gamma_range() Object type: Scalar function Returns the range of the inverse gamma distribution as [min, max].
dist_inverse_gamma_sample() Object type: Scalar function Generates a random sample from the inverse gamma distribution with the specified parameters.
dist_inverse_gamma_samples() Object type: Scalar function Generates a list of n random samples from the inverse gamma distribution with the specified parameters.
dist_inverse_gamma_skewness() Object type: Scalar function Returns the skewness of the inverse gamma distribution.
dist_inverse_gamma_stddev() Object type: Scalar function Returns the standard deviation of the inverse gamma distribution.
dist_inverse_gamma_support() Object type: Scalar function Returns the support of the inverse gamma distribution as [min, max].
dist_inverse_gamma_variance() Object type: Scalar function Returns the variance of the inverse gamma distribution.
Inverse Gaussian
dist_inverse_gaussian_cdf() Object type: Scalar function Computes the cumulative distribution function (CDF) of the inverse Gaussian (Wald) distribution, P(X <= x).
dist_inverse_gaussian_cdf_complement() Object type: Scalar function Computes the complementary cumulative distribution function (survival function) of the inverse Gaussian (Wald) distribution, P(X > x).
dist_inverse_gaussian_chf() Object type: Scalar function Computes the cumulative hazard function of the inverse Gaussian (Wald) distribution at x.
dist_inverse_gaussian_fit() Object type: Aggregate function Fits a inverse Gaussian distribution to x by maximum likelihood.
dist_inverse_gaussian_hazard() Object type: Scalar function Computes the hazard function of the inverse Gaussian (Wald) distribution at x.
dist_inverse_gaussian_ks_test() Object type: Aggregate function One-sample Kolmogorov-Smirnov test of whether x follows the inverse Gaussian (Wald) distribution with the given parameters.
dist_inverse_gaussian_kurtosis() Object type: Scalar function Returns the kurtosis of the inverse Gaussian (Wald) distribution.
dist_inverse_gaussian_kurtosis_excess() Object type: Scalar function Returns the excess kurtosis of the inverse Gaussian (Wald) distribution.
dist_inverse_gaussian_log_cdf() Object type: Scalar function Computes the natural logarithm of the cumulative distribution function (CDF) of the inverse Gaussian (Wald) distribution.
dist_inverse_gaussian_log_cdf_complement() Object type: Scalar function Computes the natural logarithm of the survival function of the inverse Gaussian (Wald) distribution, log P(X > x).
dist_inverse_gaussian_log_pdf() Object type: Scalar function Computes the natural logarithm of the probability density function (PDF) of the inverse Gaussian (Wald) distribution at x.
dist_inverse_gaussian_mean() Object type: Scalar function Returns the mean of the inverse Gaussian (Wald) distribution.
dist_inverse_gaussian_median() Object type: Scalar function Returns the median of the inverse Gaussian (Wald) distribution.
dist_inverse_gaussian_mode() Object type: Scalar function Returns the mode (most likely value) of the inverse Gaussian (Wald) distribution.
dist_inverse_gaussian_pdf() Object type: Scalar function Computes the probability density function (PDF) of the inverse Gaussian (Wald) distribution at x.
dist_inverse_gaussian_quantile() Object type: Scalar function Computes the quantile function (inverse CDF) of the inverse Gaussian (Wald) distribution.
dist_inverse_gaussian_quantile_complement() Object type: Scalar function Computes the complementary quantile function of the inverse Gaussian (Wald) distribution.
dist_inverse_gaussian_range() Object type: Scalar function Returns the range of the inverse Gaussian (Wald) distribution as [min, max].
dist_inverse_gaussian_sample() Object type: Scalar function Generates a random sample from the inverse Gaussian (Wald) distribution with the specified parameters.
dist_inverse_gaussian_samples() Object type: Scalar function Generates a list of n random samples from the inverse Gaussian (Wald) distribution with the specified parameters.
dist_inverse_gaussian_skewness() Object type: Scalar function Returns the skewness of the inverse Gaussian (Wald) distribution.
dist_inverse_gaussian_stddev() Object type: Scalar function Returns the standard deviation of the inverse Gaussian (Wald) distribution.
dist_inverse_gaussian_support() Object type: Scalar function Returns the support of the inverse Gaussian (Wald) distribution as [min, max].
dist_inverse_gaussian_variance() Object type: Scalar function Returns the variance of the inverse Gaussian (Wald) distribution.
Kolmogorov-Smirnov
dist_kolmogorov_smirnov_cdf() Object type: Scalar function Computes the cumulative distribution function (CDF) of the Kolmogorov-Smirnov distribution, P(X <= x).
dist_kolmogorov_smirnov_cdf_complement() Object type: Scalar function Computes the complementary cumulative distribution function (survival function) of the Kolmogorov-Smirnov distribution, P(X > x).
dist_kolmogorov_smirnov_chf() Object type: Scalar function Computes the cumulative hazard function of the Kolmogorov-Smirnov distribution at x.
dist_kolmogorov_smirnov_hazard() Object type: Scalar function Computes the hazard function of the Kolmogorov-Smirnov distribution at x.
dist_kolmogorov_smirnov_ks_test() Object type: Aggregate function One-sample Kolmogorov-Smirnov test of whether x follows the Kolmogorov-Smirnov distribution with the given parameters.
dist_kolmogorov_smirnov_kurtosis() Object type: Scalar function Returns the kurtosis of the Kolmogorov-Smirnov distribution.
dist_kolmogorov_smirnov_kurtosis_excess() Object type: Scalar function Returns the excess kurtosis of the Kolmogorov-Smirnov distribution.
dist_kolmogorov_smirnov_log_cdf() Object type: Scalar function Computes the natural logarithm of the cumulative distribution function (CDF) of the Kolmogorov-Smirnov distribution.
dist_kolmogorov_smirnov_log_cdf_complement() Object type: Scalar function Computes the natural logarithm of the survival function of the Kolmogorov-Smirnov distribution, log P(X > x).
dist_kolmogorov_smirnov_log_pdf() Object type: Scalar function Computes the natural logarithm of the probability density function (PDF) of the Kolmogorov-Smirnov distribution at x.
dist_kolmogorov_smirnov_mean() Object type: Scalar function Returns the mean of the Kolmogorov-Smirnov distribution.
dist_kolmogorov_smirnov_median() Object type: Scalar function Returns the median of the Kolmogorov-Smirnov distribution.
dist_kolmogorov_smirnov_mode() Object type: Scalar function Returns the mode (most likely value) of the Kolmogorov-Smirnov distribution.
dist_kolmogorov_smirnov_pdf() Object type: Scalar function Computes the probability density function (PDF) of the Kolmogorov-Smirnov distribution at x.
dist_kolmogorov_smirnov_quantile() Object type: Scalar function Computes the quantile function (inverse CDF) of the Kolmogorov-Smirnov distribution.
dist_kolmogorov_smirnov_quantile_complement() Object type: Scalar function Computes the complementary quantile function of the Kolmogorov-Smirnov distribution.
dist_kolmogorov_smirnov_range() Object type: Scalar function Returns the range of the Kolmogorov-Smirnov distribution as [min, max].
dist_kolmogorov_smirnov_sample() Object type: Scalar function Generates a random sample from the Kolmogorov-Smirnov distribution with the specified parameters.
dist_kolmogorov_smirnov_samples() Object type: Scalar function Generates a list of n random samples from the Kolmogorov-Smirnov distribution with the specified parameters.
dist_kolmogorov_smirnov_skewness() Object type: Scalar function Returns the skewness of the Kolmogorov-Smirnov distribution.
dist_kolmogorov_smirnov_stddev() Object type: Scalar function Returns the standard deviation of the Kolmogorov-Smirnov distribution.
dist_kolmogorov_smirnov_support() Object type: Scalar function Returns the support of the Kolmogorov-Smirnov distribution as [min, max].
dist_kolmogorov_smirnov_variance() Object type: Scalar function Returns the variance of the Kolmogorov-Smirnov distribution.
Laplace
dist_laplace_cdf() Object type: Scalar function Computes the cumulative distribution function (CDF) of the Laplace distribution, P(X <= x).
dist_laplace_cdf_complement() Object type: Scalar function Computes the complementary cumulative distribution function (survival function) of the Laplace distribution, P(X > x).
dist_laplace_chf() Object type: Scalar function Computes the cumulative hazard function of the Laplace distribution at x.
dist_laplace_fit() Object type: Aggregate function Fits a Laplace distribution to x by maximum likelihood (the median and the mean absolute deviation from it).
dist_laplace_hazard() Object type: Scalar function Computes the hazard function of the Laplace distribution at x.
dist_laplace_ks_test() Object type: Aggregate function One-sample Kolmogorov-Smirnov test of whether x follows the Laplace distribution with the given parameters.
dist_laplace_kurtosis() Object type: Scalar function Returns the kurtosis of the Laplace distribution.
dist_laplace_kurtosis_excess() Object type: Scalar function Returns the excess kurtosis of the Laplace distribution.
dist_laplace_log_cdf() Object type: Scalar function Computes the natural logarithm of the cumulative distribution function (CDF) of the Laplace distribution.
dist_laplace_log_cdf_complement() Object type: Scalar function Computes the natural logarithm of the survival function of the Laplace distribution, log P(X > x).
dist_laplace_log_pdf() Object type: Scalar function Computes the natural logarithm of the probability density function (PDF) of the Laplace distribution at x.
dist_laplace_mean() Object type: Scalar function Returns the mean of the Laplace distribution.
dist_laplace_median() Object type: Scalar function Returns the median of the Laplace distribution.
dist_laplace_mode() Object type: Scalar function Returns the mode (most likely value) of the Laplace distribution.
dist_laplace_pdf() Object type: Scalar function Computes the probability density function (PDF) of the Laplace distribution at x.
dist_laplace_quantile() Object type: Scalar function Computes the quantile function (inverse CDF) of the Laplace distribution.
dist_laplace_quantile_complement() Object type: Scalar function Computes the complementary quantile function of the Laplace distribution.
dist_laplace_range() Object type: Scalar function Returns the range of the Laplace distribution as [min, max].
dist_laplace_sample() Object type: Scalar function Generates a random sample from the Laplace distribution with the specified parameters.
dist_laplace_samples() Object type: Scalar function Generates a list of n random samples from the Laplace distribution with the specified parameters.
dist_laplace_skewness() Object type: Scalar function Returns the skewness of the Laplace distribution.
dist_laplace_stddev() Object type: Scalar function Returns the standard deviation of the Laplace distribution.
dist_laplace_support() Object type: Scalar function Returns the support of the Laplace distribution as [min, max].
dist_laplace_variance() Object type: Scalar function Returns the variance of the Laplace distribution.
Log-normal
dist_lognormal_cdf() Object type: Scalar function Computes the cumulative distribution function (CDF) of the log-normal distribution, P(X <= x).
dist_lognormal_cdf_complement() Object type: Scalar function Computes the complementary cumulative distribution function (survival function) of the log-normal distribution, P(X > x).
dist_lognormal_chf() Object type: Scalar function Computes the cumulative hazard function of the log-normal distribution at x.
dist_lognormal_fit() Object type: Aggregate function Fits a log-normal distribution to x by maximum likelihood.
dist_lognormal_hazard() Object type: Scalar function Computes the hazard function of the log-normal distribution at x.
dist_lognormal_ks_test() Object type: Aggregate function One-sample Kolmogorov-Smirnov test of whether x follows the log-normal distribution with the given parameters.
dist_lognormal_kurtosis() Object type: Scalar function Returns the kurtosis of the log-normal distribution.
dist_lognormal_kurtosis_excess() Object type: Scalar function Returns the excess kurtosis of the log-normal distribution.
dist_lognormal_log_cdf() Object type: Scalar function Computes the natural logarithm of the cumulative distribution function (CDF) of the log-normal distribution.
dist_lognormal_log_cdf_complement() Object type: Scalar function Computes the natural logarithm of the survival function of the log-normal distribution, log P(X > x).
dist_lognormal_log_pdf() Object type: Scalar function Computes the natural logarithm of the probability density function (PDF) of the log-normal distribution at x.
dist_lognormal_mean() Object type: Scalar function Returns the mean of the log-normal distribution.
dist_lognormal_median() Object type: Scalar function Returns the median of the log-normal distribution.
dist_lognormal_mode() Object type: Scalar function Returns the mode (most likely value) of the log-normal distribution.
dist_lognormal_pdf() Object type: Scalar function Computes the probability density function (PDF) of the log-normal distribution at x.
dist_lognormal_quantile() Object type: Scalar function Computes the quantile function (inverse CDF) of the log-normal distribution.
dist_lognormal_quantile_complement() Object type: Scalar function Computes the complementary quantile function of the log-normal distribution.
dist_lognormal_range() Object type: Scalar function Returns the range of the log-normal distribution as [min, max].
dist_lognormal_sample() Object type: Scalar function Generates a random sample from the log-normal distribution with the specified parameters.
dist_lognormal_samples() Object type: Scalar function Generates a list of n random samples from the log-normal distribution with the specified parameters.
dist_lognormal_skewness() Object type: Scalar function Returns the skewness of the log-normal distribution.
dist_lognormal_stddev() Object type: Scalar function Returns the standard deviation of the log-normal distribution.
dist_lognormal_support() Object type: Scalar function Returns the support of the log-normal distribution as [min, max].
dist_lognormal_variance() Object type: Scalar function Returns the variance of the log-normal distribution.
Logistic
dist_logistic_cdf() Object type: Scalar function Computes the cumulative distribution function (CDF) of the logistic distribution, P(X <= x).
dist_logistic_cdf_complement() Object type: Scalar function Computes the complementary cumulative distribution function (survival function) of the logistic distribution, P(X > x).
dist_logistic_chf() Object type: Scalar function Computes the cumulative hazard function of the logistic distribution at x.
dist_logistic_fit() Object type: Aggregate function Fits a logistic distribution to x by maximum likelihood (Newton's method).
dist_logistic_hazard() Object type: Scalar function Computes the hazard function of the logistic distribution at x.
dist_logistic_ks_test() Object type: Aggregate function One-sample Kolmogorov-Smirnov test of whether x follows the logistic distribution with the given parameters.
dist_logistic_kurtosis() Object type: Scalar function Returns the kurtosis of the logistic distribution.
dist_logistic_kurtosis_excess() Object type: Scalar function Returns the excess kurtosis of the logistic distribution.
dist_logistic_log_cdf() Object type: Scalar function Computes the natural logarithm of the cumulative distribution function (CDF) of the logistic distribution.
dist_logistic_log_cdf_complement() Object type: Scalar function Computes the natural logarithm of the survival function of the logistic distribution, log P(X > x).
dist_logistic_log_pdf() Object type: Scalar function Computes the natural logarithm of the probability density function (PDF) of the logistic distribution at x.
dist_logistic_mean() Object type: Scalar function Returns the mean of the logistic distribution.
dist_logistic_median() Object type: Scalar function Returns the median of the logistic distribution.
dist_logistic_mode() Object type: Scalar function Returns the mode (most likely value) of the logistic distribution.
dist_logistic_pdf() Object type: Scalar function Computes the probability density function (PDF) of the logistic distribution at x.
dist_logistic_quantile() Object type: Scalar function Computes the quantile function (inverse CDF) of the logistic distribution.
dist_logistic_quantile_complement() Object type: Scalar function Computes the complementary quantile function of the logistic distribution.
dist_logistic_range() Object type: Scalar function Returns the range of the logistic distribution as [min, max].
dist_logistic_sample() Object type: Scalar function Generates a random sample from the logistic distribution with the specified parameters.
dist_logistic_samples() Object type: Scalar function Generates a list of n random samples from the logistic distribution with the specified parameters.
dist_logistic_skewness() Object type: Scalar function Returns the skewness of the logistic distribution.
dist_logistic_stddev() Object type: Scalar function Returns the standard deviation of the logistic distribution.
dist_logistic_support() Object type: Scalar function Returns the support of the logistic distribution as [min, max].
dist_logistic_variance() Object type: Scalar function Returns the variance of the logistic distribution.
Multinomial
dist_multinomial_log_pdf() Object type: Scalar function Computes the natural logarithm of the probability mass function (PMF) of the multinomial distribution at the counts x.
dist_multinomial_log_pmf() Object type: Scalar function Computes the natural logarithm of the probability mass function (PMF) of the multinomial distribution at the counts x.
dist_multinomial_mean() Object type: Scalar function Returns the mean count of each outcome of the multinomial distribution, trials * probs_i.
dist_multinomial_pdf() Object type: Scalar function Computes the probability mass function (PMF) of the multinomial distribution: the probability of observing the counts x.
dist_multinomial_pmf() Object type: Scalar function Computes the probability mass function (PMF) of the multinomial distribution: the probability of observing the counts x.
dist_multinomial_sample() Object type: Scalar function Generates a random sample from the multinomial distribution: the counts of each outcome in trials draws with outcome probabilities probs.
dist_multinomial_variance() Object type: Scalar function Returns the variance of the count of each outcome of the multinomial distribution, trials * p_i * (1 - p_i).
Negative Binomial
dist_negative_binomial_cdf() Object type: Scalar function Computes the cumulative distribution function (CDF) of the negative binomial distribution, P(X <= x).
dist_negative_binomial_cdf_complement() Object type: Scalar function Computes the complementary cumulative distribution function (survival function) of the negative binomial distribution, P(X > x).
dist_negative_binomial_chf() Object type: Scalar function Computes the cumulative hazard function of the negative binomial distribution at x.
dist_negative_binomial_fit() Object type: Aggregate function Fits a negative binomial distribution to x by maximum likelihood.
dist_negative_binomial_hazard() Object type: Scalar function Computes the hazard function of the negative binomial distribution at x.
dist_negative_binomial_kurtosis() Object type: Scalar function Returns the kurtosis of the negative binomial distribution.
dist_negative_binomial_kurtosis_excess() Object type: Scalar function Returns the excess kurtosis of the negative binomial distribution.
dist_negative_binomial_log_cdf() Object type: Scalar function Computes the natural logarithm of the cumulative distribution function (CDF) of the negative binomial distribution.
dist_negative_binomial_log_cdf_complement() Object type: Scalar function Computes the natural logarithm of the survival function of the negative binomial distribution, log P(X > x).
dist_negative_binomial_log_pdf() Object type: Scalar function Computes the natural logarithm of the probability mass function (PMF) of the negative binomial distribution at x.
dist_negative_binomial_log_pmf() Object type: Scalar function Computes the natural logarithm of the probability mass function (PMF) of the negative binomial distribution at x.
dist_negative_binomial_mean() Object type: Scalar function Returns the mean of the negative binomial distribution.
dist_negative_binomial_median() Object type: Scalar function Returns the median of the negative binomial distribution.
dist_negative_binomial_mode() Object type: Scalar function Returns the mode (most likely value) of the negative binomial distribution.
dist_negative_binomial_pdf() Object type: Scalar function Computes the probability mass function (PMF) of the negative binomial distribution at x.
dist_negative_binomial_pmf() Object type: Scalar function Computes the probability mass function (PMF) of the negative binomial distribution at x, P(X = x).
dist_negative_binomial_quantile() Object type: Scalar function Computes the quantile function (inverse CDF) of the negative binomial distribution.
dist_negative_binomial_quantile_complement() Object type: Scalar function Computes the complementary quantile function of the negative binomial distribution.
dist_negative_binomial_range() Object type: Scalar function Returns the range of the negative binomial distribution as [min, max].
dist_negative_binomial_sample() Object type: Scalar function Generates a random sample from the negative binomial distribution with the specified parameters.
dist_negative_binomial_samples() Object type: Scalar function Generates a list of n random samples from the negative binomial distribution with the specified parameters.
dist_negative_binomial_skewness() Object type: Scalar function Returns the skewness of the negative binomial distribution.
dist_negative_binomial_stddev() Object type: Scalar function Returns the standard deviation of the negative binomial distribution.
dist_negative_binomial_support() Object type: Scalar function Returns the support of the negative binomial distribution as [min, max].
dist_negative_binomial_variance() Object type: Scalar function Returns the variance of the negative binomial distribution.
Non-central Beta
dist_non_central_beta_cdf() Object type: Scalar function Computes the cumulative distribution function (CDF) of the non-central beta distribution, P(X <= x).
dist_non_central_beta_cdf_complement() Object type: Scalar function Computes the complementary cumulative distribution function (survival function) of the non-central beta distribution, P(X > x).
dist_non_central_beta_chf() Object type: Scalar function Computes the cumulative hazard function of the non-central beta distribution at x.
dist_non_central_beta_hazard() Object type: Scalar function Computes the hazard function of the non-central beta distribution at x.
dist_non_central_beta_ks_test() Object type: Aggregate function One-sample Kolmogorov-Smirnov test of whether x follows the non-central beta distribution with the given parameters.
dist_non_central_beta_kurtosis() Object type: Scalar function Returns the kurtosis of the non-central beta distribution.
dist_non_central_beta_kurtosis_excess() Object type: Scalar function Returns the excess kurtosis of the non-central beta distribution.
dist_non_central_beta_log_cdf() Object type: Scalar function Computes the natural logarithm of the cumulative distribution function (CDF) of the non-central beta distribution.
dist_non_central_beta_log_cdf_complement() Object type: Scalar function Computes the natural logarithm of the survival function of the non-central beta distribution, log P(X > x).
dist_non_central_beta_log_pdf() Object type: Scalar function Computes the natural logarithm of the probability density function (PDF) of the non-central beta distribution at x.
dist_non_central_beta_mean() Object type: Scalar function Returns the mean of the non-central beta distribution.
dist_non_central_beta_median() Object type: Scalar function Returns the median of the non-central beta distribution.
dist_non_central_beta_mode() Object type: Scalar function Returns the mode (most likely value) of the non-central beta distribution.
dist_non_central_beta_pdf() Object type: Scalar function Computes the probability density function (PDF) of the non-central beta distribution at x.
dist_non_central_beta_quantile() Object type: Scalar function Computes the quantile function (inverse CDF) of the non-central beta distribution.
dist_non_central_beta_quantile_complement() Object type: Scalar function Computes the complementary quantile function of the non-central beta distribution.
dist_non_central_beta_range() Object type: Scalar function Returns the range of the non-central beta distribution as [min, max].
dist_non_central_beta_sample() Object type: Scalar function Generates a random sample from the non-central beta distribution with the specified parameters.
dist_non_central_beta_samples() Object type: Scalar function Generates a list of n random samples from the non-central beta distribution with the specified parameters.
dist_non_central_beta_skewness() Object type: Scalar function Returns the skewness of the non-central beta distribution.
dist_non_central_beta_stddev() Object type: Scalar function Returns the standard deviation of the non-central beta distribution.
dist_non_central_beta_support() Object type: Scalar function Returns the support of the non-central beta distribution as [min, max].
dist_non_central_beta_variance() Object type: Scalar function Returns the variance of the non-central beta distribution.
Non-central Chi-squared
dist_non_central_chi_squared_cdf() Object type: Scalar function Computes the cumulative distribution function (CDF) of the non-central chi-squared distribution, P(X <= x).
dist_non_central_chi_squared_cdf_complement() Object type: Scalar function Computes the complementary cumulative distribution function (survival function) of the non-central chi-squared distribution, P(X > x).
dist_non_central_chi_squared_chf() Object type: Scalar function Computes the cumulative hazard function of the non-central chi-squared distribution at x.
dist_non_central_chi_squared_hazard() Object type: Scalar function Computes the hazard function of the non-central chi-squared distribution at x.
dist_non_central_chi_squared_ks_test() Object type: Aggregate function One-sample Kolmogorov-Smirnov test of whether x follows the non-central chi-squared distribution with the given parameters.
dist_non_central_chi_squared_kurtosis() Object type: Scalar function Returns the kurtosis of the non-central chi-squared distribution.
dist_non_central_chi_squared_kurtosis_excess() Object type: Scalar function Returns the excess kurtosis of the non-central chi-squared distribution.
dist_non_central_chi_squared_log_cdf() Object type: Scalar function Computes the natural logarithm of the cumulative distribution function (CDF) of the non-central chi-squared distribution.
dist_non_central_chi_squared_log_cdf_complement() Object type: Scalar function Computes the natural logarithm of the survival function of the non-central chi-squared distribution, log P(X > x).
dist_non_central_chi_squared_log_pdf() Object type: Scalar function Computes the natural logarithm of the probability density function (PDF) of the non-central chi-squared distribution at x.
dist_non_central_chi_squared_mean() Object type: Scalar function Returns the mean of the non-central chi-squared distribution.
dist_non_central_chi_squared_median() Object type: Scalar function Returns the median of the non-central chi-squared distribution.
dist_non_central_chi_squared_mode() Object type: Scalar function Returns the mode (most likely value) of the non-central chi-squared distribution.
dist_non_central_chi_squared_pdf() Object type: Scalar function Computes the probability density function (PDF) of the non-central chi-squared distribution at x.
dist_non_central_chi_squared_quantile() Object type: Scalar function Computes the quantile function (inverse CDF) of the non-central chi-squared distribution.
dist_non_central_chi_squared_quantile_complement() Object type: Scalar function Computes the complementary quantile function of the non-central chi-squared distribution.
dist_non_central_chi_squared_range() Object type: Scalar function Returns the range of the non-central chi-squared distribution as [min, max].
dist_non_central_chi_squared_sample() Object type: Scalar function Generates a random sample from the non-central chi-squared distribution with the specified parameters.
dist_non_central_chi_squared_samples() Object type: Scalar function Generates a list of n random samples from the non-central chi-squared distribution with the specified parameters.
dist_non_central_chi_squared_skewness() Object type: Scalar function Returns the skewness of the non-central chi-squared distribution.
dist_non_central_chi_squared_stddev() Object type: Scalar function Returns the standard deviation of the non-central chi-squared distribution.
dist_non_central_chi_squared_support() Object type: Scalar function Returns the support of the non-central chi-squared distribution as [min, max].
dist_non_central_chi_squared_variance() Object type: Scalar function Returns the variance of the non-central chi-squared distribution.
Non-central F
dist_non_central_f_cdf() Object type: Scalar function Computes the cumulative distribution function (CDF) of the non-central F distribution, P(X <= x).
dist_non_central_f_cdf_complement() Object type: Scalar function Computes the complementary cumulative distribution function (survival function) of the non-central F distribution, P(X > x).
dist_non_central_f_chf() Object type: Scalar function Computes the cumulative hazard function of the non-central F distribution at x.
dist_non_central_f_hazard() Object type: Scalar function Computes the hazard function of the non-central F distribution at x.
dist_non_central_f_ks_test() Object type: Aggregate function One-sample Kolmogorov-Smirnov test of whether x follows the non-central F distribution with the given parameters.
dist_non_central_f_kurtosis() Object type: Scalar function Returns the kurtosis of the non-central F distribution.
dist_non_central_f_kurtosis_excess() Object type: Scalar function Returns the excess kurtosis of the non-central F distribution.
dist_non_central_f_log_cdf() Object type: Scalar function Computes the natural logarithm of the cumulative distribution function (CDF) of the non-central F distribution.
dist_non_central_f_log_cdf_complement() Object type: Scalar function Computes the natural logarithm of the survival function of the non-central F distribution, log P(X > x).
dist_non_central_f_log_pdf() Object type: Scalar function Computes the natural logarithm of the probability density function (PDF) of the non-central F distribution at x.
dist_non_central_f_mean() Object type: Scalar function Returns the mean of the non-central F distribution.
dist_non_central_f_median() Object type: Scalar function Returns the median of the non-central F distribution.
dist_non_central_f_mode() Object type: Scalar function Returns the mode (most likely value) of the non-central F distribution.
dist_non_central_f_pdf() Object type: Scalar function Computes the probability density function (PDF) of the non-central F distribution at x.
dist_non_central_f_quantile() Object type: Scalar function Computes the quantile function (inverse CDF) of the non-central F distribution.
dist_non_central_f_quantile_complement() Object type: Scalar function Computes the complementary quantile function of the non-central F distribution.
dist_non_central_f_range() Object type: Scalar function Returns the range of the non-central F distribution as [min, max].
dist_non_central_f_sample() Object type: Scalar function Generates a random sample from the non-central F distribution with the specified parameters.
dist_non_central_f_samples() Object type: Scalar function Generates a list of n random samples from the non-central F distribution with the specified parameters.
dist_non_central_f_skewness() Object type: Scalar function Returns the skewness of the non-central F distribution.
dist_non_central_f_stddev() Object type: Scalar function Returns the standard deviation of the non-central F distribution.
dist_non_central_f_support() Object type: Scalar function Returns the support of the non-central F distribution as [min, max].
dist_non_central_f_variance() Object type: Scalar function Returns the variance of the non-central F distribution.
Non-central t
dist_non_central_t_cdf() Object type: Scalar function Computes the cumulative distribution function (CDF) of the non-central Student's t distribution, P(X <= x).
dist_non_central_t_cdf_complement() Object type: Scalar function Computes the complementary cumulative distribution function (survival function) of the non-central Student's t distribution, P(X > x).
dist_non_central_t_chf() Object type: Scalar function Computes the cumulative hazard function of the non-central Student's t distribution at x.
dist_non_central_t_hazard() Object type: Scalar function Computes the hazard function of the non-central Student's t distribution at x.
dist_non_central_t_ks_test() Object type: Aggregate function One-sample Kolmogorov-Smirnov test of whether x follows the non-central Student's t distribution with the given parameters.
dist_non_central_t_kurtosis() Object type: Scalar function Returns the kurtosis of the non-central Student's t distribution.
dist_non_central_t_kurtosis_excess() Object type: Scalar function Returns the excess kurtosis of the non-central Student's t distribution.
dist_non_central_t_log_cdf() Object type: Scalar function Computes the natural logarithm of the cumulative distribution function (CDF) of the non-central Student's t distribution.
dist_non_central_t_log_cdf_complement() Object type: Scalar function Computes the natural logarithm of the survival function of the non-central Student's t distribution, log P(X > x).
dist_non_central_t_log_pdf() Object type: Scalar function Computes the natural logarithm of the probability density function (PDF) of the non-central Student's t distribution at x.
dist_non_central_t_mean() Object type: Scalar function Returns the mean of the non-central Student's t distribution.
dist_non_central_t_median() Object type: Scalar function Returns the median of the non-central Student's t distribution.
dist_non_central_t_mode() Object type: Scalar function Returns the mode (most likely value) of the non-central Student's t distribution.
dist_non_central_t_pdf() Object type: Scalar function Computes the probability density function (PDF) of the non-central Student's t distribution at x.
dist_non_central_t_quantile() Object type: Scalar function Computes the quantile function (inverse CDF) of the non-central Student's t distribution.
dist_non_central_t_quantile_complement() Object type: Scalar function Computes the complementary quantile function of the non-central Student's t distribution.
dist_non_central_t_range() Object type: Scalar function Returns the range of the non-central Student's t distribution as [min, max].
dist_non_central_t_sample() Object type: Scalar function Generates a random sample from the non-central Student's t distribution with the specified parameters.
dist_non_central_t_samples() Object type: Scalar function Generates a list of n random samples from the non-central Student's t distribution with the specified parameters.
dist_non_central_t_skewness() Object type: Scalar function Returns the skewness of the non-central Student's t distribution.
dist_non_central_t_stddev() Object type: Scalar function Returns the standard deviation of the non-central Student's t distribution.
dist_non_central_t_support() Object type: Scalar function Returns the support of the non-central Student's t distribution as [min, max].
dist_non_central_t_variance() Object type: Scalar function Returns the variance of the non-central Student's t distribution.
Normal
dist_normal_cdf() Object type: Scalar function Computes the cumulative distribution function (CDF) of the normal distribution, P(X <= x).
dist_normal_cdf_complement() Object type: Scalar function Computes the complementary cumulative distribution function (survival function) of the normal distribution, P(X > x).
dist_normal_chf() Object type: Scalar function Computes the cumulative hazard function of the normal distribution at x.
dist_normal_fit() Object type: Aggregate function Fits a normal distribution to x by maximum likelihood.
dist_normal_hazard() Object type: Scalar function Computes the hazard function of the normal distribution at x.
dist_normal_ks_test() Object type: Aggregate function One-sample Kolmogorov-Smirnov test of whether x follows the normal distribution with the given parameters.
dist_normal_kurtosis() Object type: Scalar function Returns the kurtosis of the normal distribution.
dist_normal_kurtosis_excess() Object type: Scalar function Returns the excess kurtosis of the normal distribution.
dist_normal_log_cdf() Object type: Scalar function Computes the natural logarithm of the cumulative distribution function (CDF) of the normal distribution.
dist_normal_log_cdf_complement() Object type: Scalar function Computes the natural logarithm of the survival function of the normal distribution, log P(X > x).
dist_normal_log_pdf() Object type: Scalar function Computes the natural logarithm of the probability density function (PDF) of the normal distribution at x.
dist_normal_mean() Object type: Scalar function Returns the mean of the normal distribution.
dist_normal_median() Object type: Scalar function Returns the median of the normal distribution.
dist_normal_mode() Object type: Scalar function Returns the mode (most likely value) of the normal distribution.
dist_normal_pdf() Object type: Scalar function Computes the probability density function (PDF) of the normal distribution at x.
dist_normal_quantile() Object type: Scalar function Computes the quantile function (inverse CDF) of the normal distribution.
dist_normal_quantile_complement() Object type: Scalar function Computes the complementary quantile function of the normal distribution.
dist_normal_range() Object type: Scalar function Returns the range of the normal distribution as [min, max].
dist_normal_sample() Object type: Scalar function Generates a random sample from the normal distribution with the specified parameters.
dist_normal_samples() Object type: Scalar function Generates a list of n random samples from the normal distribution with the specified parameters.
dist_normal_skewness() Object type: Scalar function Returns the skewness of the normal distribution.
dist_normal_stddev() Object type: Scalar function Returns the standard deviation of the normal distribution.
dist_normal_support() Object type: Scalar function Returns the support of the normal distribution as [min, max].
dist_normal_variance() Object type: Scalar function Returns the variance of the normal distribution.
Pareto
dist_pareto_cdf() Object type: Scalar function Positional arguments are (scale, shape), both positive and finite.
dist_pareto_cdf_complement() Object type: Scalar function Positional arguments are (scale, shape), both positive and finite.
dist_pareto_chf() Object type: Scalar function Positional arguments are (scale, shape), both positive and finite.
dist_pareto_fit() Object type: Aggregate function Fits a Pareto distribution to x by maximum likelihood.
dist_pareto_hazard() Object type: Scalar function Positional arguments are (scale, shape), both positive and finite.
dist_pareto_ks_test() Object type: Aggregate function One-sample Kolmogorov-Smirnov test of whether x follows the Pareto distribution with the given parameters.
dist_pareto_kurtosis() Object type: Scalar function Positional arguments are (scale, shape), both positive and finite.
dist_pareto_kurtosis_excess() Object type: Scalar function Positional arguments are (scale, shape), both positive and finite.
dist_pareto_log_cdf() Object type: Scalar function Positional arguments are (scale, shape), both positive and finite.
dist_pareto_log_cdf_complement() Object type: Scalar function Positional arguments are (scale, shape), both positive and finite.
dist_pareto_log_pdf() Object type: Scalar function Positional arguments are (scale, shape), both positive and finite.
dist_pareto_mean() Object type: Scalar function Positional arguments are (scale, shape), both positive and finite.
dist_pareto_median() Object type: Scalar function Positional arguments are (scale, shape), both positive and finite.
dist_pareto_mode() Object type: Scalar function Positional arguments are (scale, shape), both positive and finite.
dist_pareto_pdf() Object type: Scalar function Positional arguments are (scale, shape), both positive and finite.
dist_pareto_quantile() Object type: Scalar function Positional arguments are (scale, shape), both positive and finite.
dist_pareto_quantile_complement() Object type: Scalar function Positional arguments are (scale, shape), both positive and finite.
dist_pareto_range() Object type: Scalar function Positional arguments are (scale, shape), both positive and finite.
dist_pareto_sample() Object type: Scalar function Positional arguments are (scale, shape), both positive and finite.
dist_pareto_samples() Object type: Scalar function Generates a list of n random samples from the Pareto distribution with the specified parameters.
dist_pareto_skewness() Object type: Scalar function Positional arguments are (scale, shape), both positive and finite.
dist_pareto_stddev() Object type: Scalar function Positional arguments are (scale, shape), both positive and finite.
dist_pareto_support() Object type: Scalar function Positional arguments are (scale, shape), both positive and finite.
dist_pareto_variance() Object type: Scalar function Positional arguments are (scale, shape), both positive and finite.
Poisson
dist_poisson_cdf() Object type: Scalar function Computes the cumulative distribution function (CDF) of the Poisson distribution, P(X <= x).
dist_poisson_cdf_complement() Object type: Scalar function Computes the complementary cumulative distribution function (survival function) of the Poisson distribution, P(X > x).
dist_poisson_chf() Object type: Scalar function Computes the cumulative hazard function of the Poisson distribution at x.
dist_poisson_fit() Object type: Aggregate function Fits a Poisson distribution to x by maximum likelihood.
dist_poisson_hazard() Object type: Scalar function Computes the hazard function of the Poisson distribution at x.
dist_poisson_kurtosis() Object type: Scalar function Returns the kurtosis of the Poisson distribution.
dist_poisson_kurtosis_excess() Object type: Scalar function Returns the excess kurtosis of the Poisson distribution.
dist_poisson_log_cdf() Object type: Scalar function Computes the natural logarithm of the cumulative distribution function (CDF) of the Poisson distribution.
dist_poisson_log_cdf_complement() Object type: Scalar function Computes the natural logarithm of the survival function of the Poisson distribution, log P(X > x).
dist_poisson_log_pdf() Object type: Scalar function Computes the natural logarithm of the probability mass function (PMF) of the Poisson distribution at x.
dist_poisson_log_pmf() Object type: Scalar function Computes the natural logarithm of the probability mass function (PMF) of the Poisson distribution at x.
dist_poisson_mean() Object type: Scalar function Returns the mean of the Poisson distribution.
dist_poisson_median() Object type: Scalar function Returns the median of the Poisson distribution.
dist_poisson_mode() Object type: Scalar function Returns the mode (most likely value) of the Poisson distribution.
dist_poisson_pdf() Object type: Scalar function Computes the probability mass function (PMF) of the Poisson distribution at x.
dist_poisson_pmf() Object type: Scalar function Computes the probability mass function (PMF) of the Poisson distribution at x, P(X = x).
dist_poisson_quantile() Object type: Scalar function Computes the quantile function (inverse CDF) of the Poisson distribution.
dist_poisson_quantile_complement() Object type: Scalar function Computes the complementary quantile function of the Poisson distribution.
dist_poisson_range() Object type: Scalar function Returns the range of the Poisson distribution as [min, max].
dist_poisson_sample() Object type: Scalar function Generates a random sample from the Poisson distribution with the specified parameters.
dist_poisson_samples() Object type: Scalar function Generates a list of n random samples from the Poisson distribution with the specified parameters.
dist_poisson_skewness() Object type: Scalar function Returns the skewness of the Poisson distribution.
dist_poisson_stddev() Object type: Scalar function Returns the standard deviation of the Poisson distribution.
dist_poisson_support() Object type: Scalar function Returns the support of the Poisson distribution as [min, max].
dist_poisson_variance() Object type: Scalar function Returns the variance of the Poisson distribution.
Rayleigh
dist_rayleigh_cdf() Object type: Scalar function Computes the cumulative distribution function (CDF) of the Rayleigh distribution, P(X <= x).
dist_rayleigh_cdf_complement() Object type: Scalar function Computes the complementary cumulative distribution function (survival function) of the Rayleigh distribution, P(X > x).
dist_rayleigh_chf() Object type: Scalar function Computes the cumulative hazard function of the Rayleigh distribution at x.
dist_rayleigh_fit() Object type: Aggregate function Fits a Rayleigh distribution to x by maximum likelihood.
dist_rayleigh_hazard() Object type: Scalar function Computes the hazard function of the Rayleigh distribution at x.
dist_rayleigh_ks_test() Object type: Aggregate function One-sample Kolmogorov-Smirnov test of whether x follows the Rayleigh distribution with the given parameters.
dist_rayleigh_kurtosis() Object type: Scalar function Returns the kurtosis of the Rayleigh distribution.
dist_rayleigh_kurtosis_excess() Object type: Scalar function Returns the excess kurtosis of the Rayleigh distribution.
dist_rayleigh_log_cdf() Object type: Scalar function Computes the natural logarithm of the cumulative distribution function (CDF) of the Rayleigh distribution.
dist_rayleigh_log_cdf_complement() Object type: Scalar function Computes the natural logarithm of the survival function of the Rayleigh distribution, log P(X > x).
dist_rayleigh_log_pdf() Object type: Scalar function Computes the natural logarithm of the probability density function (PDF) of the Rayleigh distribution at x.
dist_rayleigh_mean() Object type: Scalar function Returns the mean of the Rayleigh distribution.
dist_rayleigh_median() Object type: Scalar function Returns the median of the Rayleigh distribution.
dist_rayleigh_mode() Object type: Scalar function Returns the mode (most likely value) of the Rayleigh distribution.
dist_rayleigh_pdf() Object type: Scalar function Computes the probability density function (PDF) of the Rayleigh distribution at x.
dist_rayleigh_quantile() Object type: Scalar function Computes the quantile function (inverse CDF) of the Rayleigh distribution.
dist_rayleigh_quantile_complement() Object type: Scalar function Computes the complementary quantile function of the Rayleigh distribution.
dist_rayleigh_range() Object type: Scalar function Returns the range of the Rayleigh distribution as [min, max].
dist_rayleigh_sample() Object type: Scalar function Generates a random sample from the Rayleigh distribution with the specified parameters.
dist_rayleigh_samples() Object type: Scalar function Generates a list of n random samples from the Rayleigh distribution with the specified parameters.
dist_rayleigh_skewness() Object type: Scalar function Returns the skewness of the Rayleigh distribution.
dist_rayleigh_stddev() Object type: Scalar function Returns the standard deviation of the Rayleigh distribution.
dist_rayleigh_support() Object type: Scalar function Returns the support of the Rayleigh distribution as [min, max].
dist_rayleigh_variance() Object type: Scalar function Returns the variance of the Rayleigh distribution.
Skew Normal
dist_skew_normal_cdf() Object type: Scalar function Computes the cumulative distribution function (CDF) of the skew normal distribution, P(X <= x).
dist_skew_normal_cdf_complement() Object type: Scalar function Computes the complementary cumulative distribution function (survival function) of the skew normal distribution, P(X > x).
dist_skew_normal_chf() Object type: Scalar function Computes the cumulative hazard function of the skew normal distribution at x.
dist_skew_normal_hazard() Object type: Scalar function Computes the hazard function of the skew normal distribution at x.
dist_skew_normal_ks_test() Object type: Aggregate function One-sample Kolmogorov-Smirnov test of whether x follows the skew normal distribution with the given parameters.
dist_skew_normal_kurtosis() Object type: Scalar function Returns the kurtosis of the skew normal distribution.
dist_skew_normal_kurtosis_excess() Object type: Scalar function Returns the excess kurtosis of the skew normal distribution.
dist_skew_normal_log_cdf() Object type: Scalar function Computes the natural logarithm of the cumulative distribution function (CDF) of the skew normal distribution.
dist_skew_normal_log_cdf_complement() Object type: Scalar function Computes the natural logarithm of the survival function of the skew normal distribution, log P(X > x).
dist_skew_normal_log_pdf() Object type: Scalar function Computes the natural logarithm of the probability density function (PDF) of the skew normal distribution at x.
dist_skew_normal_mean() Object type: Scalar function Returns the mean of the skew normal distribution.
dist_skew_normal_median() Object type: Scalar function Returns the median of the skew normal distribution.
dist_skew_normal_mode() Object type: Scalar function Returns the mode (most likely value) of the skew normal distribution.
dist_skew_normal_pdf() Object type: Scalar function Computes the probability density function (PDF) of the skew normal distribution at x.
dist_skew_normal_quantile() Object type: Scalar function Computes the quantile function (inverse CDF) of the skew normal distribution.
dist_skew_normal_quantile_complement() Object type: Scalar function Computes the complementary quantile function of the skew normal distribution.
dist_skew_normal_range() Object type: Scalar function Returns the range of the skew normal distribution as [min, max].
dist_skew_normal_sample() Object type: Scalar function Generates a random sample from the skew normal distribution with the specified parameters.
dist_skew_normal_samples() Object type: Scalar function Generates a list of n random samples from the skew normal distribution with the specified parameters.
dist_skew_normal_skewness() Object type: Scalar function Returns the skewness of the skew normal distribution.
dist_skew_normal_stddev() Object type: Scalar function Returns the standard deviation of the skew normal distribution.
dist_skew_normal_support() Object type: Scalar function Returns the support of the skew normal distribution as [min, max].
dist_skew_normal_variance() Object type: Scalar function Returns the variance of the skew normal distribution.
Student's t
dist_students_t_cdf() Object type: Scalar function Computes the cumulative distribution function (CDF) of the Student's t distribution, P(X <= x).
dist_students_t_cdf_complement() Object type: Scalar function Computes the complementary cumulative distribution function (survival function) of the Student's t distribution, P(X > x).
dist_students_t_chf() Object type: Scalar function Computes the cumulative hazard function of the Student's t distribution at x.
dist_students_t_fit() Object type: Aggregate function Fits a standard Student's t distribution to x by maximum likelihood (golden section search).
dist_students_t_hazard() Object type: Scalar function Computes the hazard function of the Student's t distribution at x.
dist_students_t_ks_test() Object type: Aggregate function One-sample Kolmogorov-Smirnov test of whether x follows the Student's t distribution with the given parameters.
dist_students_t_kurtosis() Object type: Scalar function Returns the kurtosis of the Student's t distribution.
dist_students_t_kurtosis_excess() Object type: Scalar function Returns the excess kurtosis of the Student's t distribution.
dist_students_t_log_cdf() Object type: Scalar function Computes the natural logarithm of the cumulative distribution function (CDF) of the Student's t distribution.
dist_students_t_log_cdf_complement() Object type: Scalar function Computes the natural logarithm of the survival function of the Student's t distribution, log P(X > x).
dist_students_t_log_pdf() Object type: Scalar function Computes the natural logarithm of the probability density function (PDF) of the Student's t distribution at x.
dist_students_t_mean() Object type: Scalar function Returns the mean of the Student's t distribution.
dist_students_t_median() Object type: Scalar function Returns the median of the Student's t distribution.
dist_students_t_mode() Object type: Scalar function Returns the mode (most likely value) of the Student's t distribution.
dist_students_t_pdf() Object type: Scalar function Computes the probability density function (PDF) of the Student's t distribution at x.
dist_students_t_quantile() Object type: Scalar function Computes the quantile function (inverse CDF) of the Student's t distribution.
dist_students_t_quantile_complement() Object type: Scalar function Computes the complementary quantile function of the Student's t distribution.
dist_students_t_range() Object type: Scalar function Returns the range of the Student's t distribution as [min, max].
dist_students_t_sample() Object type: Scalar function Generates a random sample from the Student's t distribution with the specified parameters.
dist_students_t_samples() Object type: Scalar function Generates a list of n random samples from the Student's t distribution with the specified parameters.
dist_students_t_skewness() Object type: Scalar function Returns the skewness of the Student's t distribution.
dist_students_t_stddev() Object type: Scalar function Returns the standard deviation of the Student's t distribution.
dist_students_t_support() Object type: Scalar function Returns the support of the Student's t distribution as [min, max].
dist_students_t_variance() Object type: Scalar function Returns the variance of the Student's t distribution.
Triangular
dist_triangular_cdf() Object type: Scalar function Computes the cumulative distribution function (CDF) of the triangular distribution, P(X <= x).
dist_triangular_cdf_complement() Object type: Scalar function Computes the complementary cumulative distribution function (survival function) of the triangular distribution, P(X > x).
dist_triangular_chf() Object type: Scalar function Computes the cumulative hazard function of the triangular distribution at x.
dist_triangular_hazard() Object type: Scalar function Computes the hazard function of the triangular distribution at x.
dist_triangular_ks_test() Object type: Aggregate function One-sample Kolmogorov-Smirnov test of whether x follows the triangular distribution with the given parameters.
dist_triangular_kurtosis() Object type: Scalar function Returns the kurtosis of the triangular distribution.
dist_triangular_kurtosis_excess() Object type: Scalar function Returns the excess kurtosis of the triangular distribution.
dist_triangular_log_cdf() Object type: Scalar function Computes the natural logarithm of the cumulative distribution function (CDF) of the triangular distribution.
dist_triangular_log_cdf_complement() Object type: Scalar function Computes the natural logarithm of the survival function of the triangular distribution, log P(X > x).
dist_triangular_log_pdf() Object type: Scalar function Computes the natural logarithm of the probability density function (PDF) of the triangular distribution at x.
dist_triangular_mean() Object type: Scalar function Returns the mean of the triangular distribution.
dist_triangular_median() Object type: Scalar function Returns the median of the triangular distribution.
dist_triangular_mode() Object type: Scalar function Returns the mode (most likely value) of the triangular distribution.
dist_triangular_pdf() Object type: Scalar function Computes the probability density function (PDF) of the triangular distribution at x.
dist_triangular_quantile() Object type: Scalar function Computes the quantile function (inverse CDF) of the triangular distribution.
dist_triangular_quantile_complement() Object type: Scalar function Computes the complementary quantile function of the triangular distribution.
dist_triangular_range() Object type: Scalar function Returns the range of the triangular distribution as [min, max].
dist_triangular_sample() Object type: Scalar function Generates a random sample from the triangular distribution with the specified parameters.
dist_triangular_samples() Object type: Scalar function Generates a list of n random samples from the triangular distribution with the specified parameters.
dist_triangular_skewness() Object type: Scalar function Returns the skewness of the triangular distribution.
dist_triangular_stddev() Object type: Scalar function Returns the standard deviation of the triangular distribution.
dist_triangular_support() Object type: Scalar function Returns the support of the triangular distribution as [min, max].
dist_triangular_variance() Object type: Scalar function Returns the variance of the triangular distribution.
Uniform (Integer)
dist_uniform_int_cdf() Object type: Scalar function P(X <= x) for the inclusive integer support [min, max].
dist_uniform_int_cdf_complement() Object type: Scalar function P(X > x) for the inclusive integer support, computed directly for the upper tail.
dist_uniform_int_chf() Object type: Scalar function Cumulative hazard -ln(P(X > x)).
dist_uniform_int_hazard() Object type: Scalar function Discrete hazard P(X = x) / P(X >= x).
dist_uniform_int_kurtosis() Object type: Scalar function Kurtosis of the inclusive discrete uniform distribution.
dist_uniform_int_kurtosis_excess() Object type: Scalar function Excess kurtosis of the inclusive discrete uniform distribution.
dist_uniform_int_log_cdf() Object type: Scalar function Computes the natural logarithm of the cumulative distribution function (CDF) of the discrete uniform distribution.
dist_uniform_int_log_cdf_complement() Object type: Scalar function Computes the natural logarithm of the survival function of the discrete uniform distribution, log P(X > x).
dist_uniform_int_log_pdf() Object type: Scalar function Natural logarithm of the discrete probability mass.
dist_uniform_int_log_pmf() Object type: Scalar function Computes the natural logarithm of the probability mass function (PMF) of the discrete uniform distribution.
dist_uniform_int_mean() Object type: Scalar function Mean of the inclusive discrete uniform distribution: (min + max) / 2, returned as DOUBLE.
dist_uniform_int_median() Object type: Scalar function Midpoint (min + max) / 2, returned as DOUBLE.
dist_uniform_int_mode() Object type: Scalar function Returns min as a representative mode.
dist_uniform_int_pdf() Object type: Scalar function Probability mass P(X = x) on the inclusive integer support [min, max]: 1 / (max - min + 1) inside the support and 0 outside.
dist_uniform_int_pmf() Object type: Scalar function Computes the probability mass function (PMF) of the discrete uniform distribution, P(X = x) on the inclusive integer support [min, max].
dist_uniform_int_quantile() Object type: Scalar function Smallest supported integer whose CDF is at least p.
dist_uniform_int_quantile_complement() Object type: Scalar function Smallest supported integer whose upper-tail probability P(X > x) is at most p.
dist_uniform_int_range() Object type: Scalar function Returns the range of the discrete uniform distribution as [min, max].
dist_uniform_int_sample() Object type: Scalar function Generates a random sample from the discrete uniform distribution with the specified parameters.
dist_uniform_int_samples() Object type: Scalar function Generates a list of n random samples from the discrete uniform distribution with the specified parameters.
dist_uniform_int_skewness() Object type: Scalar function Returns 0 for a nondegenerate discrete uniform distribution.
dist_uniform_int_stddev() Object type: Scalar function Square root of the discrete uniform variance, returned as DOUBLE.
dist_uniform_int_support() Object type: Scalar function Returns the support of the discrete uniform distribution as [min, max].
dist_uniform_int_variance() Object type: Scalar function Variance of the inclusive discrete uniform distribution: ((max - min + 1)^2 - 1) / 12, returned as DOUBLE.
Uniform (Real)
dist_uniform_real_cdf() Object type: Scalar function Computes the cumulative distribution function (CDF) of the continuous uniform distribution, P(X <= x).
dist_uniform_real_cdf_complement() Object type: Scalar function Computes the complementary cumulative distribution function (survival function) of the continuous uniform distribution, P(X > x).
dist_uniform_real_chf() Object type: Scalar function Computes the cumulative hazard function of the continuous uniform distribution at x.
dist_uniform_real_fit() Object type: Aggregate function Fits a continuous uniform distribution to x by maximum likelihood (the sample minimum and maximum).
dist_uniform_real_hazard() Object type: Scalar function Computes the hazard function of the continuous uniform distribution at x.
dist_uniform_real_ks_test() Object type: Aggregate function One-sample Kolmogorov-Smirnov test of whether x follows the continuous uniform distribution with the given parameters.
dist_uniform_real_kurtosis() Object type: Scalar function Returns the kurtosis of the continuous uniform distribution.
dist_uniform_real_kurtosis_excess() Object type: Scalar function Returns the excess kurtosis of the continuous uniform distribution.
dist_uniform_real_log_cdf() Object type: Scalar function Computes the natural logarithm of the cumulative distribution function (CDF) of the continuous uniform distribution.
dist_uniform_real_log_cdf_complement() Object type: Scalar function Computes the natural logarithm of the survival function of the continuous uniform distribution, log P(X > x).
dist_uniform_real_log_pdf() Object type: Scalar function Computes the natural logarithm of the probability density function (PDF) of the continuous uniform distribution at x.
dist_uniform_real_mean() Object type: Scalar function Returns the mean of the continuous uniform distribution.
dist_uniform_real_median() Object type: Scalar function Returns the median of the continuous uniform distribution.
dist_uniform_real_mode() Object type: Scalar function Returns the mode (most likely value) of the continuous uniform distribution.
dist_uniform_real_pdf() Object type: Scalar function Computes the probability density function (PDF) of the continuous uniform distribution at x.
dist_uniform_real_quantile() Object type: Scalar function Computes the quantile function (inverse CDF) of the continuous uniform distribution.
dist_uniform_real_quantile_complement() Object type: Scalar function Computes the complementary quantile function of the continuous uniform distribution.
dist_uniform_real_range() Object type: Scalar function Returns the range of the continuous uniform distribution as [min, max].
dist_uniform_real_sample() Object type: Scalar function Generates a random sample from the continuous uniform distribution with the specified parameters.
dist_uniform_real_samples() Object type: Scalar function Generates a list of n random samples from the continuous uniform distribution with the specified parameters.
dist_uniform_real_skewness() Object type: Scalar function Returns the skewness of the continuous uniform distribution.
dist_uniform_real_stddev() Object type: Scalar function Returns the standard deviation of the continuous uniform distribution.
dist_uniform_real_support() Object type: Scalar function Returns the support of the continuous uniform distribution as [min, max].
dist_uniform_real_variance() Object type: Scalar function Returns the variance of the continuous uniform distribution.
Weibull
dist_weibull_cdf() Object type: Scalar function Computes the cumulative distribution function (CDF) of the Weibull distribution, P(X <= x).
dist_weibull_cdf_complement() Object type: Scalar function Computes the complementary cumulative distribution function (survival function) of the Weibull distribution, P(X > x).
dist_weibull_chf() Object type: Scalar function Computes the cumulative hazard function of the Weibull distribution at x.
dist_weibull_fit() Object type: Aggregate function Fits a Weibull distribution to x by maximum likelihood (Newton's method).
dist_weibull_hazard() Object type: Scalar function Computes the hazard function of the Weibull distribution at x.
dist_weibull_ks_test() Object type: Aggregate function One-sample Kolmogorov-Smirnov test of whether x follows the Weibull distribution with the given parameters.
dist_weibull_kurtosis() Object type: Scalar function Returns the kurtosis of the Weibull distribution.
dist_weibull_kurtosis_excess() Object type: Scalar function Returns the excess kurtosis of the Weibull distribution.
dist_weibull_log_cdf() Object type: Scalar function Computes the natural logarithm of the cumulative distribution function (CDF) of the Weibull distribution.
dist_weibull_log_cdf_complement() Object type: Scalar function Computes the natural logarithm of the survival function of the Weibull distribution, log P(X > x).
dist_weibull_log_pdf() Object type: Scalar function Computes the natural logarithm of the probability density function (PDF) of the Weibull distribution at x.
dist_weibull_mean() Object type: Scalar function Returns the mean of the Weibull distribution.
dist_weibull_median() Object type: Scalar function Returns the median of the Weibull distribution.
dist_weibull_mode() Object type: Scalar function Returns the mode (most likely value) of the Weibull distribution.
dist_weibull_pdf() Object type: Scalar function Computes the probability density function (PDF) of the Weibull distribution at x.
dist_weibull_quantile() Object type: Scalar function Computes the quantile function (inverse CDF) of the Weibull distribution.
dist_weibull_quantile_complement() Object type: Scalar function Computes the complementary quantile function of the Weibull distribution.
dist_weibull_range() Object type: Scalar function Returns the range of the Weibull distribution as [min, max].
dist_weibull_sample() Object type: Scalar function Generates a random sample from the Weibull distribution with the specified parameters.
dist_weibull_samples() Object type: Scalar function Generates a list of n random samples from the Weibull distribution with the specified parameters.
dist_weibull_skewness() Object type: Scalar function Returns the skewness of the Weibull distribution.
dist_weibull_stddev() Object type: Scalar function Returns the standard deviation of the Weibull distribution.
dist_weibull_support() Object type: Scalar function Returns the support of the Weibull distribution as [min, max].
dist_weibull_variance() Object type: Scalar function Returns the variance of the Weibull distribution.

API Reference

Function Reference

Practical Examples

Cookbook

Real-world recipes and patterns for common use cases.

Platform Support

Compatibility

Extension availability may vary by platform and DuckDB version. Check below to ensure this extension supports your environment before installation.

Quick Facts

Release status Stable
Software License MIT
Pricing Free
Written In C++
Source Available Yes
View on GitHub
Usage
3,110,312
loads · last 90 days

Platforms

DuckDB 2.0.0

  • Linux x86_64aarch64
  • Linux (musl) Not available
  • macOS Apple Silicon
  • Windows x86_64x86_64 (MinGW)
  • WASM Not available
Compiled binary sizes
Platform Architecture Size
Linux x86_64 5.83 MB
Linux aarch64 4.87 MB
macOS Apple Silicon 4.77 MB
Windows x86_64 11.46 MB
Windows x86_64 (MinGW) 19.64 MB

Compressed download sizes for the release shown above.

DuckDB & Haybarn

Release calendar
  • DuckDB v2.0.0 Query.Farm repository Supported
  • Haybarn v1.5.6 Built-in community repository Supported

Browser examples use Haybarn-Wasm 2.0.0-rc12.

Checked .