Description Usage Arguments Details Value Author(s) References See Also
Univariate Nonparametric Regression Estimation via a Hierarchical Penalty
1 2 3 |
x |
A univariate vector representing the predictor. |
y |
A univariate vector respresenting the response. |
nbasis |
The number of basis functions to be used in the
basis expansion of |
max.lambda |
The largest value of λ penalizing
the hierarchical penalty. Default:
|
lam.min.ratio |
The ratio of the smallest value of λ
to the largest λ.
Default: |
nlam |
The number λ's to compute the |
m.const |
Smoothing parameter controlling the degree of polynomial
smoothing/decay performed by the weights in the penalty
Ω.Default: |
type |
Specifies either Gaussian regression ( |
weights |
(New parameter for |
basis.type |
(New parameter for |
Solves the univariate minimization problem (see Haris et al. 2016)
argmin_{β} (1/2n) || y - Ψ_K β ||^2_2 + λΩ(β; m),
where β is a real-valued vector of length K = nbasis
,
Ψ_K is a n\times K real-valued matrix whose columns
correspond to the basis expansion of x (ordered in increasing)
complexity. The penalty function Ω is defined as
Ω(β; m) = ∑^K_{k = 1} w_{k, m} || Ψ_{k:K} β_{k:K} ||_2,
for Ψ_{k:K} denotes the submatrix of Ψ_K corresponding to the final columns k, k + 1, ..., K, and β_{k:K} the subvector of β corresponding to the final elements k, k + 1, ..., K. The weights w_{k, m} in Ω are given by the m - 1 degree polynomial
w_{k, m} = k^m - (k - 1)^m
, controlling the level of decay on higher order estimates of β.
Returns an object of class hierbasis
with elements:
x, y |
The original |
m.const |
The parameter |
nbasis |
The maximum number of basis functions used for computing
the basis expansion of |
basis.expansion |
The |
basis.expansion.means |
The |
ybar |
Mean of the response vector. |
lambdas |
Sequence of tuning parameters lambda used for penalizing the fits. |
intercept |
The |
beta |
The |
fitted.values |
The |
weights |
The weights used for smoothing/penalizing the basis functions. |
active |
The size of the active set (number of nonzero β). |
type |
The specified family |
basis.type |
Specified basis expansion family, polynomial, trigonometric, or wavelet. |
Annik Gougeon, David Fleischer (david.fleischer@mail.mcgill.ca).
Haris, A., Shojaie, A. and Simon, N. (2016). Nonparametric Regression with Adaptive Smoothness via a Convex Hierarchical Penalty. Available on request by authors.
The original HierBasis
function, as implemented by
Haris et al. (2016) can be found via
https://github.com/asadharis/HierBasis/.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.