Home » date » 2008 » May » 25 »

oef 9nr 2decompositie model (eigen reeks)wauters kathleen

R Software Module: rwasp_decompose.wasp (opens new window with default values)
Title produced by software: Classical Decomposition
Date of computation: Sat, 24 May 2008 16:07:15 -0600
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2008/May/25/t1211667041llifto92cao2q2b.htm/, Retrieved Sun, 25 May 2008 00:10:41 +0200
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
209 214 265 290 287 270 263 265 252 281 259 312 275 250 312 331 256 247 291 318 296 291 313 311 273 258 361 391 446 433 449 479 460 466 410 415 382 409 496 471 488 584 610 684 626 580 444 552 473 431 513 467 470 455 406 424 406 373 332 310 301 296 333 374 422 424 341 216 319 383 360 400
 
Text written by user:
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
1209NANA0.885786685146502NA
2214NANA0.83739548142601NA
3265NANA1.04207724786566NA
4290NANA1.03442208928219NA
5287NANA1.00921200424603NA
6270NANA1.02878817995583NA
7263282.481145244178266.6666666666671.059304294665670.931035590968955
8265309.992409869751270.9166666666671.144235287123040.854859640309723
9252294.5675344897274.3751.073594658732390.855491425545443
10281285.764402960724278.0416666666671.027775463967840.983327514164252
11259255.094983591689278.4583333333330.9160975020500581.01530808780843
12312259.997971609022276.2083333333330.9413111055387741.20000936187755
13275244.846202885912276.4166666666670.8857866851465021.12315403203593
14250234.296277407319279.7916666666670.837395481426011.06702506231194
15312295.776258852536283.8333333333331.042077247865661.05485139750703
16331295.930919375481286.0833333333331.034422089282191.11850428031828
17256291.409966226042288.751.009212004246030.87848745640163
18247299.334494192983290.9583333333331.028788179955830.82516383775255
19291308.080999031931290.8333333333331.059304294665670.944556791604792
20318333.067821493400291.0833333333331.144235287123040.954760500651672
21296315.055299227177293.4583333333331.073594658732390.939517604452555
22291306.2770882624152981.027775463967840.950120042119096
23313282.539737923939308.4166666666670.9160975020500581.10780877160812
24311305.063240786691324.0833333333330.9413111055387741.01946074918105
25273299.764977364995338.4166666666670.8857866851465020.910713460924402
26258294.518969113206351.7083333333330.837395481426010.876004695985577
27361380.618714782932365.251.042077247865660.948455727422336
28391392.433880121432379.3751.034422089282190.996346186723256
29446394.30754015896390.7083333333331.009212004246031.13109680788808
30433410.572216150707399.0833333333331.028788179955831.05462567355279
31449432.152014544647407.9583333333331.059304294665671.03898624763581
32479479.196202953072418.7916666666671.144235287123040.999590558205882
33460462.406166138198430.7083333333331.073594658732390.994796422897444
34466451.878612324525439.6666666666671.027775463967841.03125040063931
35410407.434364036763444.750.9160975020500581.00629705343903
36415426.217824328744452.7916666666670.9413111055387740.97368053683252
37382412.592056385531465.7916666666670.8857866851465020.92585398600853
38409402.822118044304481.0416666666670.837395481426011.01533650134628
39496517.391353565299496.51.042077247865660.958655370991623
40471525.658825036901508.1666666666671.034422089282190.896018439273679
41488519.071374183875514.3333333333331.009212004246030.940140459040477
42584536.470169672803521.4583333333331.028788179955831.08859734056823
43610562.446442788524530.9583333333331.059304294665671.08454770729052
44684612.928702135578535.6666666666671.144235287123041.11595361355537
45626576.833463514758537.2916666666671.073594658732391.08523523615579
46580552.771903704034537.8333333333331.027775463967841.04925738105268
47444491.868017142377536.9166666666670.9160975020500580.902681175693273
48552499.640090560768530.7916666666670.9413111055387741.10479525247957
49473457.877900663646516.9166666666670.8857866851465021.03302648875265
50431416.674034966226497.5833333333330.837395481426011.03438170807772
51513497.678725626507477.5833333333331.042077247865661.03078547180052
52467475.618656467875459.7916666666671.034422089282190.981879061406295
53470450.613159895853446.51.009212004246031.04302324439133
54455444.179296695931431.751.028788179955831.02436111584795
55406439.081630138919414.51.059304294665670.924657221190392
56424459.648850131386401.7083333333331.144235287123040.92244329530859
57406417.180991139096388.5833333333331.073594658732390.973198704215726
58373387.685469804201377.2083333333331.027775463967840.96212014391043
59332340.177539094588371.3333333333330.9160975020500580.975960966981085
60310346.441708134333368.0416666666670.9413111055387740.89481142922837
61301322.463261171874364.0416666666670.8857866851465020.933439669704158
62296295.321473116240352.6666666666670.837395481426011.00229758735997
63333354.697043242273340.3751.042077247865660.938829365353764
64374348.772647769646337.1666666666671.034422089282191.07233179663508
65422341.870566438343338.751.009212004246031.23438529498593
66424353.560204511488343.6666666666671.028788179955831.19922998852724
67341NANA1.05930429466567NA
68216NANA1.14423528712304NA
69319NANA1.07359465873239NA
70383NANA1.02777546396784NA
71360NANA0.916097502050058NA
72400NANA0.941311105538774NA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/25/t1211667041llifto92cao2q2b/10z7g1211666830.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/25/t1211667041llifto92cao2q2b/10z7g1211666830.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/25/t1211667041llifto92cao2q2b/2oga91211666830.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/25/t1211667041llifto92cao2q2b/2oga91211666830.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/25/t1211667041llifto92cao2q2b/3auis1211666830.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/25/t1211667041llifto92cao2q2b/3auis1211666830.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/25/t1211667041llifto92cao2q2b/4hxyj1211666831.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/25/t1211667041llifto92cao2q2b/4hxyj1211666831.ps (open in new window)


 
Parameters (Session):
par1 = multiplicative ; par2 = 12 ;
 
