pw_transform: Prais-Winsten Transformation
Description
Performs the Prais-Winsten transformation for a given data set.
Usage
pw_transform(data, rho, intercept = TRUE)
Arguments
data
a named matrix containing the data, which should be transformed.
rho
the AR(1) serial correlation coefficient \(\rho\).
intercept
logal. If TRUE (default) a column of intercept values is added.