Learn R Programming

AutoSEARCH (version 1.01)

regs.mean.sm: Creates the regressors of the mean specification of a SEARCH model

Description

Creates the regressors of the mean specification of a SEARCH model

Usage

regs.mean.sm(y, mc=NULL, ar=NULL, mx=NULL)

Arguments

y
numeric vector, time-series or zoo object. Note that missing values in the beginning or at the end of the series is allowed, as they are removed with the na.trim command from the zoo package
mc
logical, TRUE or FALSE (default). TRUE includes intercept in the specification, FALSE does not
ar
integer vector, say, c(2,4) or 1:4. The AR-lags to include in the specification
mx
numeric matrix, time-series or zoo object of conditioning covariates. Note that missing values in the beginning or at the end of the series is allowed, as they are removed with the na.trim command from the zoo package

Value

  • Matrix with regressors

See Also

regs.vol.sm