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Æ...@¶,ŠË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Ã...@ã­§‹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@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.

Reply via email to