# Probability Distributions as S3 Objects

## Documentation for package ‘distributions3’ version 0.2.1

- DESCRIPTION file.
- Package NEWS.

## Help Pages

A B C D E F G H I K L M N P Q R S T U V W Z

## -- A --

apply_dpqr | Utilities for 'distributions3' objects

## -- B --

Bernoulli | Create a Bernoulli distribution
Beta | Create a Beta distribution
Binomial | Create a Binomial distribution

## -- C --

Categorical | Create a Categorical distribution
Cauchy | Create a Cauchy distribution
cdf | Evaluate the cumulative distribution function of a probability distribution
cdf.Bernoulli | Evaluate the cumulative distribution function of a Bernoulli distribution
cdf.Beta | Evaluate the cumulative distribution function of a Beta distribution
cdf.Binomial | Evaluate the cumulative distribution function of a Binomial distribution
cdf.Categorical | Evaluate the cumulative distribution function of a Categorical distribution
cdf.Cauchy | Evaluate the cumulative distribution function of a Cauchy distribution
cdf.ChiSquare | Evaluate the cumulative distribution function of a chi square distribution
cdf.Erlang | Evaluate the cumulative distribution function of an Erlang distribution
cdf.Exponential | Evaluate the cumulative distribution function of an Exponential distribution
cdf.FisherF | Evaluate the cumulative distribution function of an F distribution
cdf.Frechet | Evaluate the cumulative distribution function of a Frechet distribution
cdf.Gamma | Evaluate the cumulative distribution function of a Gamma distribution
cdf.Geometric | Evaluate the cumulative distribution function of a Geometric distribution
cdf.GEV | Evaluate the cumulative distribution function of a GEV distribution
cdf.GP | Evaluate the cumulative distribution function of a GP distribution
cdf.Gumbel | Evaluate the cumulative distribution function of a Gumbel distribution
cdf.HurdleNegativeBinomial | Evaluate the cumulative distribution function of a hurdle negative binomial distribution
cdf.HurdlePoisson | Evaluate the cumulative distribution function of a hurdle Poisson distribution
cdf.HyperGeometric | Evaluate the cumulative distribution function of a HyperGeometric distribution
cdf.Logistic | Evaluate the cumulative distribution function of a Logistic distribution
cdf.LogNormal | Evaluate the cumulative distribution function of a LogNormal distribution
cdf.NegativeBinomial | Evaluate the cumulative distribution function of a negative binomial distribution
cdf.Normal | Evaluate the cumulative distribution function of a Normal distribution
cdf.Poisson | Evaluate the cumulative distribution function of a Poisson distribution
cdf.RevWeibull | Evaluate the cumulative distribution function of an RevWeibull distribution
cdf.StudentsT | Evaluate the cumulative distribution function of a StudentsT distribution
cdf.Tukey | Evaluate the cumulative distribution function of a Tukey distribution
cdf.Uniform | Evaluate the cumulative distribution function of a continuous Uniform distribution
cdf.Weibull | Evaluate the cumulative distribution function of a Weibull distribution
cdf.ZINegativeBinomial | Evaluate the cumulative distribution function of a zero-inflated negative binomial distribution
cdf.ZIPoisson | Evaluate the cumulative distribution function of a zero-inflated Poisson distribution
cdf.ZTNegativeBinomial | Evaluate the cumulative distribution function of a zero-truncated negative binomial distribution
cdf.ZTPoisson | Evaluate the cumulative distribution function of a zero-truncated Poisson distribution
ChiSquare | Create a Chi-Square distribution

## -- D --

dhnbinom | The hurdle negative binomial distribution
dhpois | The hurdle Poisson distribution
dzinbinom | The zero-inflated negative binomial distribution
dzipois | The zero-inflated Poisson distribution
dztnbinom | The zero-truncated negative binomial distribution
dztpois | The zero-truncated Poisson distribution

## -- E --

Erlang | Create an Erlang distribution
Exponential | Create an Exponential distribution

## -- F --

