ProbabilityDistribution

ProbabilityDistribution[pdf,{x,xmin,xmax}]
represents the continuous distribution with PDF pdf in the variable x where the pdf is taken to be zero for and .

ProbabilityDistribution[pdf,{x,xmin,xmax,dx}]
represents the discrete distribution with PDF pdf in the variable x where the pdf is taken to be zero for and .

ProbabilityDistribution[pdf,{x,},{y,},]
represents a multivariate distribution with PDF pdf in the variables x, y, , etc.

ProbabilityDistribution[{"CDF",cdf},]
represents a probability distribution with CDF given by cdf.

ProbabilityDistribution[{"SF",sf},]
represents a probability distribution with survival function given by sf.

ProbabilityDistribution[{"HF",hf},]
represents a probability distribution with hazard function given by hf.

Details and OptionsDetails and Options

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

Define a continuous probability distribution:

In[1]:=
Click for copyable input

Probability density function:

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

Cumulative distribution function:

In[4]:=
Click for copyable input
Out[4]=
In[5]:=
Click for copyable input
Out[5]=

The mean and variance:

In[6]:=
Click for copyable input
Out[6]=
In[7]:=
Click for copyable input
Out[7]=
Introduced in 2010
(8.0)
| Updated in 2015
(10.2)