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:

In[1]:=
Click for copyable input
Out[1]=

A normal distribution with invalid standard deviation:

In[2]:=
Click for copyable input
Out[2]=

Scope  (3)

Applications  (1)

Properties & Relations  (1)

See Also

DistributionParameterAssumptions  ProcessParameterQ

Introduced in 2010
(8.0)