Hello forum members, I am taking this R course which I have to admit that it is beyond my capability. I am asked to analyze the following data(file attached) according to the question provided below:
1. The file [data_13-9.txt] contains a data of length 225, which seems to have some cycle pattern. (1) Fit a suitable model for this data, then report the model equation. (2) Provide the forecast values for 3-steps ahead and 6-steps ahead. I am desperately seeking for your help, since I really don't know where to start.. I have done "plot.ts(data.13-6)", but not further. Above question is just part of the whole task, but I believe solving this would be very much helpful for me to jump in to the other questions. It would be easier for me to follow if your answer is in R script.. I appreciate your patience and help. Thank you so much in advance! Cheers, Lia
fourth_a.ts 1 -0.0242227774450564 2 0.447778425867187 3 0.0679634009051251 4 0.390085614914361 5 0.249535226083153 6 0.518797872921499 7 -0.0969256279112136 8 0.123337983703432 9 -0.414941322119016 10 -0.27757276812968 11 0.0403939285820523 12 0.494211788018315 13 0.124244228153442 14 0.394493565117432 15 0.188705401390586 16 0.532762644104765 17 -0.10747895472636 18 0.144164346660537 19 -0.336048738751554 20 -0.268668787023198 21 0.0632175364558109 22 0.425890066866375 23 0.129576388534439 24 0.434428059119178 25 0.166373082777172 26 0.500324747168639 27 -0.181757008467706 28 0.111908426500126 29 -0.271053619415509 30 -0.167744715393572 31 -0.0338728333227656 32 0.333625139545928 33 0.0140758980245519 34 0.357007127635719 35 0.117528321727847 36 0.436606929603184 37 -0.281483140210634 38 0.0207127868483681 39 -0.347869271054934 40 -0.173998579595848 41 -0.0799206011874377 42 0.277044216890528 43 -0.114919716596858 44 0.284979270819777 45 -0.0204983858654412 46 0.404494915834395 47 -0.293744301550975 48 0.127254025577103 49 -0.260160101188769 50 -0.0875216627615043 51 -0.0462217977187355 52 0.397719199372734 53 -0.0591056840364732 54 0.367738474710558 55 -0.0152206137909984 56 0.353167727849039 57 -0.312136059481424 58 0.143633095475107 59 -0.171180250675521 60 -0.0465141674925802 61 0.0899046896169316 62 0.598910847300957 63 0.0475490561242251 64 0.358240966214597 65 -0.115970806757625 66 0.322290982770865 67 -0.286140052945316 68 0.0618578078197809 69 -0.212161273189703 70 -0.0454341579685268 71 0.0105666268253198 72 0.581041116690388 73 0.0693941384243427 74 0.261971378607031 75 -0.123479577576325 76 0.367590419177466 77 -0.141235430279281 78 0.116237028180501 79 -0.198695126295741 80 -0.0657961678537194 81 -0.0135147919675166 82 0.64984396453257 83 -0.0167548399541178 84 0.227526983440523 85 -0.299388449116629 86 0.416617177307962 87 -0.203407983560365 88 -0.0023010455436364 89 -0.282560660653303 90 -0.176413766464725 91 -0.0983101390414709 92 0.676705573655853 93 0.0203031107706873 94 0.312294913410111 95 -0.165489563226253 96 0.495102364234008 97 -0.305931623403696 98 0.0254406084608136 99 -0.225414817884392 100 -0.15036962703039 101 -0.112423279517229 102 0.745007684199088 103 0.0255308466866797 104 0.315917556432058 105 -0.303111962111323 106 0.4422161899518 107 -0.369563414156803 108 0.0535188548883159 109 -0.164608441001884 110 -0.156343742785993 111 -0.207438206198236 112 0.689341282064895 113 -0.00226758654004458 114 0.288620788540252 115 -0.400804924124587 116 0.359566102139385 117 -0.321517807983831 118 0.00695988179093469 119 -0.231063555270884 120 -0.0754597599841716 121 -0.217474888732617 122 0.683362779387654 123 -0.00314961139535584 124 0.30330965844177 125 -0.345238161601586 126 0.360311898301801 127 -0.301677126208083 128 0.0752078039771654 129 -0.155192129731062 130 -0.061593861998895 131 -0.219884190719033 132 0.628023504848516 133 -0.0382384606055213 134 0.297499086480709 135 -0.346531677222434 136 0.327798639134225 137 -0.391356801473802 138 0.0491703726922144 139 -0.249887313782597 140 -0.114655677012198 141 -0.220433378749168 142 0.560059582446338 143 -0.196920702930255 144 0.219878996139467 145 -0.373914844022043 146 0.292758745532306 147 -0.471257747874178 148 0.101291169049118 149 -0.177115964022913 150 -0.132451723823155 151 -0.21848909838528 152 0.514021082036989 153 -0.211628524400154 154 0.249156930945686 155 -0.277957223804047 156 0.292060580594635 157 -0.411605289128537 158 0.15610957238629 159 -0.167147715462073 160 -0.116581851584324 161 -0.234964260449157 162 0.526997072058525 163 -0.234040498456114 164 0.193292408158503 165 -0.286173628961541 166 0.329912374179291 167 -0.439242525292821 168 0.12873648130915 169 -0.211483057184516 170 -0.160118716712957 171 -0.168318618554501 172 0.553840105722893 173 -0.184533155434883 174 0.134661753730845 175 -0.264620194457709 176 0.378708889591781 177 -0.400340933892769 178 0.105012175958662 179 -0.28484391241728 180 -0.200352172901001 181 -0.217957678983035 182 0.524658753398018 183 -0.287612226565405 184 0.0883221554409499 185 -0.341060900924494 186 0.263243703023783 187 -0.430524950362145 188 0.073447743960423 189 -0.360135307960038 190 -0.245117659025775 191 -0.224060777472356 192 0.558292040382389 193 -0.232121189219085 194 0.198573003982196 195 -0.328853987308007 196 0.236404318927077 197 -0.400985244515162 198 0.0974478031384133 199 -0.382761496314351 200 -0.169842414452298 201 -0.126470090270059 202 0.56566108701561 203 -0.261072841655357 204 0.116756010565968 205 -0.348463293841007 206 0.248673973810354 207 -0.30726639828461 208 0.164793650388641 209 -0.405712873570711 210 -0.14634664930125 211 -0.189300141404592 212 0.497447286812312 213 -0.40434597513608 214 0.0310354180559974 215 -0.417353746807388 216 0.168938560946504 217 -0.316782981470489 218 0.181235173313896 219 -0.386664119093966 220 -0.179256321862778 221 -0.213160895671369 222 0.417867789679067 223 -0.363034274119974 224 0.0658399806102965 225 -0.309143911660818 226 0.263322896383933
______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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.