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

# Examples

open allclose all

## Basic Examples(1)

Define a continuous probability distribution:

 In[1]:=

Probability density function:

 In[2]:=
 Out[2]=
 In[3]:=
 Out[3]=

Cumulative distribution function:

 In[4]:=
 Out[4]=
 In[5]:=
 Out[5]=

The mean and variance:

 In[6]:=
 Out[6]=
 In[7]:=
 Out[7]=