DistributionParameterQ

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

DetailsDetails

  • 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.

ExamplesExamplesopen allclose all

Basic Examples (1)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]=
New in 8
New to Mathematica? Find your learning path »
Have a question? Ask support »