FIFA2018 | Goals scored in all 2018 FIFA World Cup matches
FisherF | Create an F distribution
fit_mle | Fit a distribution to data
fit_mle.Bernoulli | Fit a Bernoulli distribution to data
fit_mle.Binomial | Fit a Binomial distribution to data
fit_mle.Exponential | Fit an Exponential distribution to data
fit_mle.Gamma | Fit a Gamma distribution to data
fit_mle.Geometric | Fit a Geometric distribution to data
fit_mle.LogNormal | Fit a Log Normal distribution to data
fit_mle.Normal | Fit a Normal distribution to data
fit_mle.Poisson | Fit an Poisson distribution to data
Frechet | Create a Frechet distribution

## -- G --

Gamma | Create a Gamma distribution
GeomAuc | Fill out area under the curve for a plotted PDF
Geometric | Create a Geometric distribution
geom_auc | Fill out area under the curve for a plotted PDF
GEV | Create a Generalised Extreme Value (GEV) distribution
GP | Create a Generalised Pareto (GP) distribution
Gumbel | Create a Gumbel distribution

## -- H --

HurdleNegativeBinomial | Create a hurdle negative binomial distribution
HurdlePoisson | Create a hurdle Poisson distribution
HyperGeometric | Create a HyperGeometric distribution

## -- I --

is_continuous | Determine whether a distribution is discrete or continuous
is_discrete | Determine whether a distribution is discrete or continuous
is_distribution | Is an object a distribution?

## -- K --

kurtosis | Compute the moments of a probability distribution

## -- L --

likelihood | Compute the (log-)likelihood of a probability distribution given data
Logistic | Create a Logistic distribution
LogNormal | Create a LogNormal distribution
log_likelihood | Compute the (log-)likelihood of a probability distribution given data
log_pdf | Evaluate the probability density of a probability distribution
log_pdf.Bernoulli | Evaluate the probability mass function of a Bernoulli distribution
log_pdf.Beta | Evaluate the probability mass function of a Beta distribution
log_pdf.Binomial | Evaluate the probability mass function of a Binomial distribution
log_pdf.Categorical | Evaluate the probability mass function of a Categorical discrete distribution
log_pdf.Cauchy | Evaluate the probability mass function of a Cauchy distribution
log_pdf.ChiSquare | Evaluate the probability mass function of a chi square distribution
log_pdf.Erlang | Evaluate the probability mass function of an Erlang distribution
log_pdf.Exponential | Evaluate the probability density function of an Exponential distribution
log_pdf.FisherF | Evaluate the probability mass function of an F distribution
log_pdf.Frechet | Evaluate the probability mass function of a Frechet distribution
log_pdf.Gamma | Evaluate the probability mass function of a Gamma distribution
log_pdf.Geometric | Evaluate the probability mass function of a Geometric distribution
log_pdf.GEV | Evaluate the probability mass function of a GEV distribution
log_pdf.GP | Evaluate the probability mass function of a GP distribution
log_pdf.Gumbel | Evaluate the probability mass function of a Gumbel distribution
log_pdf.HurdleNegativeBinomial | Evaluate the probability mass function of a hurdle negative binomial distribution
log_pdf.HurdlePoisson | Evaluate the probability mass function of a hurdle Poisson distribution
log_pdf.HyperGeometric | Evaluate the probability mass function of a HyperGeometric distribution
log_pdf.Logistic | Evaluate the probability mass function of a Logistic distribution
log_pdf.LogNormal | Evaluate the probability mass function of a LogNormal distribution
log_pdf.Multinomial | Evaluate the probability mass function of a Multinomial distribution
log_pdf.NegativeBinomial | Evaluate the probability mass function of a NegativeBinomial distribution
log_pdf.Normal | Evaluate the probability mass function of a Normal distribution
log_pdf.Poisson | Evaluate the probability mass function of a Poisson distribution
log_pdf.RevWeibull | Evaluate the probability mass function of an RevWeibull distribution
log_pdf.StudentsT | Evaluate the probability mass function of a StudentsT distribution
log_pdf.Uniform | Evaluate the probability mass function of a continuous Uniform distribution
log_pdf.Weibull | Evaluate the probability mass function of a Weibull distribution
log_pdf.ZINegativeBinomial | Evaluate the probability mass function of a zero-inflated negative binomial distribution
log_pdf.ZIPoisson | Evaluate the probability mass function of a zero-inflated Poisson distribution
log_pdf.ZTNegativeBinomial | Evaluate the probability mass function of a zero-truncated negative binomial distribution
log_pdf.ZTPoisson | Evaluate the probability mass function of a zero-truncated Poisson distribution

