SmoothDensityHistogram

SmoothDensityHistogram[{{x1, y1}, {x2, y2}, ...}]
plots a smooth kernel histogram of the values .

SmoothDensityHistogram[{{x1, y1}, {x2, y2}, ...}, espec]
plots a smooth kernel histogram with estimator specification espec.

SmoothDensityHistogram[{{x1, y1}, {x2, y2}, ...}, espec, dfun]
plots the distribution function dfun.

Details and OptionsDetails and Options

ExamplesExamplesopen allclose all

Basic Examples (2)Basic Examples (2)

Plot a smooth density function for a dataset:

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

Plot the probability density function of the data:

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

Cumulative distribution function:

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

Survival function:

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

Hazard function:

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

Cumulative hazard function:

In[6]:=
Click for copyable input
Out[6]=
New in 8
New to Mathematica? Find your learning path »
Have a question? Ask support »