Wavelet Toolbox | ![]() ![]() |
One-Dimensional Estimation Using the Graphical Interface
Starting the Density Estimation 1-D Tool..
ex1cusp1.mat
, which should reside in the MATLAB directory toolbox/wavelet/wavedemo
. Click the OK button. The noisy cusp data is loaded into the Density Estimation 1-D tool.
The sample, a 64-bin histogram, and the processed data obtained after a binning, are displayed. In this example, we'll accept the default value for the number of bins (250). The binned data will be processed by wavelet decomposition.
Performing a Wavelet Decomposition of the Binned Data..
sym6
wavelet from the Wavelet menu and select 4 from the Level menu, and then click the Decompose button. After a pause for computation, the tool displays the detail coefficients of the decomposition of the binned data.
Performing a Density Estimation..
We'll accept the defaults of global soft thresholding. The sliders located on the right of the window control the level dependent thresholds, indicated by yellow dotted lines running horizontally through the graphs on the left of the window.
You can see that the estimation process delivers a very irregular resulting
density. The density estimate (in yellow) is the normalized sum of the
signals located below it: the approximation a4
and the reconstructed details
after coefficient thresholding.
You can experiment with the various predefined thresholding strategies by selecting the appropriate options from the menu located on the right of the window or directly by dragging the yellow lines with the left mouse button. Let's try another estimation method.
The estimated density is more satisfactory. It correctly identifies the smooth part of the density and the cusp at 0.7.
![]() | One-Dimensional Wavelet Density Estimation | Importing and Exporting Information from the Graphical Interface | ![]() |