summaryrefslogtreecommitdiff
path: root/man/predict.estpoly.Rd
diff options
context:
space:
mode:
Diffstat (limited to 'man/predict.estpoly.Rd')
-rw-r--r--man/predict.estpoly.Rd7
1 files changed, 4 insertions, 3 deletions
diff --git a/man/predict.estpoly.Rd b/man/predict.estpoly.Rd
index 511ed71..4c19ed5 100644
--- a/man/predict.estpoly.Rd
+++ b/man/predict.estpoly.Rd
@@ -23,9 +23,10 @@ Predicts the output of an identified model (\code{estpoly}) object K steps ahead
}
\examples{
data(arxsim)
-Yhat <- predict(mod1,data) # 1-step ahead predictions
-Yhat_2 <- predict(mod1,data,nahead=2) # 2-step ahead predictions
-Yhat_inf <- predict(mod1,data,nahead=Inf) # Infinite-step ahead predictions
+mod1 <- oe(arxsim,c(2,1,1))
+Yhat <- predict(mod1,arxsim) # 1-step ahead predictions
+Yhat_2 <- predict(mod1,arxsim,nahead=2) # 2-step ahead predictions
+Yhat_inf <- predict(mod1,arxsim,nahead=Inf) # Infinite-step ahead predictions
}
\references{