[R] Writing the ARMA Parameters into a file

Jason Turner jasont at indigoindustrial.co.nz
Thu Jul 25 10:54:55 CEST 2002


On Thu, Jul 25, 2002 at 11:40:57AM +0200, Ingo Kruck wrote:
> I am trying to write the R-computed parameters of an ARIMA process into a
> file.

sink(), perhaps?

> sink(file="test.txt")
> print(result)
> sink()
> system("cat test.txt")

Call:
arima(x = zz, order = c(1, 0, 1))

Coefficients:
          ar1     ma1  intercept
      -0.8421  0.8969     0.0680
s.e.   0.1540  0.1253     0.0843

sigma^2 estimated as 0.663:  log likelihood = -120.16,  aic = 248.32


Cheers

Jason
-- 
Indigo Industrial Controls Ltd.
64-21-343-545
jasont at indigoindustrial.co.nz
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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