- data
A matrix \(M\) x \(I\) where each column represents one sample of the aggregated function — the matrix \(A\) in the model.
- weights
A matrix \(L\) x \(I\) representing the weight values associated with each sample — the matrix \(y\) in the model.
- wavelet
A string indicating the wavelet family to be used in the Discrete Wavelet Transform (DWT).
- method
A string specifying the shrinkage method applied to the empirical wavelet coefficients. Options are: "bayesian", "universal", "sure", "probability", or "cv".
- tau
A numeric value for the \(\tau\) parameter in the Bayesian shrinkage. If NULL, it is estimated from the data.
- p
A numeric value for the \(p\) parameter in the Bayesian shrinkage. If NULL, it is estimated from the data.
- sigma
A numeric value for the \(\sigma\) parameter in the Bayesian shrinkage. If NULL, it is estimated from the data.
- MC
A logical evaluating to TRUE or FALSE indicating if the integrals in the Bayesian shrinkage are approximated using Monte Carlo simulation.
- type
A string indicating whether the thresholding should be "soft" or "hard" (applies only when the method is not "bayesian").
- singular
A logical evaluating to TRUE or FALSE indicating if it adds a small constant (1e-10) to the diagonal of \(yy^T\) to stabilize the matrix inversion.
- x
A numeric vector of values at which the function is evaluated. If NULL, the default is the sequence 1:nrow(data).