Solve Optimization Problems in Density Estimation

Leverage the symbolic capabilities of KernelMixtureDistribution to solve for the least-squares cross-validation bandwidth. This method uses leave-one-out cross-validation to select a bandwidth that minimizes the integrated squared error of the resulting estimate.

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