## -- M --

make_positive_integer | Utilities for 'distributions3' objects
make_support | Utilities for 'distributions3' objects
Multinomial | Create a Multinomial distribution

## -- N --

NegativeBinomial | Create a negative binomial distribution
Normal | Create a Normal distribution

## -- P --

pdf | Evaluate the probability density of a probability distribution
pdf.Bernoulli | Evaluate the probability mass function of a Bernoulli distribution
pdf.Beta | Evaluate the probability mass function of a Beta distribution
pdf.Binomial | Evaluate the probability mass function of a Binomial distribution
pdf.Categorical | Evaluate the probability mass function of a Categorical discrete distribution
pdf.Cauchy | Evaluate the probability mass function of a Cauchy distribution
pdf.ChiSquare | Evaluate the probability mass function of a chi square distribution
pdf.Erlang | Evaluate the probability mass function of an Erlang distribution
pdf.Exponential | Evaluate the probability density function of an Exponential distribution
pdf.FisherF | Evaluate the probability mass function of an F distribution
pdf.Frechet | Evaluate the probability mass function of a Frechet distribution
pdf.Gamma | Evaluate the probability mass function of a Gamma distribution
pdf.Geometric | Evaluate the probability mass function of a Geometric distribution
pdf.GEV | Evaluate the probability mass function of a GEV distribution
pdf.GP | Evaluate the probability mass function of a GP distribution
pdf.Gumbel | Evaluate the probability mass function of a Gumbel distribution
pdf.HurdleNegativeBinomial | Evaluate the probability mass function of a hurdle negative binomial distribution
pdf.HurdlePoisson | Evaluate the probability mass function of a hurdle Poisson distribution
pdf.HyperGeometric | Evaluate the probability mass function of a HyperGeometric distribution
pdf.Logistic | Evaluate the probability mass function of a Logistic distribution
pdf.LogNormal | Evaluate the probability mass function of a LogNormal distribution
pdf.Multinomial | Evaluate the probability mass function of a Multinomial distribution
pdf.NegativeBinomial | Evaluate the probability mass function of a NegativeBinomial distribution
pdf.Normal | Evaluate the probability mass function of a Normal distribution
pdf.Poisson | Evaluate the probability mass function of a Poisson distribution
pdf.RevWeibull | Evaluate the probability mass function of an RevWeibull distribution
pdf.StudentsT | Evaluate the probability mass function of a StudentsT distribution
pdf.Uniform | Evaluate the probability mass function of a continuous Uniform distribution
pdf.Weibull | Evaluate the probability mass function of a Weibull distribution
pdf.ZINegativeBinomial | Evaluate the probability mass function of a zero-inflated negative binomial distribution
pdf.ZIPoisson | Evaluate the probability mass function of a zero-inflated Poisson distribution
pdf.ZTNegativeBinomial | Evaluate the probability mass function of a zero-truncated negative binomial distribution
pdf.ZTPoisson | Evaluate the probability mass function of a zero-truncated Poisson distribution
phnbinom | The hurdle negative binomial distribution
phpois | The hurdle Poisson distribution
plot.distribution | Plot the p.m.f, p.d.f or c.d.f. of a univariate distribution
plot_cdf | Plot the CDF of a distribution
plot_pdf | Plot the PDF of a distribution
pmf | Evaluate the probability density of a probability distribution
Poisson | Create a Poisson distribution
prodist | Extracting fitted or predicted probability distributions from models
prodist.Arima | Extracting fitted or predicted probability distributions from models
prodist.glm | Extracting fitted or predicted probability distributions from models
prodist.hurdle | Extracting fitted or predicted probability distributions from models
prodist.lm | Extracting fitted or predicted probability distributions from models
prodist.negbin | Extracting fitted or predicted probability distributions from models
prodist.zeroinfl | Extracting fitted or predicted probability distributions from models
prodist.zerotrunc | Extracting fitted or predicted probability distributions from models
pzinbinom | The zero-inflated negative binomial distribution
pzipois | The zero-inflated Poisson distribution
pztnbinom | The zero-truncated negative binomial distribution
pztpois | The zero-truncated Poisson distribution

## -- Q --

