summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
Diffstat (limited to 'man')
-rw-r--r--man/compare.Rd4
-rw-r--r--man/predict.estpoly.Rd7
2 files changed, 7 insertions, 4 deletions
diff --git a/man/compare.Rd b/man/compare.Rd
index 28e91c7..3700f0a 100644
--- a/man/compare.Rd
+++ b/man/compare.Rd
@@ -20,7 +20,9 @@ data, for comparison.
}
\examples{
data(arxsim)
-compare(data,nahead=Inf,mod1,mod2,mod3)
+mod1 <- arx(arxsim,c(1,2,2))
+mod2 <- oe(arxsim,c(2,1,1))
+compare(arxsim,nahead=Inf,mod1,mod2)
}
\seealso{
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{