fls.fit: FLS fit

Description Usage Arguments Value References

View source: R/RcppExports.R

Description

This function is used to fit Time-Varying Linear Regression via Flexible least squares (FLS) as discribed in R. Kalaba and L. Tesfatsion (1989).

Usage

1
fls.fit(X, y, mu, smooth = FALSE)

Arguments

X

design matrix of dimensuin n * K.

y

vector of observations of length n.

mu

parameter controling relative weight of sum of dynamic errors (r_D^2) vs sums of squared residual measurement errors (r_M^2).

smooth

logical. If TRUE, a smoothed estimate is provided.

Value

A n * K matrix coefficient estimates.

References

\insertRef

KALABA19891215fls


GediminasB/fls documentation built on Nov. 13, 2019, 12:43 a.m.