[R] [?] ARIMA in R
Francisco Cribari
cribari at de.ufpe.br
Mon May 22 13:34:40 CEST 2000
I am using R version 1.0.1 both under Linux and Windows 98.
A simple question: After fitting an ARIMA model, how can I
plot in the same graph both the original series (solid line,
say) and the fitted values implied by the estimated model
(dotted line, say)?
Example:
library(ts)
data(LakeHuron)
arima0(LakeHuron, order=c(2,0,0), xreg=1:98)
How can I plot both the original series (LakeHuron) and the
fitted values in the same graph?
Thank you in advance. Francisco.
--
Francisco Cribari-Neto voice: +55-81-2718420
Departamento de Estatistica fax: +55-81-2718422
Universidade Federal de Pernambuco e-mail: cribari at de.ufpe.br
Recife/PE, 50740-540, Brazil web: www.de.ufpe.br/~cribari/
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list