qhnbinom | The hurdle negative binomial distribution
qhpois | The hurdle Poisson distribution
quantile.Bernoulli | Determine quantiles of a Bernoulli distribution
quantile.Beta | Determine quantiles of a Beta distribution
quantile.Binomial | Determine quantiles of a Binomial distribution
quantile.Categorical | Determine quantiles of a Categorical discrete distribution
quantile.Cauchy | Determine quantiles of a Cauchy distribution
quantile.ChiSquare | Determine quantiles of a chi square distribution
quantile.Erlang | Determine quantiles of an Erlang distribution
quantile.Exponential | Determine quantiles of an Exponential distribution
quantile.FisherF | Determine quantiles of an F distribution
quantile.Frechet | Determine quantiles of a Frechet distribution
quantile.Gamma | Determine quantiles of a Gamma distribution
quantile.Geometric | Determine quantiles of a Geometric distribution
quantile.GEV | Determine quantiles of a GEV distribution
quantile.GP | Determine quantiles of a GP distribution
quantile.Gumbel | Determine quantiles of a Gumbel distribution
quantile.HurdleNegativeBinomial | Determine quantiles of a hurdle negative binomial distribution
quantile.HurdlePoisson | Determine quantiles of a hurdle Poisson distribution
quantile.HyperGeometric | Determine quantiles of a HyperGeometric distribution
quantile.Logistic | Determine quantiles of a Logistic distribution
quantile.LogNormal | Determine quantiles of a LogNormal distribution
quantile.NegativeBinomial | Determine quantiles of a NegativeBinomial distribution
quantile.Normal | Determine quantiles of a Normal distribution
quantile.Poisson | Determine quantiles of a Poisson distribution
quantile.RevWeibull | Determine quantiles of a RevWeibull distribution
quantile.StudentsT | Determine quantiles of a StudentsT distribution
quantile.Tukey | Determine quantiles of a Tukey distribution
quantile.Uniform | Determine quantiles of a continuous Uniform distribution
quantile.Weibull | Determine quantiles of a Weibull distribution
quantile.ZINegativeBinomial | Determine quantiles of a zero-inflated negative binomial distribution
quantile.ZIPoisson | Determine quantiles of a zero-inflated Poisson distribution
quantile.ZTNegativeBinomial | Determine quantiles of a zero-truncated negative binomial distribution
quantile.ZTPoisson | Determine quantiles of a zero-truncated Poisson distribution
qzinbinom | The zero-inflated negative binomial distribution
qzipois | The zero-inflated Poisson distribution
qztnbinom | The zero-truncated negative binomial distribution
qztpois | The zero-truncated Poisson distribution

## -- R --

random | Draw a random sample from a probability distribution
random.Bernoulli | Draw a random sample from a Bernoulli distribution
random.Beta | Draw a random sample from a Beta distribution
random.Binomial | Draw a random sample from a Binomial distribution
random.Categorical | Draw a random sample from a Categorical distribution
random.Cauchy | Draw a random sample from a Cauchy distribution
random.ChiSquare | Draw a random sample from a chi square distribution
random.Erlang | Draw a random sample from an Erlang distribution
random.Exponential | Draw a random sample from an Exponential distribution
random.FisherF | Draw a random sample from an F distribution
random.Frechet | Draw a random sample from a Frechet distribution
random.Gamma | Draw a random sample from a Gamma distribution
random.Geometric | Draw a random sample from a Geometric distribution
random.GEV | Draw a random sample from a GEV distribution
random.GP | Draw a random sample from a GP distribution
random.Gumbel | Draw a random sample from a Gumbel distribution
random.HurdleNegativeBinomial | Draw a random sample from a hurdle negative binomial distribution
random.HurdlePoisson | Draw a random sample from a hurdle Poisson distribution
random.HyperGeometric | Draw a random sample from a HyperGeometric distribution
random.Logistic | Draw a random sample from a Logistic distribution
random.LogNormal | Draw a random sample from a LogNormal distribution
random.Multinomial | Draw a random sample from a Multinomial distribution
random.NegativeBinomial | Draw a random sample from a negative binomial distribution
random.Normal | Draw a random sample from a Normal distribution
random.Poisson | Draw a random sample from a Poisson distribution
random.RevWeibull | Draw a random sample from an RevWeibull distribution
random.StudentsT | Draw a random sample from a StudentsT distribution
random.Tukey | Draw a random sample from a Tukey distribution
random.Uniform | Draw a random sample from a continuous Uniform distribution
random.Weibull | Draw a random sample from a Weibull distribution
random.ZINegativeBinomial | Draw a random sample from a zero-inflated negative binomial distribution
random.ZIPoisson | Draw a random sample from a zero-inflated Poisson distribution
random.ZTNegativeBinomial | Draw a random sample from a zero-truncated negative binomial distribution
random.ZTPoisson | Draw a random sample from a zero-truncated Poisson distribution
RevWeibull | Create a reversed Weibull distribution
rhnbinom | The hurdle negative binomial distribution
rhpois | The hurdle Poisson distribution
rzinbinom | The zero-inflated negative binomial distribution
rzipois | The zero-inflated Poisson distribution
rztnbinom | The zero-truncated negative binomial distribution
rztpois | The zero-truncated Poisson distribution

