| Title: | What the Package Does (Title Case) |
|---|---|
| Description: | More about what it does (maybe more than one line) Use four spaces when indenting paragraphs within the Description. |
| Authors: | Who wrote it |
| Maintainer: | The package maintainer <[email protected]> |
| License: | What license is it under? |
| Version: | 1.0.0 |
| Built: | 2026-11-13 19:00:31 UTC |
| Source: | https://github.com/tfojo1/distributions |
Creates a distribution where all the variables, after arbitrary transformations, follow a normal distribution with a Continuous Autoregressive 1 (CAR-1) correlation structure
Autoregressive.Multivariate.Normal.Distribution( rho, times, mu = 0, sds = 1, lower = -Inf, upper = Inf, var.names = NULL, transformations = NULL )Autoregressive.Multivariate.Normal.Distribution( rho, times, mu = 0, sds = 1, lower = -Inf, upper = Inf, var.names = NULL, transformations = NULL )
rho |
The autoregressive correlation coefficient |
times |
The times for each observation in the distribution. The correlation between any two observations at times t1 and t2 is rho^(abs(t1-t2)) |
mu, sds
|
The mean and standard deviation vectors. If given a scalar value, assumes that the mean/sd is the same for every variable in the distribution |
lower |
The upper and lower bounds for each variable (on the original scale, NOT the transformed scale). If only one value is given, assumed to apply to all variables in the distribution |
upper |
The upper and lower bounds for each variable (on the original scale, NOT the transformed scale). If only one value is given, assumed to apply to all variables in the distribution |
var.names |
The names of the variables in the distribution. If NULL, uses the names of mu, the row names of sigma, or the column names of sigma, in that order |
transformations |
Objects of class transformation to be applied to each variable. Can be either an object of class transformation, the character name of a defined transformation, or a list of transformation objects. If only one transformation is supplied, assumed to apply to all variables. If this is a named list, any variables missing transformation are assmed to not be transformed |
Other Distribution Constructors:
Bernoulli.Distribution(),
Beta.Distribution(),
Binomial.Distribution(),
Canonical.Mixture.Distribution(),
Compound.Symmetry.Multivariate.Normal.Distribution(),
Constant.Distribution(),
Discrete.Set.Distribution(),
Empiric.Distribution(),
Logitnormal.Distribution(),
Logitnormal.Mixture(),
Logituniform.Distribution(),
Lognormal.Distribution(),
Lognormal.Mixture(),
Loguniform.Distribution(),
Multivariate.Correlated.Uniform.Distribution(),
Multivariate.Logitnormal.Distribution(),
Multivariate.Lognormal.Distribution(),
Multivariate.Normal.Distribution(),
Normal.Distribution(),
Normal.Mixture(),
Smoothed.Empiric.Distribution(),
Transformed.Multivariate.Normal.Distribution(),
Transformed.Normal.Distribution(),
Transformed.Normal.Mixture(),
Uniform.Distribution(),
Univariate.Canonical.Distribution(),
join.distributions()
Create a Univariate Bernoulli Distribution Object
Bernoulli.Distribution(p = 0.5, var.name = NULL)Bernoulli.Distribution(p = 0.5, var.name = NULL)
p |
The probability of success in the distribution |
var.name |
The name of the single variable in the distribution, or NULL if no name is specified |
Other Univariate Canonical Distribution Constructors:
Beta.Distribution(),
Binomial.Distribution(),
Canonical.Mixture.Distribution(),
Logitnormal.Distribution(),
Logituniform.Distribution(),
Lognormal.Distribution(),
Loguniform.Distribution(),
Normal.Distribution(),
Transformed.Normal.Distribution(),
Uniform.Distribution(),
Univariate.Canonical.Distribution()
Other Distribution Constructors:
Autoregressive.Multivariate.Normal.Distribution(),
Beta.Distribution(),
Binomial.Distribution(),
Canonical.Mixture.Distribution(),
Compound.Symmetry.Multivariate.Normal.Distribution(),
Constant.Distribution(),
Discrete.Set.Distribution(),
Empiric.Distribution(),
Logitnormal.Distribution(),
Logitnormal.Mixture(),
Logituniform.Distribution(),
Lognormal.Distribution(),
Lognormal.Mixture(),
Loguniform.Distribution(),
Multivariate.Correlated.Uniform.Distribution(),
Multivariate.Logitnormal.Distribution(),
Multivariate.Lognormal.Distribution(),
Multivariate.Normal.Distribution(),
Normal.Distribution(),
Normal.Mixture(),
Smoothed.Empiric.Distribution(),
Transformed.Multivariate.Normal.Distribution(),
Transformed.Normal.Distribution(),
Transformed.Normal.Mixture(),
Uniform.Distribution(),
Univariate.Canonical.Distribution(),
join.distributions()
Create a Univariate Beta Distribution Object
Beta.Distribution(alpha = 1, beta = 1, lower = 0, upper = 1, var.name = NULL)Beta.Distribution(alpha = 1, beta = 1, lower = 0, upper = 1, var.name = NULL)
alpha, beta
|
The parameters to the beta distribution (AKA shape1, shape2 respectively in dbeta) |
lower, upper
|
The lower and the upper bounds |
var.name |
The name of the single variable in the distribution, or NULL if no name is specified |
Other Univariate Canonical Distribution Constructors:
Bernoulli.Distribution(),
Binomial.Distribution(),
Canonical.Mixture.Distribution(),
Logitnormal.Distribution(),
Logituniform.Distribution(),
Lognormal.Distribution(),
Loguniform.Distribution(),
Normal.Distribution(),
Transformed.Normal.Distribution(),
Uniform.Distribution(),
Univariate.Canonical.Distribution()
Other Distribution Constructors:
Autoregressive.Multivariate.Normal.Distribution(),
Bernoulli.Distribution(),
Binomial.Distribution(),
Canonical.Mixture.Distribution(),
Compound.Symmetry.Multivariate.Normal.Distribution(),
Constant.Distribution(),
Discrete.Set.Distribution(),
Empiric.Distribution(),
Logitnormal.Distribution(),
Logitnormal.Mixture(),
Logituniform.Distribution(),
Lognormal.Distribution(),
Lognormal.Mixture(),
Loguniform.Distribution(),
Multivariate.Correlated.Uniform.Distribution(),
Multivariate.Logitnormal.Distribution(),
Multivariate.Lognormal.Distribution(),
Multivariate.Normal.Distribution(),
Normal.Distribution(),
Normal.Mixture(),
Smoothed.Empiric.Distribution(),
Transformed.Multivariate.Normal.Distribution(),
Transformed.Normal.Distribution(),
Transformed.Normal.Mixture(),
Uniform.Distribution(),
Univariate.Canonical.Distribution(),
join.distributions()
Create a Univariate Binomial Distribution Object
Binomial.Distribution(n = 10, p = 0.5, lower = 0, upper = n, var.name = NULL)Binomial.Distribution(n = 10, p = 0.5, lower = 0, upper = n, var.name = NULL)
n, p
|
The size and probability parameters to the distribution (AKA size, prob in dbinom) |
lower, upper
|
The lower and the upper bounds |
var.name |
The name of the single variable in the distribution, or NULL if no name is specified |
Other Univariate Canonical Distribution Constructors:
Bernoulli.Distribution(),
Beta.Distribution(),
Canonical.Mixture.Distribution(),
Logitnormal.Distribution(),
Logituniform.Distribution(),
Lognormal.Distribution(),
Loguniform.Distribution(),
Normal.Distribution(),
Transformed.Normal.Distribution(),
Uniform.Distribution(),
Univariate.Canonical.Distribution()
Other Distribution Constructors:
Autoregressive.Multivariate.Normal.Distribution(),
Bernoulli.Distribution(),
Beta.Distribution(),
Canonical.Mixture.Distribution(),
Compound.Symmetry.Multivariate.Normal.Distribution(),
Constant.Distribution(),
Discrete.Set.Distribution(),
Empiric.Distribution(),
Logitnormal.Distribution(),
Logitnormal.Mixture(),
Logituniform.Distribution(),
Lognormal.Distribution(),
Lognormal.Mixture(),
Loguniform.Distribution(),
Multivariate.Correlated.Uniform.Distribution(),
Multivariate.Logitnormal.Distribution(),
Multivariate.Lognormal.Distribution(),
Multivariate.Normal.Distribution(),
Normal.Distribution(),
Normal.Mixture(),
Smoothed.Empiric.Distribution(),
Transformed.Multivariate.Normal.Distribution(),
Transformed.Normal.Distribution(),
Transformed.Normal.Mixture(),
Uniform.Distribution(),
Univariate.Canonical.Distribution(),
join.distributions()
Calculate the cumulative distribution function for a distribution
calculate.cdf(dist, q, lower.tail = T, log.p = F, n.sim = 1000 * [email protected])calculate.cdf(dist, q, lower.tail = T, log.p = F, n.sim = 1000 * dist@n.var)
dist |
An object of class Distribution or a subclass |
n.sim |
If the values are to be calculated by random sample generation, how many random samples to generate |
x |
The values of the parameters at which to calculate the CDF. May be either a vector, if the CDF at a single point is desired, or a matrix where each row represents one point and each column represents a variable in the distribution |
log |
A logical indicating whether to return the CDF on the log scale |
Note to developers: this function should not be overridden. Override do.calculate.cdf instead
If x is a vector, a scalar density. If x is a matrix, a numeric vector of densities, one for each row in x
Calculate a marginal cumulative distribution function for each variable in a distribution
calculate.marginal.cdfs(dist, q, lower.tail = T, log.p = F, n.sim = 1000)calculate.marginal.cdfs(dist, q, lower.tail = T, log.p = F, n.sim = 1000)
dist |
An object of class Distribution or a subclass |
n.sim |
If the values are to be calculated by random sample generation, how many random samples to generate |
Note to developers: this function should not be overridden. Override do.calculate.marginal.cdfs instead
If q is a vector, a vector of probabilities with one value for each variable in the distribution. If q is a matrix, a matrix of probabilites, with one for each row in x and one column for each variable in the distribution
Calculate a marginal density for each variable in a distribution
calculate.marginal.densities(dist, x, log = F, n.sim = 1000)calculate.marginal.densities(dist, x, log = F, n.sim = 1000)
dist |
An object of class Distribution or a subclass |
x |
The values of the parameters at which to calculate the density. May be either a vector, if the density at a single point is desired, or a matrix where each row represents one point and each column represents a variable in the distribution |
log |
A logical indicating whether to return the density on the log scale |
n.sim |
If the values are to be calculated by random sample generation, how many random samples to generate |
Note to developers: this function should not be overridden. Override do.calculate.marginal.densities instead
If x is a vector or a matrix with only one row, a vector of densities with one value for each variable in the distribution. If x is a matrix, a matrix of densities, with one for each row in x and one column for each variable in the distribution
A class that represents a univariate mixture of different instances of a canonical distribution (the same distribution, but with different parameters)
nameA short, descriptive name for the distribution
n.componentsThe number of component distributions in this mixture
weightsThe weights for the component distributions in the mixture (sum(weights)=1)
density.function.name,cdf.function.name,quantile.function.nameNames of the (elsewhere defined) functions that calculate density, cdf, and quantiles (eg 'dnorm', 'pnorm', and 'qnorm)
parametersA list of vectors; each element of the list represents a parameter to the distribution, and the values of the vector represent the parameter values for each component of the mixture
p.in.bounds,log.p.in.boundsA vector cumulative probabilities and of the log cumulative probabilities between the lower and upper bounds for each component of the mixture
p.lower.boundA vector of values of the cdf evaluated at the lower bound for each components of the distribution
transformationAn object of class transformation, defining the transformation applied to the variable before applying the distribution (eg, )
means,variancesIf known, the means and variances of each component of the distribution. May be NA
The family of functions that create specific mixture distributions, such as normal.mixture
Canonical.Mixture.Distribution( name, dist.name, parameters, weights = 1, var.name = NULL, support = Continuous.Support(), density.function.name = paste0("d", dist.name), cdf.function.name = paste0("p", dist.name), quantile.function.name = paste0("q", dist.name), transformation = NULL, is.improper = F, mean.values = as.numeric(NA), variance.values = as.numeric(NA) )Canonical.Mixture.Distribution( name, dist.name, parameters, weights = 1, var.name = NULL, support = Continuous.Support(), density.function.name = paste0("d", dist.name), cdf.function.name = paste0("p", dist.name), quantile.function.name = paste0("q", dist.name), transformation = NULL, is.improper = F, mean.values = as.numeric(NA), variance.values = as.numeric(NA) )
name |
A short, descriptive name for the distribution |
dist.name |
The root name of the distribution as used by d/r/p functions in R. For example, to create a normal distribution, dist.name='norm' (like dnorm, rnorm, pnorm). To create a beta distribution, dist.name='beta' (dbeta, rbeta, qbeta). This argument is only necessary if density.function, cdf.function, and quantile.function are not passed explicitly |
parameters |
A list of vectors, where each element has parameter values that would be passed to d/r/p functions in R. For example, for a mixture of normal(0,1) and normal(1,1) distributions, parameters=list(mean=c(0,1), sd=1) or parameters=list(mean=c(0,1), sd=c(1,1)) |
weights |
A weight for each component distribution in the mixture. The weights need not sum to 1. If a scalar is passed, all components are given the same weight |
var.name |
The name of the variable in this distribution |
transformation |
A transformation object, if the named distribution operates on a transformation of the random variable (can also pass NULL for no transformation or the name of a predefined transformation - see |
is.improper, is.discrete
|
Logicals indicating whether the distribution is improper/discrete |
mean.values, variance.values
|
If known, vectors of values for the means and variances of each component of the distribution |
lower.bound, upper.bound
|
If this is a bounded distribution, the lower and upper bounds |
density.function, cdf.function, quantile.function
|
The functions that calculate the density, cdf, and quantile respectively. These should take the standard parameters of such functions in R. density.function should take 'x', distribution-specific parameters, and 'log'. cdf.function should take 'q', distribution-specific parameters, 'lower.tail' and 'log.p'. quantile.function should take 'p', distribution-specific parameters, and 'lower.tail' and 'log.p' |
get.defined.transformation, create.transformation
Other Univariate Canonical Distribution Constructors:
Bernoulli.Distribution(),
Beta.Distribution(),
Binomial.Distribution(),
Logitnormal.Distribution(),
Logituniform.Distribution(),
Lognormal.Distribution(),
Loguniform.Distribution(),
Normal.Distribution(),
Transformed.Normal.Distribution(),
Uniform.Distribution(),
Univariate.Canonical.Distribution()
Other Distribution Constructors:
Autoregressive.Multivariate.Normal.Distribution(),
Bernoulli.Distribution(),
Beta.Distribution(),
Binomial.Distribution(),
Compound.Symmetry.Multivariate.Normal.Distribution(),
Constant.Distribution(),
Discrete.Set.Distribution(),
Empiric.Distribution(),
Logitnormal.Distribution(),
Logitnormal.Mixture(),
Logituniform.Distribution(),
Lognormal.Distribution(),
Lognormal.Mixture(),
Loguniform.Distribution(),
Multivariate.Correlated.Uniform.Distribution(),
Multivariate.Logitnormal.Distribution(),
Multivariate.Lognormal.Distribution(),
Multivariate.Normal.Distribution(),
Normal.Distribution(),
Normal.Mixture(),
Smoothed.Empiric.Distribution(),
Transformed.Multivariate.Normal.Distribution(),
Transformed.Normal.Distribution(),
Transformed.Normal.Mixture(),
Uniform.Distribution(),
Univariate.Canonical.Distribution(),
join.distributions()
Creates a distribution where all the variables, after arbitrary transformations, follow a normal distribution with a Compound Symmetry (AKA Exchangeable) correlation structure
Compound.Symmetry.Multivariate.Normal.Distribution( rho, n = max(length(mu), length(sds)), mu = 0, sds = 1, lower = -Inf, upper = Inf, var.names = NULL, transformations = NULL )Compound.Symmetry.Multivariate.Normal.Distribution( rho, n = max(length(mu), length(sds)), mu = 0, sds = 1, lower = -Inf, upper = Inf, var.names = NULL, transformations = NULL )
rho |
The correlation coefficient |
n |
The number of variables in the distribution |
mu, sds
|
The mean and standard deviation vectors. If given a scalar value, assumes that the mean/sd is the same for every variable in the distribution |
lower |
The upper and lower bounds for each variable (on the original scale, NOT the transformed scale). If only one value is given, assumed to apply to all variables in the distribution |
upper |
The upper and lower bounds for each variable (on the original scale, NOT the transformed scale). If only one value is given, assumed to apply to all variables in the distribution |
var.names |
The names of the variables in the distribution. If NULL, uses the names of mu, the row names of sigma, or the column names of sigma, in that order |
transformations |
Objects of class transformation to be applied to each variable. Can be either an object of class transformation, the character name of a defined transformation, or a list of transformation objects. If only one transformation is supplied, assumed to apply to all variables. If this is a named list, any variables missing transformation are assmed to not be transformed |
Other Distribution Constructors:
Autoregressive.Multivariate.Normal.Distribution(),
Bernoulli.Distribution(),
Beta.Distribution(),
Binomial.Distribution(),
Canonical.Mixture.Distribution(),
Constant.Distribution(),
Discrete.Set.Distribution(),
Empiric.Distribution(),
Logitnormal.Distribution(),
Logitnormal.Mixture(),
Logituniform.Distribution(),
Lognormal.Distribution(),
Lognormal.Mixture(),
Loguniform.Distribution(),
Multivariate.Correlated.Uniform.Distribution(),
Multivariate.Logitnormal.Distribution(),
Multivariate.Lognormal.Distribution(),
Multivariate.Normal.Distribution(),
Normal.Distribution(),
Normal.Mixture(),
Smoothed.Empiric.Distribution(),
Transformed.Multivariate.Normal.Distribution(),
Transformed.Normal.Distribution(),
Transformed.Normal.Mixture(),
Uniform.Distribution(),
Univariate.Canonical.Distribution(),
join.distributions()
A class that represents a probility distribution with support for exactly one value
valueThe single value supported by this distribution
Creates an object representing a degenerate distribution that only supports a single, discrete value
Constant.Distribution(value, var.name = NULL)Constant.Distribution(value, var.name = NULL)
value |
The single value supported by the distribution |
var.name |
The name of the single variable in the distribution, or NULL if no name is specified |
Other Discrete Distribution Constructors:
Discrete.Set.Distribution()
Other Distribution Constructors:
Autoregressive.Multivariate.Normal.Distribution(),
Bernoulli.Distribution(),
Beta.Distribution(),
Binomial.Distribution(),
Canonical.Mixture.Distribution(),
Compound.Symmetry.Multivariate.Normal.Distribution(),
Discrete.Set.Distribution(),
Empiric.Distribution(),
Logitnormal.Distribution(),
Logitnormal.Mixture(),
Logituniform.Distribution(),
Lognormal.Distribution(),
Lognormal.Mixture(),
Loguniform.Distribution(),
Multivariate.Correlated.Uniform.Distribution(),
Multivariate.Logitnormal.Distribution(),
Multivariate.Lognormal.Distribution(),
Multivariate.Normal.Distribution(),
Normal.Distribution(),
Normal.Mixture(),
Smoothed.Empiric.Distribution(),
Transformed.Multivariate.Normal.Distribution(),
Transformed.Normal.Distribution(),
Transformed.Normal.Mixture(),
Uniform.Distribution(),
Univariate.Canonical.Distribution(),
join.distributions()
Create an object which represents support over a range of integers
Continuous.Support( lower = -Inf, upper = Inf, lower.inclusive = F, upper.inclusive = F )Continuous.Support( lower = -Inf, upper = Inf, lower.inclusive = F, upper.inclusive = F )
lower, upper
|
The lower and upper bounds of support. For a single range of support, these should both be of length 1. If support exists over multiple disjoint ranges, then lower and upper should be numeric vectors of the same length, with the lower and upper bounds of each of the disjoint ranges |
lower.inclusive, upper.inclusive
|
Logical vectors indicating whether the lower and upper bounds are inclusive (vs. exclusive). If length(lower)/length(upper) are >1, these can be either logical vectors of the same length, or logical scalars (in which case the value applies to each element of lower and upper) |
An object of class Range_Support, such that is.supported is true if x falls within any of the ranges lower[i] to upper[i]
Create an object representing a transformation
create.transformation( transform.function, reverse.transform.function, transformation.derivative, log.abs.transformation.derivative = NULL, name )create.transformation( transform.function, reverse.transform.function, transformation.derivative, log.abs.transformation.derivative = NULL, name )
transform.function, reverse.transform.function, transformation.derivative, log.transformation.derivative
|
Functions that compute the transformation, inverse transformation, derivative of the transformation function, and log of the derivative of the transformation function, directly. All should take one argument, 'x', which can be either a numeric vector or numeric scalar. log.transformation.derivative may be supplied as NULL; the other three functions must be defined |
name |
A character value with a descriptive name of the transformation |
A class that represents a discrete probability distribution over an arbitrary set of numbers
valuesThe numeric set of values
weightsThe probability of each value in the set. Sum to 1
An object representing support over an arbitrary set of real numbers
Creates an object representing a discrete probability distribution over an arbitrary set of numbers
Discrete.Set.Distribution(values, weights, var.name = NULL)Discrete.Set.Distribution(values, weights, var.name = NULL)
values |
The numeric set of values |
weights |
The weight given to the corresponding value. Need not sum to 1 |
var.name |
The name of the single variable in the distribution, or NULL if no name is specified |
Other Discrete Distribution Constructors:
Constant.Distribution()
Other Distribution Constructors:
Autoregressive.Multivariate.Normal.Distribution(),
Bernoulli.Distribution(),
Beta.Distribution(),
Binomial.Distribution(),
Canonical.Mixture.Distribution(),
Compound.Symmetry.Multivariate.Normal.Distribution(),
Constant.Distribution(),
Empiric.Distribution(),
Logitnormal.Distribution(),
Logitnormal.Mixture(),
Logituniform.Distribution(),
Lognormal.Distribution(),
Lognormal.Mixture(),
Loguniform.Distribution(),
Multivariate.Correlated.Uniform.Distribution(),
Multivariate.Logitnormal.Distribution(),
Multivariate.Lognormal.Distribution(),
Multivariate.Normal.Distribution(),
Normal.Distribution(),
Normal.Mixture(),
Smoothed.Empiric.Distribution(),
Transformed.Multivariate.Normal.Distribution(),
Transformed.Normal.Distribution(),
Transformed.Normal.Mixture(),
Uniform.Distribution(),
Univariate.Canonical.Distribution(),
join.distributions()
Create a support over an arbitrary set of values
Discrete.Set.Support(supported.values)Discrete.Set.Support(supported.values)
supported.values |
A numeric vector of the allowed values in this support |
An object of class Discrete_Set_Support
Distribution objects represent a distribution of one or more variables
var.namesA character vector of the names of the variables in the distribution (optional)
n.varThe number of variables in the distribution
supportA Support object defining the support for each variable in the distribution
is.improperA logical vectors indicating whether each variable in the distribution is improper
Specific subclasses which can be instantiated:
Evaluates to true if the two distributions produce the same random samples
distributions.equal(dist1, dist2)distributions.equal(dist1, dist2)
dist1, dist2
|
The distributions to compare |
The variable order must be the same for two multivariate distributions, otherwise the equality test will return false
True if the two distributions produce the same random samples
This function is provided to be overriden by developers. End users should instead call calculate.density
do.calculate.density(dist, x, log = F, n.sim = 1000)do.calculate.density(dist, x, log = F, n.sim = 1000)
dist |
An object of class Distribution or a subclass |
x |
A matrix where each row represents one point and each column represents a variable in the distribution (the wrapper matches variable names before passing to this function) |
log |
A logical indicating whether to return the density on the log scale |
n.sim |
If the values are to be calculated by random sample generation, how many random samples to generate |
The wrapper calculate.density takes care of matching variable names and of formatting the return value
If x is a vector, a scalar density. If x is a matrix, a numeric vector of densities, one for each row in x
A class that defines a distribution based on a set of samples from that distribution. Treats the samples as coming from a discrete distribution. For a continuous representation, see Smoothed_Empiric_Distribution
pointsA matrix containing the samples
weightsA numeric vector with the weight given to each row in points. Sum to 1
n.pointsThe number of rows in points
Smoothed_Empiric_Distribution, create.empiric.distribution
This is a convenience alias for the formal constructor, new('Empiric_Distribution', ...)
Empiric.Distribution(points, weights = 1, var.names = NULL)Empiric.Distribution(points, weights = 1, var.names = NULL)
points |
A matrix of values, where each row represents one sample and each column represents one variable. If a numeric vector is passed, assumed to be samples from a univariate distribution |
weights |
A numeric vector of weights, one for each row in points |
var.names |
The names of the variables in the distribution. If NULL, uses the column names from points |
Other Distribution Constructors:
Autoregressive.Multivariate.Normal.Distribution(),
Bernoulli.Distribution(),
Beta.Distribution(),
Binomial.Distribution(),
Canonical.Mixture.Distribution(),
Compound.Symmetry.Multivariate.Normal.Distribution(),
Constant.Distribution(),
Discrete.Set.Distribution(),
Logitnormal.Distribution(),
Logitnormal.Mixture(),
Logituniform.Distribution(),
Lognormal.Distribution(),
Lognormal.Mixture(),
Loguniform.Distribution(),
Multivariate.Correlated.Uniform.Distribution(),
Multivariate.Logitnormal.Distribution(),
Multivariate.Lognormal.Distribution(),
Multivariate.Normal.Distribution(),
Normal.Distribution(),
Normal.Mixture(),
Smoothed.Empiric.Distribution(),
Transformed.Multivariate.Normal.Distribution(),
Transformed.Normal.Distribution(),
Transformed.Normal.Mixture(),
Uniform.Distribution(),
Univariate.Canonical.Distribution(),
join.distributions()
Generates random samples for each variable in the distribution, but does NOT preserve the correlations across variables within samples. For some distribution implementations, this can be substantially faster than generating true, multivariate random samples, so this method is preferred if random samples are only needed for one variable at a time
generate.random.marginal.samples(dist, n)generate.random.marginal.samples(dist, n)
dist |
An object of class Distribution or a subclass |
n |
The number of random samples to be generated |
Note to developers: this function should not be overridden. Override do.generate.random.marginal.samples instead
If n==1, a numeric vector with one value for each variable in the distribution. If there is only one variable in the distribution, a numeric vector with n values. If n>1 and there is more than one variable in the distribution, a matrix with n rows, where each row represents one random sample, and each column represents a variable in the distribution
Generate random samples from a distribution
generate.random.samples(dist, n)generate.random.samples(dist, n)
dist |
An object of class Distribution or a subclass |
n |
The number of random samples to be generated |
Note to developers: This function should not be overridden directly. Insteady override do.generate.random.samples
If n==1, a numeric vector with one value for each variable in the distribution. If there is only one variable in the distribution, a numeric vector with n values. If n>1 and there is more than one variable in the distribution, a matrix with n rows, where each row represents one random sample, and each column represents a variable in the distribution
Get the variance-covariance matrix for variables in a distribution
get.covariance.matrix(dist, n.sim = 1000)get.covariance.matrix(dist, n.sim = 1000)
dist |
An object of class Distribution or a subclass |
n.sim |
If the values are to be calculated by random sample generation, how many random samples to generate |
Note to developers: this function should not be overridden. Override do.get.covariance.matrix instead
A square matrix of dimension number variables in distribution representing the variance-covariance matrix for the distribution
Gets a pre-defined transformation object. The available transformations are 'log', 'logit', and 'identity'
get.defined.transformation(transformation.names, throw.error.if.no.match = F)get.defined.transformation(transformation.names, throw.error.if.no.match = F)
If transformation.names is a single character value, returns an object of class transformation. Otherwise, returns a list of transformation objects
A convenience function that packages up a call to calculate.density on this distribution into its own stand-alone function (which could be passed along as an argument to other functions)
get.density.function(dist, default.log = T, n.sim = 1000)get.density.function(dist, default.log = T, n.sim = 1000)
dist |
An object of class Distribution or a subclass |
default.log |
Whether the returned function should calculate the density on the log scale (by default, the returned function can have a log parameter set explicitly) |
n.sim |
If the values are to be calculated by random sample generation, how many random samples to generate |
A function that takes two arguments. The first, mandatory, is 'x' - the values of the parameters at which to calculate the density. May be either a vector, if the density at a single point is desired, or a matrix where each row represents one point and each column represents a variable in the distribution The second, optional, is 'log' - whether to calculate the density on the log scale. By default, log is set to default.log
Get the description of a Distribution object
get.description(object)get.description(object)
object |
The object to describe |
Get equal-tailed intervals (confidence/credible intervals) for the variables in a distribution
get.equal.tailed.intervals(dist, coverage = 0.95, n.sim = 1000)get.equal.tailed.intervals(dist, coverage = 0.95, n.sim = 1000)
dist |
An object of class Distribution or a subclass |
coverage |
A vector of probabilities (from 0 to 1) which the intervals should cover |
n.sim |
If the values are to be calculated by random sample generation, how many random samples to generate |
Note to developers: This function should not be overridden directly. Insteady override do.get.equal.tailed.intervals
If length(coverage)==1, and the distribution has one variable, returns a numeric vector with two values: the lower and upper bound of the interval. If length(coverage)==1 and the distribution has more than one variable, returns a matrix with one row for the lower bound and one row for the upper, and one column for each variable. If length(coverage)>1 and the distribution has one variable, returns a matrix with one row for the lower bound and one row for the upper bound, and one column for each value in coverage. If length(coverage)>1, and the distribution has more than one variable returns a 3-dimensional array; the first dimension has values 'lower' and 'upper'. The second dimension has one value for each variable. The third dimension has one value for each value of coverage.
get.equal.tailed.intervals, get.highest.density.intervals
Get highest-density intervals (confidence/credible intervals) for the variables in a distribution
get.highest.density.intervals(dist, coverage = 0.95, n.sim = 1000)get.highest.density.intervals(dist, coverage = 0.95, n.sim = 1000)
dist |
An object of class Distribution or a subclass |
coverage |
A vector of probabilities (from 0 to 1) which the intervals should cover |
n.sim |
If the values are to be calculated by random sample generation, how many random samples to generate |
Note to developers: This function should not be overridden directly. Insteady override do.get.highest.density.intervals
If length(coverage)==1, and the distribution has one variable, returns a numeric vector with two values: the lower and upper bound of the interval. If length(coverage)==1 and the distribution has more than one variable, returns a matrix with one row for the lower bound and one row for the upper, and one column for each variable. If length(coverage)>1 and the distribution has one variable, returns a matrix with one row for the lower bound and one row for the upper bound, and one column for each value in coverage. If length(coverage)>1, and the distribution has more than one variable returns a 3-dimensional array; the first dimension has values 'lower' and 'upper'. The second dimension has one value for each variable. The third dimension has one value for each value of coverage.
get.equal.tailed.intervals, get.highest.density.intervals
Get intervals (confidence/credible intervals) for the variables in a distribution
get.intervals( dist, type = c("equal-tailed", "highest-density")[1], coverage = 0.95, n.sim = 1000 )get.intervals( dist, type = c("equal-tailed", "highest-density")[1], coverage = 0.95, n.sim = 1000 )
dist |
An object of class Distribution or a subclass |
type |
Either 'equal-tailed' or 'highest-density' depending on the type of interval desired (equal-tailed is generally easier to compute) |
coverage |
A vector of probabilities (from 0 to 1) which the intervals should cover |
n.sim |
If the values are to be calculated by random sample generation, how many random samples to generate |
Note to developers: this function should not be overridden. Override do.get.equal.tailed.intervals and do.get.highest.density.intervals instead
If length(coverage)==1, and the distribution has one variable, returns a numeric vector with two values: the lower and upper bound of the interval. If length(coverage)==1 and the distribution has more than one variable, returns a matrix with one row for the lower bound and one row for the upper, and one column for each variable. If length(coverage)>1 and the distribution has one variable, returns a matrix with one row for the lower bound and one row for the upper bound, and one column for each value in coverage. If length(coverage)>1, and the distribution has more than one variable returns a 3-dimensional array; the first dimension has values 'lower' and 'upper'. The second dimension has one value for each variable. The third dimension has one value for each value of coverage.
get.equal.tailed.intervals, get.highest.density.intervals
Get means of the variables in a distribution
get.means(dist, n.sim = 1000)get.means(dist, n.sim = 1000)
dist |
An object of class Distribution or a subclass |
n.sim |
If the values are to be calculated by random sample generation, how many random samples to generate |
Note to developers: this function should not be overridden. Override do.get.means instead
A numeric vector with a mean for each variable in the distribution
Get medians of the variables in a distribution
get.medians(dist, n.sim = 1000)get.medians(dist, n.sim = 1000)
dist |
An object of class Distribution or a subclass |
n.sim |
If the values are to be calculated by random sample generation, how many random samples to generate |
Note to developers: This function should not be overridden directly. Insteady override do.get.medians
A numeric vector with a median for each variable in the distribution
Get quantiles for the variables in a distribution
get.quantiles(dist, p, lower.tail = T, log.p = F, n.sim = 1000)get.quantiles(dist, p, lower.tail = T, log.p = F, n.sim = 1000)
dist |
An object of class Distribution or a subclass |
p |
A vector of probabilities for which to get the quantiles |
lower.tail |
If true, the returned values are the greatest values x for each variable such that |
n.sim |
If the values are to be calculated by random sample generation, how many random samples to generate |
Note to developers: This function should not be overridden directly. Insteady override do.get.quantiles
If there is only one variable in the distribution, a vector of quantiles for each value of p. If p is length one, a vector of quantiles for each variable in the distribution. If there is more than one variable in the distribution and p>1, a matrix with one row for each value of p, where each column represents a variable in the distribution
A convenience function that packages up a call to generate.random.samples on this distribution into its own stand-alone function (which could be passed along as an argument to other functions)
get.random.generator.function(dist)get.random.generator.function(dist)
dist |
An object of class Distribution or a subclass |
A function that takes one argument, 'n' - the number of random samples to generate
Get the standard deviations of the variables in a distribution
get.sds(dist, n.sim = 1000)get.sds(dist, n.sim = 1000)
dist |
An object of class Distribution or a subclass |
n.sim |
If the values are to be calculated by random sample generation, how many random samples to generate |
Note to developers: this function should not be overridden. Override do.get.sds instead
A numeric vector with a standard deviation for each variable in the distribution
Get the maximum and minimm values within a support over real numbers
get.support.bounds(support)get.support.bounds(support)
support |
An object of class Support |
If called on an object of class Support, returns a numeric vector of length 2, with lower and upper bounds. If called on a list containing only Support objects, returns a matrix with two rows (lower and upper bounds) and a column for each element in the list
Create an object which represents support over a range of integers
Integer.Support(lower, upper, lower.inclusive = T, upper.inclusive = T)Integer.Support(lower, upper, lower.inclusive = T, upper.inclusive = T)
lower |
The lower and upper bounds of support. For a single range of support, these should both be of length 1. If support exists over multiple disjoint ranges, then lower and upper should be numeric vectors of the same length, with the lower and upper bounds of each of the disjoint ranges |
upper |
The lower and upper bounds of support. For a single range of support, these should both be of length 1. If support exists over multiple disjoint ranges, then lower and upper should be numeric vectors of the same length, with the lower and upper bounds of each of the disjoint ranges |
lower.inclusive |
Logical vectors indicating whether the lower and upper bounds are inclusive (vs. exclusive). If length(lower)/length(upper) are >1, these can be either logical vectors of the same length, or logical scalars (in which case the value applies to each element of lower and upper) |
upper.inclusive |
Logical vectors indicating whether the lower and upper bounds are inclusive (vs. exclusive). If length(lower)/length(upper) are >1, these can be either logical vectors of the same length, or logical scalars (in which case the value applies to each element of lower and upper) |
An object of class Range_Support, such that is.supported is true if x falls within any of the ranges lower[i] to upper[i]
Test if numeric values fall within a defined support
is.supported(support, x, by.variable = F)is.supported(support, x, by.variable = F)
support |
An object of class Support |
x |
If the support is univariate, a numeric vector. If the support is multivariate, a matrix with one column for each variable and one row for each point to test or a numeric vector with one value for each variable in the support |
by.variable |
If this is a Multivariate_Support, if by.variable is TRUE, calculates support for each variable independently |
If the support is univariate or if by.variable==FALSE or if only a vector is passed to x, returns a logical vector, with one value for each value of x, corresponding to whether that value of x falls within the defined support. If the support is multivariate and by.variable==TRUE and a matrix with more than one row was passed to x, returns a matrix with one column for each variable and one row for each point
Joins multiple Distribution objects into a single Distribution object, on the premise that the variables in each sub-distribution are independent of the variables in any other sub-distribution
join.distributions(..., var.names = NULL)join.distributions(..., var.names = NULL)
... |
One or more Distribution objects or lists of Distribution objects to be joined. If var.names are set on the component distributions, those names will be preserved. If not, and if the elements of ... are named (or elements in lists contained in ... are named), those names will be used as the var.names for the corresponding sub-distributions |
An object of class Joint_Independent_Distributions
Other Distribution Constructors:
Autoregressive.Multivariate.Normal.Distribution(),
Bernoulli.Distribution(),
Beta.Distribution(),
Binomial.Distribution(),
Canonical.Mixture.Distribution(),
Compound.Symmetry.Multivariate.Normal.Distribution(),
Constant.Distribution(),
Discrete.Set.Distribution(),
Empiric.Distribution(),
Logitnormal.Distribution(),
Logitnormal.Mixture(),
Logituniform.Distribution(),
Lognormal.Distribution(),
Lognormal.Mixture(),
Loguniform.Distribution(),
Multivariate.Correlated.Uniform.Distribution(),
Multivariate.Logitnormal.Distribution(),
Multivariate.Lognormal.Distribution(),
Multivariate.Normal.Distribution(),
Normal.Distribution(),
Normal.Mixture(),
Smoothed.Empiric.Distribution(),
Transformed.Multivariate.Normal.Distribution(),
Transformed.Normal.Distribution(),
Transformed.Normal.Mixture(),
Uniform.Distribution(),
Univariate.Canonical.Distribution()
A class that joins multiple independent sub-distributions into a joint distribution
subdistributionsA list of the Distribution objects representing the component distributions of this joint distribution
indices.for.subdistributionsA list whose elements are integer vectors, such that indices.for.subdistributions[[i]] is the indices into the overall distribution of the variables represented by subdistributions[[i]]
n.subdistributionsThe number of component distributions
Create a Univariate Logit-Normal Distribution Object
Logitnormal.Distribution( meanlogit, sdlogit, lower = 0, upper = 1, var.name = NULL )Logitnormal.Distribution( meanlogit, sdlogit, lower = 0, upper = 1, var.name = NULL )
meanlogit, sdlogit
|
The mean and standard deviation (on the logit scale) of the distribution |
lower, upper
|
The lower and the upper bounds (on the original scale, NOT the logit scale), if this is a bounded distribution |
var.name |
The name of the single variable in the distribution, or NULL if no name is specified |
Other Univariate Canonical Distribution Constructors:
Bernoulli.Distribution(),
Beta.Distribution(),
Binomial.Distribution(),
Canonical.Mixture.Distribution(),
Logituniform.Distribution(),
Lognormal.Distribution(),
Loguniform.Distribution(),
Normal.Distribution(),
Transformed.Normal.Distribution(),
Uniform.Distribution(),
Univariate.Canonical.Distribution()
Other Distribution Constructors:
Autoregressive.Multivariate.Normal.Distribution(),
Bernoulli.Distribution(),
Beta.Distribution(),
Binomial.Distribution(),
Canonical.Mixture.Distribution(),
Compound.Symmetry.Multivariate.Normal.Distribution(),
Constant.Distribution(),
Discrete.Set.Distribution(),
Empiric.Distribution(),
Logitnormal.Mixture(),
Logituniform.Distribution(),
Lognormal.Distribution(),
Lognormal.Mixture(),
Loguniform.Distribution(),
Multivariate.Correlated.Uniform.Distribution(),
Multivariate.Logitnormal.Distribution(),
Multivariate.Lognormal.Distribution(),
Multivariate.Normal.Distribution(),
Normal.Distribution(),
Normal.Mixture(),
Smoothed.Empiric.Distribution(),
Transformed.Multivariate.Normal.Distribution(),
Transformed.Normal.Distribution(),
Transformed.Normal.Mixture(),
Uniform.Distribution(),
Univariate.Canonical.Distribution(),
join.distributions()
Create a Mixture Univariate Logit-Normal Distributions
Logitnormal.Mixture( meanslogit, sdslogit, weights = 1, lower = 0, upper = 1, var.name = NULL )Logitnormal.Mixture( meanslogit, sdslogit, weights = 1, lower = 0, upper = 1, var.name = NULL )
meanslogit, sdslogit
|
The means and standard deviations (on the logit scale) of the components of the distribution |
weights |
The weights applied to each component of the mixture. Weights need not be normalized to sum to 1. If a scalar value is given, all components of the mixture will have the same weight |
lower, upper
|
The lower and the upper bounds (on the original scale, NOT the logit scale), if this is a bounded distribution (the same bounds apply for all components of the mixture) |
Other Canonical Mixture Distribution Constructors:
Lognormal.Mixture(),
Normal.Mixture(),
Transformed.Normal.Mixture()
Other Distribution Constructors:
Autoregressive.Multivariate.Normal.Distribution(),
Bernoulli.Distribution(),
Beta.Distribution(),
Binomial.Distribution(),
Canonical.Mixture.Distribution(),
Compound.Symmetry.Multivariate.Normal.Distribution(),
Constant.Distribution(),
Discrete.Set.Distribution(),
Empiric.Distribution(),
Logitnormal.Distribution(),
Logituniform.Distribution(),
Lognormal.Distribution(),
Lognormal.Mixture(),
Loguniform.Distribution(),
Multivariate.Correlated.Uniform.Distribution(),
Multivariate.Logitnormal.Distribution(),
Multivariate.Lognormal.Distribution(),
Multivariate.Normal.Distribution(),
Normal.Distribution(),
Normal.Mixture(),
Smoothed.Empiric.Distribution(),
Transformed.Multivariate.Normal.Distribution(),
Transformed.Normal.Distribution(),
Transformed.Normal.Mixture(),
Uniform.Distribution(),
Univariate.Canonical.Distribution(),
join.distributions()
Create a Logit-Uniform Distribution Object
Logituniform.Distribution(min = 0, max = 1, var.name = NULL)Logituniform.Distribution(min = 0, max = 1, var.name = NULL)
min, max
|
The bounds of the distribution (on the original scale, NOT the logit scale). If min is 0 or max is 1, returns an improper logit-uniform distribution (which returns 1/x/(1-x) for all densities, but cannot evaluate cdfs, quantiles, or generate random samples) |
var.name |
The name of the single variable in the distribution, or NULL if no name is specified |
Other Univariate Canonical Distribution Constructors:
Bernoulli.Distribution(),
Beta.Distribution(),
Binomial.Distribution(),
Canonical.Mixture.Distribution(),
Logitnormal.Distribution(),
Lognormal.Distribution(),
Loguniform.Distribution(),
Normal.Distribution(),
Transformed.Normal.Distribution(),
Uniform.Distribution(),
Univariate.Canonical.Distribution()
Other Distribution Constructors:
Autoregressive.Multivariate.Normal.Distribution(),
Bernoulli.Distribution(),
Beta.Distribution(),
Binomial.Distribution(),
Canonical.Mixture.Distribution(),
Compound.Symmetry.Multivariate.Normal.Distribution(),
Constant.Distribution(),
Discrete.Set.Distribution(),
Empiric.Distribution(),
Logitnormal.Distribution(),
Logitnormal.Mixture(),
Lognormal.Distribution(),
Lognormal.Mixture(),
Loguniform.Distribution(),
Multivariate.Correlated.Uniform.Distribution(),
Multivariate.Logitnormal.Distribution(),
Multivariate.Lognormal.Distribution(),
Multivariate.Normal.Distribution(),
Normal.Distribution(),
Normal.Mixture(),
Smoothed.Empiric.Distribution(),
Transformed.Multivariate.Normal.Distribution(),
Transformed.Normal.Distribution(),
Transformed.Normal.Mixture(),
Uniform.Distribution(),
Univariate.Canonical.Distribution(),
join.distributions()
Create a Univariate Log-Normal Distribution Object
Lognormal.Distribution( meanlog = 0, sdlog = 1, lower = 0, upper = Inf, var.name = NULL )Lognormal.Distribution( meanlog = 0, sdlog = 1, lower = 0, upper = Inf, var.name = NULL )
meanlog, sdlog
|
The mean and standard deviation (on the log scale) of the distribution |
lower, upper
|
The lower and the upper bounds (on the original scale, NOT the log scale), if this is a bounded distribution |
var.name |
The name of the single variable in the distribution, or NULL if no name is specified |
Other Univariate Canonical Distribution Constructors:
Bernoulli.Distribution(),
Beta.Distribution(),
Binomial.Distribution(),
Canonical.Mixture.Distribution(),
Logitnormal.Distribution(),
Logituniform.Distribution(),
Loguniform.Distribution(),
Normal.Distribution(),
Transformed.Normal.Distribution(),
Uniform.Distribution(),
Univariate.Canonical.Distribution()
Other Distribution Constructors:
Autoregressive.Multivariate.Normal.Distribution(),
Bernoulli.Distribution(),
Beta.Distribution(),
Binomial.Distribution(),
Canonical.Mixture.Distribution(),
Compound.Symmetry.Multivariate.Normal.Distribution(),
Constant.Distribution(),
Discrete.Set.Distribution(),
Empiric.Distribution(),
Logitnormal.Distribution(),
Logitnormal.Mixture(),
Logituniform.Distribution(),
Lognormal.Mixture(),
Loguniform.Distribution(),
Multivariate.Correlated.Uniform.Distribution(),
Multivariate.Logitnormal.Distribution(),
Multivariate.Lognormal.Distribution(),
Multivariate.Normal.Distribution(),
Normal.Distribution(),
Normal.Mixture(),
Smoothed.Empiric.Distribution(),
Transformed.Multivariate.Normal.Distribution(),
Transformed.Normal.Distribution(),
Transformed.Normal.Mixture(),
Uniform.Distribution(),
Univariate.Canonical.Distribution(),
join.distributions()
Create a Mixture of Univariate Log-Normal Distributions
Lognormal.Mixture( meanslog = 0, sdslog = 1, weights = 1, lower = 0, upper = Inf, var.name = NULL )Lognormal.Mixture( meanslog = 0, sdslog = 1, weights = 1, lower = 0, upper = Inf, var.name = NULL )
meanslog, sdslog
|
The means and standard deviations (on the log scale) of the components of distribution |
weights |
The weights applied to each component of the mixture. Weights need not be normalized to sum to 1. If a scalar value is given, all components of the mixture will have the same weight |
lower, upper
|
The lower and the upper bounds (on the original scale, NOT the log scale), if this is a bounded distribution (the same bounds apply for all components of the mixture) |
Other Canonical Mixture Distribution Constructors:
Logitnormal.Mixture(),
Normal.Mixture(),
Transformed.Normal.Mixture()
Other Distribution Constructors:
Autoregressive.Multivariate.Normal.Distribution(),
Bernoulli.Distribution(),
Beta.Distribution(),
Binomial.Distribution(),
Canonical.Mixture.Distribution(),
Compound.Symmetry.Multivariate.Normal.Distribution(),
Constant.Distribution(),
Discrete.Set.Distribution(),
Empiric.Distribution(),
Logitnormal.Distribution(),
Logitnormal.Mixture(),
Logituniform.Distribution(),
Lognormal.Distribution(),
Loguniform.Distribution(),
Multivariate.Correlated.Uniform.Distribution(),
Multivariate.Logitnormal.Distribution(),
Multivariate.Lognormal.Distribution(),
Multivariate.Normal.Distribution(),
Normal.Distribution(),
Normal.Mixture(),
Smoothed.Empiric.Distribution(),
Transformed.Multivariate.Normal.Distribution(),
Transformed.Normal.Distribution(),
Transformed.Normal.Mixture(),
Uniform.Distribution(),
Univariate.Canonical.Distribution(),
join.distributions()
Create a Log-Uniform Distribution Object
Loguniform.Distribution(min = 0, max = 1, var.name = NULL)Loguniform.Distribution(min = 0, max = 1, var.name = NULL)
min, max
|
The bounds of the distribution (on the original scale, NOT the log scale). If min is 0 or max is Inf, returns an improper log-uniform distribution (which returns 1/x for all densities, but cannot evaluate cdfs, quantiles, or generate random samples) |
var.name |
The name of the single variable in the distribution, or NULL if no name is specified |
Other Univariate Canonical Distribution Constructors:
Bernoulli.Distribution(),
Beta.Distribution(),
Binomial.Distribution(),
Canonical.Mixture.Distribution(),
Logitnormal.Distribution(),
Logituniform.Distribution(),
Lognormal.Distribution(),
Normal.Distribution(),
Transformed.Normal.Distribution(),
Uniform.Distribution(),
Univariate.Canonical.Distribution()
Other Distribution Constructors:
Autoregressive.Multivariate.Normal.Distribution(),
Bernoulli.Distribution(),
Beta.Distribution(),
Binomial.Distribution(),
Canonical.Mixture.Distribution(),
Compound.Symmetry.Multivariate.Normal.Distribution(),
Constant.Distribution(),
Discrete.Set.Distribution(),
Empiric.Distribution(),
Logitnormal.Distribution(),
Logitnormal.Mixture(),
Logituniform.Distribution(),
Lognormal.Distribution(),
Lognormal.Mixture(),
Multivariate.Correlated.Uniform.Distribution(),
Multivariate.Logitnormal.Distribution(),
Multivariate.Lognormal.Distribution(),
Multivariate.Normal.Distribution(),
Normal.Distribution(),
Normal.Mixture(),
Smoothed.Empiric.Distribution(),
Transformed.Multivariate.Normal.Distribution(),
Transformed.Normal.Distribution(),
Transformed.Normal.Mixture(),
Uniform.Distribution(),
Univariate.Canonical.Distribution(),
join.distributions()
Defines a multivariate normal distribution
mu,sigmaThe mean vector and covariance matrix of the distribution
An object representing support (on the real numbers) over across multiple variables
Create a Multivariate Logit-Normal Distribution Object
Multivariate.Logitnormal.Distribution( mu = rep(0, nrow(sigma)), sigma = diag(rep(1, length(mu))), lower = 0, upper = Inf, var.names = NULL )Multivariate.Logitnormal.Distribution( mu = rep(0, nrow(sigma)), sigma = diag(rep(1, length(mu))), lower = 0, upper = Inf, var.names = NULL )
mu, sigma
|
The mean vector and covariance matrix of the distribution (after logit transformation) |
lower, upper
|
The upper and lower bounds for each variable (on the original scale, NOT the logit scale). If only one value is given, assumed to apply to all variables in the distribution |
var.names |
The names of the variables in the distribution. If NULL, uses the names of mu, the row names of sigma, or the column names of sigma, in that order |
Other Distribution Constructors:
Autoregressive.Multivariate.Normal.Distribution(),
Bernoulli.Distribution(),
Beta.Distribution(),
Binomial.Distribution(),
Canonical.Mixture.Distribution(),
Compound.Symmetry.Multivariate.Normal.Distribution(),
Constant.Distribution(),
Discrete.Set.Distribution(),
Empiric.Distribution(),
Logitnormal.Distribution(),
Logitnormal.Mixture(),
Logituniform.Distribution(),
Lognormal.Distribution(),
Lognormal.Mixture(),
Loguniform.Distribution(),
Multivariate.Correlated.Uniform.Distribution(),
Multivariate.Lognormal.Distribution(),
Multivariate.Normal.Distribution(),
Normal.Distribution(),
Normal.Mixture(),
Smoothed.Empiric.Distribution(),
Transformed.Multivariate.Normal.Distribution(),
Transformed.Normal.Distribution(),
Transformed.Normal.Mixture(),
Uniform.Distribution(),
Univariate.Canonical.Distribution(),
join.distributions()
Create a Multivariate Log-Normal Distribution Object
Multivariate.Lognormal.Distribution( mu = rep(0, nrow(sigma)), sigma = diag(rep(1, length(mu))), lower = 0, upper = Inf, var.names = NULL )Multivariate.Lognormal.Distribution( mu = rep(0, nrow(sigma)), sigma = diag(rep(1, length(mu))), lower = 0, upper = Inf, var.names = NULL )
mu, sigma
|
The mean vector and covariance matrix of the distribution (after log transformation) |
lower, upper
|
The upper and lower bounds for each variable (on the original scale, NOT the log scale). If only one value is given, assumed to apply to all variables in the distribution |
var.names |
The names of the variables in the distribution. If NULL, uses the names of mu, the row names of sigma, or the column names of sigma, in that order |
Other Distribution Constructors:
Autoregressive.Multivariate.Normal.Distribution(),
Bernoulli.Distribution(),
Beta.Distribution(),
Binomial.Distribution(),
Canonical.Mixture.Distribution(),
Compound.Symmetry.Multivariate.Normal.Distribution(),
Constant.Distribution(),
Discrete.Set.Distribution(),
Empiric.Distribution(),
Logitnormal.Distribution(),
Logitnormal.Mixture(),
Logituniform.Distribution(),
Lognormal.Distribution(),
Lognormal.Mixture(),
Loguniform.Distribution(),
Multivariate.Correlated.Uniform.Distribution(),
Multivariate.Logitnormal.Distribution(),
Multivariate.Normal.Distribution(),
Normal.Distribution(),
Normal.Mixture(),
Smoothed.Empiric.Distribution(),
Transformed.Multivariate.Normal.Distribution(),
Transformed.Normal.Distribution(),
Transformed.Normal.Mixture(),
Uniform.Distribution(),
Univariate.Canonical.Distribution(),
join.distributions()
Create a Multivariate Normal Distribution Object
Multivariate.Normal.Distribution( mu = rep(0, nrow(sigma)), sigma = diag(rep(1, length(mu))), lower = -Inf, upper = Inf, var.names = NULL )Multivariate.Normal.Distribution( mu = rep(0, nrow(sigma)), sigma = diag(rep(1, length(mu))), lower = -Inf, upper = Inf, var.names = NULL )
mu, sigma
|
The mean vector and covariance matrix of the distribution |
lower, upper
|
The upper and lower bounds for each variable, if bounded. If only one value is given, assumed to apply to all variables in the distribution |
var.names |
The names of the variables in the distribution. If NULL, uses the names of mu, the row names of sigma, or the column names of sigma, in that order |
Other Distribution Constructors:
Autoregressive.Multivariate.Normal.Distribution(),
Bernoulli.Distribution(),
Beta.Distribution(),
Binomial.Distribution(),
Canonical.Mixture.Distribution(),
Compound.Symmetry.Multivariate.Normal.Distribution(),
Constant.Distribution(),
Discrete.Set.Distribution(),
Empiric.Distribution(),
Logitnormal.Distribution(),
Logitnormal.Mixture(),
Logituniform.Distribution(),
Lognormal.Distribution(),
Lognormal.Mixture(),
Loguniform.Distribution(),
Multivariate.Correlated.Uniform.Distribution(),
Multivariate.Logitnormal.Distribution(),
Multivariate.Lognormal.Distribution(),
Normal.Distribution(),
Normal.Mixture(),
Smoothed.Empiric.Distribution(),
Transformed.Multivariate.Normal.Distribution(),
Transformed.Normal.Distribution(),
Transformed.Normal.Mixture(),
Uniform.Distribution(),
Univariate.Canonical.Distribution(),
join.distributions()
Join multiple Support objects into a multivariate Support
Multivariate.Support(...)Multivariate.Support(...)
... |
Objects of class Support, or lists that contain only objects of class Support |
A Multivariate_Support object
Create a Univariate Normal Distribution Object
Normal.Distribution( mean = 0, sd = 1, lower = -Inf, upper = Inf, var.name = NULL )Normal.Distribution( mean = 0, sd = 1, lower = -Inf, upper = Inf, var.name = NULL )
mean, sd
|
The mean and standard deviation of the distribution |
lower, upper
|
The lower and the upper bounds, if this is a bounded distribution |
var.name |
The name of the single variable in the distribution, or NULL if no name is specified |
Other Univariate Canonical Distribution Constructors:
Bernoulli.Distribution(),
Beta.Distribution(),
Binomial.Distribution(),
Canonical.Mixture.Distribution(),
Logitnormal.Distribution(),
Logituniform.Distribution(),
Lognormal.Distribution(),
Loguniform.Distribution(),
Transformed.Normal.Distribution(),
Uniform.Distribution(),
Univariate.Canonical.Distribution()
Other Distribution Constructors:
Autoregressive.Multivariate.Normal.Distribution(),
Bernoulli.Distribution(),
Beta.Distribution(),
Binomial.Distribution(),
Canonical.Mixture.Distribution(),
Compound.Symmetry.Multivariate.Normal.Distribution(),
Constant.Distribution(),
Discrete.Set.Distribution(),
Empiric.Distribution(),
Logitnormal.Distribution(),
Logitnormal.Mixture(),
Logituniform.Distribution(),
Lognormal.Distribution(),
Lognormal.Mixture(),
Loguniform.Distribution(),
Multivariate.Correlated.Uniform.Distribution(),
Multivariate.Logitnormal.Distribution(),
Multivariate.Lognormal.Distribution(),
Multivariate.Normal.Distribution(),
Normal.Mixture(),
Smoothed.Empiric.Distribution(),
Transformed.Multivariate.Normal.Distribution(),
Transformed.Normal.Distribution(),
Transformed.Normal.Mixture(),
Uniform.Distribution(),
Univariate.Canonical.Distribution(),
join.distributions()
Create a Mixture of Univariate Normal Distributions
Normal.Mixture( means = 0, sds = 1, weights = 1, lower = -Inf, upper = Inf, var.name = NULL )Normal.Mixture( means = 0, sds = 1, weights = 1, lower = -Inf, upper = Inf, var.name = NULL )
means, sds
|
The means and standard deviations of each component of the mixture |
weights |
The weights applied to each component of the mixture. Weights need not be normalized to sum to 1. If a scalar value is given, all components of the mixture will have the same weight |
lower, upper
|
The lower and the upper bounds, if this is a bounded distribution (the same bounds apply for all components of the mixture) |
Other Canonical Mixture Distribution Constructors:
Logitnormal.Mixture(),
Lognormal.Mixture(),
Transformed.Normal.Mixture()
Other Distribution Constructors:
Autoregressive.Multivariate.Normal.Distribution(),
Bernoulli.Distribution(),
Beta.Distribution(),
Binomial.Distribution(),
Canonical.Mixture.Distribution(),
Compound.Symmetry.Multivariate.Normal.Distribution(),
Constant.Distribution(),
Discrete.Set.Distribution(),
Empiric.Distribution(),
Logitnormal.Distribution(),
Logitnormal.Mixture(),
Logituniform.Distribution(),
Lognormal.Distribution(),
Lognormal.Mixture(),
Loguniform.Distribution(),
Multivariate.Correlated.Uniform.Distribution(),
Multivariate.Logitnormal.Distribution(),
Multivariate.Lognormal.Distribution(),
Multivariate.Normal.Distribution(),
Normal.Distribution(),
Smoothed.Empiric.Distribution(),
Transformed.Multivariate.Normal.Distribution(),
Transformed.Normal.Distribution(),
Transformed.Normal.Mixture(),
Uniform.Distribution(),
Univariate.Canonical.Distribution(),
join.distributions()
An object representing support over a range of real numbers
Separate a distribution object into a list of distributions that are independent from each other
separate.independent.distributions(object, var.names)separate.independent.distributions(object, var.names)
object |
A distribution object |
A list of Distribution objects, where each distribution either (a) is univariate or (b) contains only correlated variables
Sets the variable names for a Distribution Object
set.var.names(object, var.names)set.var.names(object, var.names)
var.names |
The character vector of variable names |
A Distribution object with the new var.names set
A class that defines a distribution based on a set of samples from that distribution, but applies Gaussian kernel smoothers. For an unsmoothed representation, see Empiric_Distribution
pointsA matrix containing the samples
weightsA numeric vector with the weight given to each row in points. Sum to 1
n.pointsThe number of rows in points
Empiric_Distribution, Smoothed.Empiric.Distribution
Create an smoothed empiric distribution from a set of samples
Smoothed.Empiric.Distribution( points, weights = 1, var.names = NULL, bandwidth.multipliers = 1 )Smoothed.Empiric.Distribution( points, weights = 1, var.names = NULL, bandwidth.multipliers = 1 )
points |
A matrix of values, where each row represents one sample and each column represents one variable. If a numeric vector is passed, assumed to be samples from a univariate distribution |
weights |
A numeric vector of weights, one for each row in points |
var.names |
The names of the variables in the distribution. If NULL, uses the column names from points |
Other Distribution Constructors:
Autoregressive.Multivariate.Normal.Distribution(),
Bernoulli.Distribution(),
Beta.Distribution(),
Binomial.Distribution(),
Canonical.Mixture.Distribution(),
Compound.Symmetry.Multivariate.Normal.Distribution(),
Constant.Distribution(),
Discrete.Set.Distribution(),
Empiric.Distribution(),
Logitnormal.Distribution(),
Logitnormal.Mixture(),
Logituniform.Distribution(),
Lognormal.Distribution(),
Lognormal.Mixture(),
Loguniform.Distribution(),
Multivariate.Correlated.Uniform.Distribution(),
Multivariate.Logitnormal.Distribution(),
Multivariate.Lognormal.Distribution(),
Multivariate.Normal.Distribution(),
Normal.Distribution(),
Normal.Mixture(),
Transformed.Multivariate.Normal.Distribution(),
Transformed.Normal.Distribution(),
Transformed.Normal.Mixture(),
Uniform.Distribution(),
Univariate.Canonical.Distribution(),
join.distributions()
Get a distribution that describes a subset of the variables in a given distribution
subset.distribution(dist, vars.to.keep)subset.distribution(dist, vars.to.keep)
dist |
An object of class Distribution or a subclass |
vars.to.keep |
Either a character vector with the names of the variables to keep, an integer/numeric vector with the indices of the variables to keep, or a logical vector of length n.var indicating which variables to keep |
Note to developers: this function should not be overridden. Override do.subset.distribution instead
An object of class Distribution-class
Subset a Support object
subset.support(support, keep)subset.support(support, keep)
support |
An object of class Support |
keep |
Which dimensions of the support to keep. Either a set of integer indices or a logical vector |
A Support object
An object representing support over real numbers
Join multiple univariate Support objects into one univariate Support
Support.Union(...)Support.Union(...)
... |
Objects of class Support, or lists that contain only objects of class Support |
A Union_Support object, such that is.supported is true if is.supported is true for any of its component supports
A class that represents a functional transformation, along with how to reverse the transformation and take its derivative
transform.function,reverse.transform.function,transformation.derivative,log.abs.transformation.derivativeFunctions that compute the transformation, inverse transformation, derivative of the transformation function, and log of the absolute value of the derivative of the transformation function, directly. All should take one argument, 'x', which can be either a numeric vector or numeric scalar. log.abs.transformation.derivative may be supplied as NULL; the other three functions must be defined
nameA character value with a descriptive name of the transformation
Creates a distribution where all the variables, after arbitrary transformations, follow a normal distribution
Transformed.Multivariate.Normal.Distribution( mu = rep(0, nrow(sigma)), sigma = diag(rep(1, length(mu))), lower = -Inf, upper = Inf, var.names = NULL, transformations = NULL )Transformed.Multivariate.Normal.Distribution( mu = rep(0, nrow(sigma)), sigma = diag(rep(1, length(mu))), lower = -Inf, upper = Inf, var.names = NULL, transformations = NULL )
mu, sigma
|
The mean vector and covariance matrix of the distribution (after transformations) |
lower, upper
|
The upper and lower bounds for each variable (on the original scale, NOT the transformed scale). If only one value is given, assumed to apply to all variables in the distribution |
var.names |
The names of the variables in the distribution. If NULL, uses the names of mu, the row names of sigma, or the column names of sigma, in that order |
transformations |
Objects of class transformation to be applied to each variable. Can be either an object of class transformation, the character name of a defined transformation, or a list of transformation objects. If only one transformation is supplied, assumed to apply to all variables. If this is a named list, any variables missing transformation are assmed to not be transformed |
Other Distribution Constructors:
Autoregressive.Multivariate.Normal.Distribution(),
Bernoulli.Distribution(),
Beta.Distribution(),
Binomial.Distribution(),
Canonical.Mixture.Distribution(),
Compound.Symmetry.Multivariate.Normal.Distribution(),
Constant.Distribution(),
Discrete.Set.Distribution(),
Empiric.Distribution(),
Logitnormal.Distribution(),
Logitnormal.Mixture(),
Logituniform.Distribution(),
Lognormal.Distribution(),
Lognormal.Mixture(),
Loguniform.Distribution(),
Multivariate.Correlated.Uniform.Distribution(),
Multivariate.Logitnormal.Distribution(),
Multivariate.Lognormal.Distribution(),
Multivariate.Normal.Distribution(),
Normal.Distribution(),
Normal.Mixture(),
Smoothed.Empiric.Distribution(),
Transformed.Normal.Distribution(),
Transformed.Normal.Mixture(),
Uniform.Distribution(),
Univariate.Canonical.Distribution(),
join.distributions()
Create a Distribution of a Random Variable that is Normal after an arbitrary transformation
Transformed.Normal.Distribution( mean = 0, sd = 1, transformation = NULL, lower = -Inf, upper = Inf, var.name = NULL )Transformed.Normal.Distribution( mean = 0, sd = 1, transformation = NULL, lower = -Inf, upper = Inf, var.name = NULL )
mean, sd
|
The mean and standard deviation of the random variable (after transformation has been applied) |
lower, upper
|
The lower and the upper bounds, if this is a bounded distribution. The bounds are on the ORIGINAL scale (before transformation). |
var.name |
The name of the single variable in the distribution, or NULL if no name is specified |
Other Univariate Canonical Distribution Constructors:
Bernoulli.Distribution(),
Beta.Distribution(),
Binomial.Distribution(),
Canonical.Mixture.Distribution(),
Logitnormal.Distribution(),
Logituniform.Distribution(),
Lognormal.Distribution(),
Loguniform.Distribution(),
Normal.Distribution(),
Uniform.Distribution(),
Univariate.Canonical.Distribution()
Other Distribution Constructors:
Autoregressive.Multivariate.Normal.Distribution(),
Bernoulli.Distribution(),
Beta.Distribution(),
Binomial.Distribution(),
Canonical.Mixture.Distribution(),
Compound.Symmetry.Multivariate.Normal.Distribution(),
Constant.Distribution(),
Discrete.Set.Distribution(),
Empiric.Distribution(),
Logitnormal.Distribution(),
Logitnormal.Mixture(),
Logituniform.Distribution(),
Lognormal.Distribution(),
Lognormal.Mixture(),
Loguniform.Distribution(),
Multivariate.Correlated.Uniform.Distribution(),
Multivariate.Logitnormal.Distribution(),
Multivariate.Lognormal.Distribution(),
Multivariate.Normal.Distribution(),
Normal.Distribution(),
Normal.Mixture(),
Smoothed.Empiric.Distribution(),
Transformed.Multivariate.Normal.Distribution(),
Transformed.Normal.Mixture(),
Uniform.Distribution(),
Univariate.Canonical.Distribution(),
join.distributions()
Creates a mixture of distributions representing random variables that are normal after transformation (eg, mixture of normals, log-normals, logit-normals, etc.)
Transformed.Normal.Mixture( means = 0, sds = 1, weights = 1, transformation = NULL, lower = -Inf, upper = Inf, var.name = NULL )Transformed.Normal.Mixture( means = 0, sds = 1, weights = 1, transformation = NULL, lower = -Inf, upper = Inf, var.name = NULL )
means, sds
|
The means and standard deviations of each component of the mixture (after transformation has been applied) |
weights |
The weights applied to each component of the mixture. Weights need not be normalized to sum to 1. If a scalar value is given, all components of the mixture will have the same weight |
lower, upper
|
The lower and the upper bounds, if this is a bounded distribution. The bounds are on the ORIGINAL scale (before transformation). The same bounds apply for all components of the mixture |
Other Canonical Mixture Distribution Constructors:
Logitnormal.Mixture(),
Lognormal.Mixture(),
Normal.Mixture()
Other Distribution Constructors:
Autoregressive.Multivariate.Normal.Distribution(),
Bernoulli.Distribution(),
Beta.Distribution(),
Binomial.Distribution(),
Canonical.Mixture.Distribution(),
Compound.Symmetry.Multivariate.Normal.Distribution(),
Constant.Distribution(),
Discrete.Set.Distribution(),
Empiric.Distribution(),
Logitnormal.Distribution(),
Logitnormal.Mixture(),
Logituniform.Distribution(),
Lognormal.Distribution(),
Lognormal.Mixture(),
Loguniform.Distribution(),
Multivariate.Correlated.Uniform.Distribution(),
Multivariate.Logitnormal.Distribution(),
Multivariate.Lognormal.Distribution(),
Multivariate.Normal.Distribution(),
Normal.Distribution(),
Normal.Mixture(),
Smoothed.Empiric.Distribution(),
Transformed.Multivariate.Normal.Distribution(),
Transformed.Normal.Distribution(),
Uniform.Distribution(),
Univariate.Canonical.Distribution(),
join.distributions()
Create a Uniform Distribution Object
Uniform.Distribution(min = 0, max = 1, var.name = NULL)Uniform.Distribution(min = 0, max = 1, var.name = NULL)
min, max
|
The bounds of the distribution. If either is infinite, will create an improper uniform distribution (which returns 1 for all densities, but cannot evaluate cdfs, quantiles, or generate random samples) |
var.name |
The name of the single variable in the distribution, or NULL if no name is specified |
Other Univariate Canonical Distribution Constructors:
Bernoulli.Distribution(),
Beta.Distribution(),
Binomial.Distribution(),
Canonical.Mixture.Distribution(),
Logitnormal.Distribution(),
Logituniform.Distribution(),
Lognormal.Distribution(),
Loguniform.Distribution(),
Normal.Distribution(),
Transformed.Normal.Distribution(),
Univariate.Canonical.Distribution()
Other Distribution Constructors:
Autoregressive.Multivariate.Normal.Distribution(),
Bernoulli.Distribution(),
Beta.Distribution(),
Binomial.Distribution(),
Canonical.Mixture.Distribution(),
Compound.Symmetry.Multivariate.Normal.Distribution(),
Constant.Distribution(),
Discrete.Set.Distribution(),
Empiric.Distribution(),
Logitnormal.Distribution(),
Logitnormal.Mixture(),
Logituniform.Distribution(),
Lognormal.Distribution(),
Lognormal.Mixture(),
Loguniform.Distribution(),
Multivariate.Correlated.Uniform.Distribution(),
Multivariate.Logitnormal.Distribution(),
Multivariate.Lognormal.Distribution(),
Multivariate.Normal.Distribution(),
Normal.Distribution(),
Normal.Mixture(),
Smoothed.Empiric.Distribution(),
Transformed.Multivariate.Normal.Distribution(),
Transformed.Normal.Distribution(),
Transformed.Normal.Mixture(),
Univariate.Canonical.Distribution(),
join.distributions()
An object representing the union of two or more supports over a range of real numbers
A class that represents a univariate canonical distribution, such as a normal or beta distribution
nameA short, descriptive name for the distribution
density.function.name,cdf.function.name,quantile.function.nameNames of the (elsewhere defined) functions that calculate density, cdf, and quantiles (eg 'dnorm', 'pnorm', and 'qnorm)
parametersA list of parameters that would be passed to density.function, cdf.function, and quantile.function. For example, for a normal(0,1), parameters=list(mean=0, sd=1)
p.in.bounds,log.p.in.boundsThe cumulative probability and of the log cumulative probability between the lower and upper bounds
p.lower.boundThe value of the cdf evaluated at the lower bound
transformationAn object of class transformation, defining the transformation applied to the variable before applying the distribution (eg, )
mean.value,varianceIf known, the mean and variance of the distribution. May be NA
The family of functions that create specific distributions, such as Normal.Distribution
Univariate.Canonical.Distribution( name, dist.name, parameters, var.name = NULL, support = Continuous.Support(), density.function.name = paste0("d", dist.name), cdf.function.name = paste0("p", dist.name), quantile.function.name = paste0("q", dist.name), transformation = NULL, is.improper = F, mean.value = as.numeric(NA), variance.value = as.numeric(NA) )Univariate.Canonical.Distribution( name, dist.name, parameters, var.name = NULL, support = Continuous.Support(), density.function.name = paste0("d", dist.name), cdf.function.name = paste0("p", dist.name), quantile.function.name = paste0("q", dist.name), transformation = NULL, is.improper = F, mean.value = as.numeric(NA), variance.value = as.numeric(NA) )
name |
A short, descriptive name for the distribution |
dist.name |
The root name of the distribution as used by d/r/p functions in R. For example, to create a normal distribution, dist.name='norm' (like dnorm, rnorm, pnorm). To create a beta distribution, dist.name='beta' (dbeta, rbeta, qbeta). This argument is only necessary if density.function, cdf.function, and quantile.function are not passed explicitly |
parameters |
A list of parameters that would be passed to d/r/p functions in R. For example, for a normal(0,1), parameters=list(mean=0, sd=1) |
var.name |
The name of the variable in this distribution |
support |
A support object that |
transformation |
A transformation object, if the named distribution operates on a transformation of the random variable (can also pass NULL for no transformation or the name of a predefined transformation - see |
is.improper |
Logicals indicating whether the distribution is improper/discrete |
mean.value, variance
|
If known, these values will be returned for calls to get.means, get.sds, get.covariance.matrix. If passed NA, random sampling will be used to estimate distribution parameters if requested |
density.function, cdf.function, quantile.function
|
The functions that calculate the density, cdf, and quantile respectively. These should take the standard parameters of such functions in R. density.function should take 'x', distribution-specific parameters, and 'log'. cdf.function should take 'q', distribution-specific parameters, 'lower.tail' and 'log.p'. quantile.function should take 'p', distribution-specific parameters, and 'lower.tail' and 'log.p' |
get.defined.transformation, create.transformation
Other Univariate Canonical Distribution Constructors:
Bernoulli.Distribution(),
Beta.Distribution(),
Binomial.Distribution(),
Canonical.Mixture.Distribution(),
Logitnormal.Distribution(),
Logituniform.Distribution(),
Lognormal.Distribution(),
Loguniform.Distribution(),
Normal.Distribution(),
Transformed.Normal.Distribution(),
Uniform.Distribution()
Other Distribution Constructors:
Autoregressive.Multivariate.Normal.Distribution(),
Bernoulli.Distribution(),
Beta.Distribution(),
Binomial.Distribution(),
Canonical.Mixture.Distribution(),
Compound.Symmetry.Multivariate.Normal.Distribution(),
Constant.Distribution(),
Discrete.Set.Distribution(),
Empiric.Distribution(),
Logitnormal.Distribution(),
Logitnormal.Mixture(),
Logituniform.Distribution(),
Lognormal.Distribution(),
Lognormal.Mixture(),
Loguniform.Distribution(),
Multivariate.Correlated.Uniform.Distribution(),
Multivariate.Logitnormal.Distribution(),
Multivariate.Lognormal.Distribution(),
Multivariate.Normal.Distribution(),
Normal.Distribution(),
Normal.Mixture(),
Smoothed.Empiric.Distribution(),
Transformed.Multivariate.Normal.Distribution(),
Transformed.Normal.Distribution(),
Transformed.Normal.Mixture(),
Uniform.Distribution(),
join.distributions()