Learn R Programming

ftsa (version 1.2)

fplsrweightselect: Selecting an optimal weight parameter for the weighted functional partial least squares regression

Description

Selecting an optimal geometrically decaying weight used in the fplsr.

Usage

fplsrweightselect(data, errortype = c("L1norm", "L2norm", "Linfnorm"), h)

Arguments

Value

minimumOptimal weight parameter.objectiveOptimal error.

Rdversion

1.1

Details

The optimal weight parameter is selected by minimizing an error measure, using the optimize function.

References

R. J. Hyndman and H. L. Shang (2009) "Forecasting functional time series (with discussion)", Journal of the Korean Statistical Society, 38(3), 199-221.

See Also

ftsmweightselect

Examples

Run this code
fplsrweightselect(Australiasmoothfertility, errortype = "L2norm", h = 10)

Run the code above in your browser using DataLab