DistributionParameterQ

DistributionParameterQ[dist]

yields True if dist is a valid distribution, and yields False otherwise.

Details

  • DistributionParameterQ checks that numeric parameters meet parameter assumptions for the input distribution dist and assumes symbolic parameters are valid.
  • DistributionParameterQ issues a message when it encounters an invalid parameter.

Examples

open allclose all

Basic Examples  (1)

Check a normal distribution with valid parameters:

A normal distribution with invalid standard deviation:

Scope  (3)

Test distributions with combinations of numeric and symbolic parameters:

Check valid univariate and multivariate discrete and continuous distributions:

Check invalid distributions:

Test a constructed distribution:

A data distribution:

Applications  (1)

Define a function for valid distributions:

The function evaluates on a distribution:

It returns unevaluated for other inputs:

Properties & Relations  (1)

DistributionParameterQ assumes symbolic parameters are valid:

DistributionParameterAssumptions returns conditions on parameters:

With numeric parameters, the outputs are equivalent:

Wolfram Research (2010), DistributionParameterQ, Wolfram Language function, https://reference.wolfram.com/language/ref/DistributionParameterQ.html.

Text

Wolfram Research (2010), DistributionParameterQ, Wolfram Language function, https://reference.wolfram.com/language/ref/DistributionParameterQ.html.

CMS

Wolfram Language. 2010. "DistributionParameterQ." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/DistributionParameterQ.html.

APA

Wolfram Language. (2010). DistributionParameterQ. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/DistributionParameterQ.html

BibTeX

@misc{reference.wolfram_2024_distributionparameterq, author="Wolfram Research", title="{DistributionParameterQ}", year="2010", howpublished="\url{https://reference.wolfram.com/language/ref/DistributionParameterQ.html}", note=[Accessed: 18-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_distributionparameterq, organization={Wolfram Research}, title={DistributionParameterQ}, year={2010}, url={https://reference.wolfram.com/language/ref/DistributionParameterQ.html}, note=[Accessed: 18-November-2024 ]}