R/FFuller.R

Defines functions FFuller

FFuller <-
function(x,p,h)
{
x <- as.matrix(x)
n <- nrow(x)
b <- fuller(x,p)
e <- RESID(x,b)
f <- {}
if(h > 0)
f <- AR.Fore(x,b,h)
return(list(coef=b,resid=e,forecast=f))
}

Try the BootPR package in your browser

Any scripts or data that you put into this service are public.

BootPR documentation built on Aug. 31, 2023, 9:08 a.m.