PDF[dist, var]
calculates the PDF of dist
.
Attributes[PDF] := {Protected, ReadProtected}
Simple examples
In[1]:= PDF[NormalDistribution[μ, σ], x] Out[1]= (E^(((x + μ*-1)^2)/((2*σ^2))*-1))/(Sqrt[2*Pi]*σ)
In[2]:= PDF[LogNormalDistribution[μ, σ], x] Out[2]= Piecewise[{{(1)/(E^(((μ*-1 + Log[x])^2))/((2*σ^2))*Sqrt[2*Pi]*x*σ), (x) > (0)}}, 0]