SmoothHistogram

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

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

SmoothHistogram[{x1,x2,},espec,dfun]
plots the distribution function dfun.

SmoothHistogram[{data1,data2,},]
plots smooth kernel histograms for multiple datasets .

Details and OptionsDetails and Options

ExamplesExamplesopen allclose all

Basic Examples  (3)Basic Examples  (3)

Plot a dataset:

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

Plot several datasets:

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]=
Introduced in 2010
(8.0)
| Updated in 2014
(10.0)