lagx: Lag Functions

Description Usage Arguments Note

View source: R/lagx.R

Description

For preparing the transformed x and y in the Durbin stage 1 fit

Usage

1
2
lagx(x, s1, s2)
lagmat(x, p)

Arguments

x

a vector or the design matrix, including intercept, i.e. the first column being ones.

s1

starting index of the slice.

s2

end index of the slice.

p

the order of autoregressive errors.

Note

These function are for internal use.


DBfit documentation built on May 1, 2021, 1:09 a.m.