Parameters (R input):
par1 = multiplicative ; par2 = 12 ;
 
R code (references can be found in the software module):
par2 <- as.numeric(par2)
x <- ts(x,freq=par2)
m <- decompose(x,type=par1)
m$figure
bitmap(file='test1.png')
plot(m)
dev.off()
mylagmax <- length(x)/2
bitmap(file='test2.png')
op <- par(mfrow = c(2,2))
acf(as.numeric(x),lag.max = mylagmax,main='Observed')
acf(as.numeric(m$trend),na.action=na.pass,lag.max = mylagmax,main='Trend')
acf(as.numeric(m$seasonal),na.action=na.pass,lag.max = mylagmax,main='Seasonal')
acf(as.numeric(m$random),na.action=na.pass,lag.max = mylagmax,main='Random')
par(op)
dev.off()
bitmap(file='test3.png')
op <- par(mfrow = c(2,2))
spectrum(as.numeric(x),main='Observed')
spectrum(as.numeric(m$trend[!is.na(m$trend)]),main='Trend')
spectrum(as.numeric(m$seasonal[!is.na(m$seasonal)]),main='Seasonal')
spectrum(as.numeric(m$random[!is.na(m$random)]),main='Random')
par(op)
dev.off()
bitmap(file='test4.png')
op <- par(mfrow = c(2,2))
cpgram(as.numeric(x),main='Observed')
cpgram(as.numeric(m$trend[!is.na(m$trend)]),main='Trend')
cpgram(as.numeric(m$seasonal[!is.na(m$seasonal)]),main='Seasonal')
cpgram(as.numeric(m$random[!is.na(m$random)]),main='Random')
par(op)
dev.off()
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Classical Decomposition by Moving Averages',6,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'t',header=TRUE)
a<-table.element(a,'Observations',header=TRUE)
a<-table.element(a,'Fit',header=TRUE)
a<-table.element(a,'Trend',header=TRUE)
a<-table.element(a,'Seasonal',header=TRUE)
a<-table.element(a,'Random',header=TRUE)
a<-table.row.end(a)
for (i in 1:length(m$trend)) {
a<-table.row.start(a)
a<-table.element(a,i,header=TRUE)
a<-table.element(a,x[i])
if (par1 == 'additive') a<-table.element(a,m$trend[i]+m$seasonal[i]) else a<-table.element(a,m$trend[i]*m$seasonal[i])
a<-table.element(a,m$trend[i])
a<-table.element(a,m$seasonal[i])
a<-table.element(a,m$random[i])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable.tab')
 





Copyright

Creative Commons License

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.

Software written by Ed van Stee & Patrick Wessa


Disclaimer

Information provided on this web site is provided "AS IS" without warranty of any kind, either express or implied, including, without limitation, warranties of merchantability, fitness for a particular purpose, and noninfringement. We use reasonable efforts to include accurate and timely information and periodically update the information, and software without notice. However, we make no warranties or representations as to the accuracy or completeness of such information (or software), and we assume no liability or responsibility for errors or omissions in the content of this web site, or any software bugs in online applications. Your use of this web site is AT YOUR OWN RISK. Under no circumstances and under no legal theory shall we be liable to you or any other person for any direct, indirect, special, incidental, exemplary, or consequential damages arising from your access to, or use of, this web site.


Privacy Policy

We may request personal information to be submitted to our servers in order to be able to:

  • personalize online software applications according to your needs
  • enforce strict security rules with respect to the data that you upload (e.g. statistical data)
  • manage user sessions of online applications
  • alert you about important changes or upgrades in resources or applications

We NEVER allow other companies to directly offer registered users information about their products and services. Banner references and hyperlinks of third parties NEVER contain any personal data of the visitor.

We do NOT sell, nor transmit by any means, personal information, nor statistical data series uploaded by you to third parties.

We carefully protect your data from loss, misuse, alteration, and destruction. However, at any time, and under any circumstance you are solely responsible for managing your passwords, and keeping them secret.

We store a unique ANONYMOUS USER ID in the form of a small 'Cookie' on your computer. This allows us to track your progress when using this website which is necessary to create state-dependent features. The cookie is used for NO OTHER PURPOSE. At any time you may opt to disallow cookies from this website - this will not affect other features of this website.

We examine cookies that are used by third-parties (banner and online ads) very closely: abuse from third-parties automatically results in termination of the advertising contract without refund. We have very good reason to believe that the cookies that are produced by third parties (banner ads) do NOT cause any privacy or security risk.

FreeStatistics.org is safe. There is no need to download any software to use the applications and services contained in this website. Hence, your system's security is not compromised by their use, and your personal data - other than data you submit in the account application form, and the user-agent information that is transmitted by your browser - is never transmitted to our servers.

As a general rule, we do not log on-line behavior of individuals (other than normal logging of webserver 'hits'). However, in cases of abuse, hacking, unauthorized access, Denial of Service attacks, illegal copying, hotlinking, non-compliance with international webstandards (such as robots.txt), or any other harmful behavior, our system engineers are empowered to log, track, identify, publish, and ban misbehaving individuals - even if this leads to ban entire blocks of IP addresses, or disclosing user's identity.


FreeStatistics.org is powered by