LS.AR {BootPR}R Documentation

OLS parameter estimates and forecasts, no bias-correction

Description

The function returns parameter estimates and forecasts from OLS estimation for AR models

Usage

LS.AR(x, p, h, type)

Arguments

x a time series data set
p AR order
h the number of forecast period
type "const" for the AR model with intercept only, "const+trend" for the AR model with intercept and trend

Value

coef OLS parameter estimates
resid OLS residuals
forecast point forecasts from OLS parameter estimates

Author(s)

Jae H. Kim

Examples

data(IPdata)
LS.AR(IPdata,p=6,h=10,type="const+trend")

[Package BootPR version 0.55 Index]