## -- S --

simulate.distribution | Draw a random sample from a probability distribution
skewness | Compute the moments of a probability distribution
StatAuc | Fill out area under the curve for a plotted PDF
stat_auc | Fill out area under the curve for a plotted PDF
StudentsT | Create a Student's T distribution
suff_stat | Compute the sufficient statistics of a distribution from data
suff_stat.Bernoulli | Compute the sufficient statistics for a Bernoulli distribution from data
suff_stat.Binomial | Compute the sufficient statistics for the Binomial distribution from data
suff_stat.Exponential | Compute the sufficient statistics of an Exponential distribution from data
suff_stat.Gamma | Compute the sufficient statistics for a Gamma distribution from data
suff_stat.Geometric | Compute the sufficient statistics for the Geometric distribution from data
suff_stat.LogNormal | Compute the sufficient statistics for a Log-normal distribution from data
suff_stat.Normal | Compute the sufficient statistics for a Normal distribution from data
suff_stat.Poisson | Compute the sufficient statistics of an Poisson distribution from data
support | Return the support of a distribution
support.Bernoulli | Return the support of the Bernoulli distribution
support.Beta | Return the support of the Beta distribution
support.Binomial | Return the support of the Binomial distribution
support.Cauchy | Return the support of the Cauchy distribution
support.ChiSquare | Return the support of the ChiSquare distribution
support.Erlang | Return the support of the Erlang distribution
support.Exponential | Return the support of the Exponential distribution
support.FisherF | Return the support of the FisherF distribution
support.Frechet | Return the support of the Frechet distribution
support.Gamma | Return the support of the Gamma distribution
support.Geometric | Return the support of the Geometric distribution
support.GEV | Return the support of a GEV distribution
support.GP | Return the support of the GP distribution
support.Gumbel | Return the support of the Gumbel distribution
support.HurdleNegativeBinomial | Return the support of the hurdle negative binomial distribution
support.HurdlePoisson | Return the support of the hurdle Poisson distribution
support.HyperGeometric | Return the support of the HyperGeometric distribution
support.Logistic | Return the support of the Logistic distribution
support.LogNormal | Return the support of the LogNormal distribution
support.NegativeBinomial | Return the support of the NegativeBinomial distribution
support.Normal | Return the support of the Normal distribution
support.Poisson | Return the support of the Poisson distribution
support.RevWeibull | Return the support of the RevWeibull distribution
support.StudentsT | Return the support of the StudentsT distribution
support.Tukey | Return the support of the Tukey distribution
support.Uniform | Return the support of the Uniform distribution
support.Weibull | Return the support of the Weibull distribution
support.ZINegativeBinomial | Return the support of the zero-inflated negative binomial distribution
support.ZIPoisson | Return the support of the zero-inflated Poisson distribution
support.ZTNegativeBinomial | Return the support of the zero-truncated negative binomial distribution
support.ZTPoisson | Return the support of the zero-truncated Poisson distribution

## -- T --

Tukey | Create a Tukey distribution

## -- U --

Uniform | Create a Continuous Uniform distribution

## -- V --

variance | Compute the moments of a probability distribution

## -- W --

Weibull | Create a Weibull distribution

## -- Z --

ZINegativeBinomial | Create a zero-inflated negative binomial distribution
ZIPoisson | Create a zero-inflated Poisson distribution
ZTNegativeBinomial | Create a zero-truncated negative binomial distribution
ZTPoisson | Create a zero-truncated Poisson distribution