?arima
?write.table
groet,
Paul
Jose Narillos de Santos wrote:> Hi all,,I??m using function arima()
>
> I.e
> series is my data
>
> model<-arima(series,c(1,0,0))
> forecast<-predict(model,80)
> I want to create a variable:
> b1<-forecast$pred - 1.96*forecast$se
> and save in a txt file
>
> but using this:
>
> save(b1, file= "b1.txt")
>
> creates afile butwith this inside:
>
> ??? ]??{H???Q ????~????|???????????LJI????i??W*?????????-l)??%?? )?
m??#)????,???
> ??????RI????????????iS??f??d???b??????Gu??????????r9p9????????4;???
H?????????????????"????????L???#??R???ez??
> ????????1??y?????3pN8??????{,I??6????????W??????????
????!?????6????????=???
>
??????????{????6????l???????O????Mw_??????????????????5????K??????????Z+??????
> ??=????????? ????(???YV???????B??X????(??E2 ?? ua????z J
> Yj??+P???tSU[Pt??g??<????O??jS9@??,? ??x??@??)k??$???T???? $/????A??
d??z?????p ????????i??
> ????W?????@??r????O??d??b????r@c??????n???~???????W?? }??\M*g -??w????
??????????j<
> hfEs??! 4??????Q???h?????6%G ????&J
MHdI??t@???????????i<????@??>??????/@??2???? ??????M???? ??V#
> x=?? ????l8 h??jg????Kr????@??????|u=???????? ????n??2
> ????E??T????????????c???????????X??(????,
> ??/??2??M??????????JI??? ????????j???????????~???
???]??D??|??????{9??tn??*???????????????\lr???o??*6a?????????1:e??{??>??????'???????????{Z??l^Bb<6??????WbG??????a????eK???????5???????>??????7???Ta??cM*&????Z1?????-??W???????'??%?????????0??????BKe????7?????'
>
>
>
> Can anyone help me to do it?
>
> Do you know also a document wich expalin how works and calculates
> modelpredictions?
>
> [[alternative HTML version deleted]]
>
>
> ------------------------------------------------------------------------
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
Drs. Paul Hiemstra
Department of Physical Geography
Faculty of Geosciences
University of Utrecht
Heidelberglaan 2
P.O. Box 80.115
3508 TC Utrecht
Phone: +3130 274 3113 Mon-Tue
Phone: +3130 253 5773 Wed-Fri
http://intamap.geo.uu.nl/~paul