getARpXmat: Compute the design matrix X for AR(p) model

getARpXmatR Documentation

Compute the design matrix X for AR(p) model

Description

Compute the design matrix X for AR(p) model

Usage

getARpXmat(y, p = 1, include_intercept = FALSE)

Arguments

y

(T x 1) vector of responses

p

order of AR(p) model

include_intercept

logical; if TRUE, first column of X is ones


drkowal/dsp documentation built on July 19, 2023, 11:42 a.m.