best.basis | R Documentation |
best.basis
returns a selection of packets from a dyadic tree where the selection is made by minimizing the cost functionals associated with each packet.
best.basis(wpc)
wpc |
this is a list containing the cost functionals associated with each packet. Each element in the list corresponds to a level of the dyadic tree. |
The function implements best basis selection from an arbitrary tree. Typically this tree is produced by other functions in this package and this function is also used to produce a selected basis. Since best basis methods are of general interest this function has been exported for possible other uses.
A matrix of two columns where each row refers to a different selected packet. The first index refers to the tree level, the second index refers to the packet within that level.
Alessandro Cardinali
A. Cardinali and G.P. Nason (2017). Locally Stationary Wavelet Packet Processes: Basis Selection and Model Fitting. Journal of Time Series Analysis, 38:2, 151-174.
LSWPbasis
, LSWPspec
.
costs <- vector(mode = 'list', length = 4) for(i in 1:4) costs[[i]] <- rnorm(2^i)^2 best.basis(wpc = costs)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.