- data
data[, 1]
contains the values of the response variable, \(Y\);
data[, 2:(p+1)]
contains the values of the "linear" explanatory variables, \(X_1, ..., X_p\);
data[, p+2]
contains the values of the "nonparametric" explanatory variable, \(t\).
- seed
the considered seed.
- CI
method to obtain the confidence interval. It allows us to choose between: “AD” (asymptotic distribution), “B” (bootstrap) or “all” (both). The default is “AD”.
- B
number of bootstrap replications. The default is 1000.
- N
Truncation parameter used in the finite approximation of the MA(infinite) expression of \(\epsilon\).
- a
Vector which, multiplied by beta
, is used for obtaining the confidence interval of this result.
- b1
the considered bandwidth to estimate the confidence interval by asymptotic distribution. If NULL (the default), it is obtained using cross-validation.
- b2
the considered bandwidth to estimate the confidence interval by bootstrap. If NULL (the default), it is obtained using cross-validation.
- estimator
allows us the choice between “NW” (Nadaraya-Watson) or “LLP” (Local Linear Polynomial). The default is “NW”.
- kernel
allows us the choice between “gaussian”, “quadratic” (Epanechnikov kernel), “triweight” or “uniform” kernel. The default is “quadratic”.
- p.arima
the considered p to fit the model ARMA(p,q).
- q.arima
the considered q to fit the model ARMA(p,q).
- p.max
if Var.Cov.eps=NULL
, the ARMA models are selected between the models ARMA(p,q) with 0<=p<=p.max
and 0<=q<=q.max
. The default is 3.
- q.max
if Var.Cov.eps=NULL
, the ARMA models are selected between the models ARMA(p,q) with 0<=p<=p.max
and 0<=q<=q.max
. The default is 3.
- alpha
1 - alpha
is the confidence level of the confidence interval. The default is 0.05.
- alpha2
significance level used to check (if needed) the ARMA model fitted to the residuals. The default is 0.05.
- num.lb
if Var.Cov.eps=NULL
, it checks the suitability of the selected ARMA model according to the Ljung-Box test and the t-test. It uses up to num.lb
delays in the Ljung-Box test. The default is 10.
- ic
if Var.Cov.eps=NULL
, ic
contains the information criterion used to suggest the ARMA model. It allows us to choose between: "AIC", "AICC" or "BIC" (the default).
- Var.Cov.eps
n x n
matrix of variances-covariances associated to the random errors of the regression model. If NULL (the default), the function tries to estimate it: it fits an ARMA model (selected according to an information criterium) to the residuals from the fitted regression model and, then, it obtains the var-cov matrix of such ARMA model.