lm_per_AE: Fitting periodic coefficients regression model by using Adaptive estimation method
Description
lm_per_AE() function gives the adaptive estimation of parameters, intercept \(\mu_s\), slope \(\boldsymbol{\beta}_s\), and standard deviation \(\sigma_s\), of a periodic coefficients regression model. \(\widehat{\boldsymbol{\theta}}_{AE} ={\widehat{\boldsymbol{\vartheta} }_{LSE} }+\frac{1}{\sqrt{n}}{\mathbf{\Gamma}}^{-1}\mathbf{\Delta}\).
Usage
lm_per_AE(x,y,s)
Value
Residuals
the residuals, that is response minus fitted values
Coefficients
a named vector of coefficients
Root mean square error
The root mean square error
Arguments
x
A list of independent variables with dimension \(p\).