Home » date » 2009 » Jun » 01 »

Eigen cijfers Classical Decomposition 1 Filip Bosschaerts

*Unverified author*
R Software Module: rwasp_decompose.wasp (opens new window with default values)
Title produced by software: Classical Decomposition
Date of computation: Mon, 01 Jun 2009 13:31:44 -0600
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2009/Jun/01/t12438847607347m4rqlfa5f4b.htm/, Retrieved Mon, 01 Jun 2009 21:32:44 +0200
 
BibTeX entries for LaTeX users:
@Manual{KEY,
    author = {{YOUR NAME}},
    publisher = {Office for Research Development and Education},
    title = {Statistical Computations at FreeStatistics.org, URL http://www.freestatistics.org/blog/date/2009/Jun/01/t12438847607347m4rqlfa5f4b.htm/},
    year = {2009},
}
@Manual{R,
    title = {R: A Language and Environment for Statistical Computing},
    author = {{R Development Core Team}},
    organization = {R Foundation for Statistical Computing},
    address = {Vienna, Austria},
    year = {2009},
    note = {{ISBN} 3-900051-07-0},
    url = {http://www.R-project.org},
}
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
Filip Bosschaerts
 
Dataseries X:
» Textbox « » Textfile « » CSV «
528222 516141 501866 506174 517945 533590 528379 477580 469357 490243 492622 507561 516922 514258 509846 527070 541657 564591 555362 498662 511038 525919 531673 548854 560576 557274 565742 587625 619916 625809 619567 572942 572775 574205 579799 590072 593408 597141 595404 612117 628232 628884 620735 569028 567456 573100 584428 589379 590865 595454 594167 611324 612613 610763 593530 542722 536662 543599 555332 560854 562325 554788 547344 565464 577992 579714 569323 506971 500857 509127 509933 517009 519164 512238 509239 518585 522975 525192 516847 455626
 
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'Gwilym Jenkins' @ 72.249.127.135


Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
1528222NANA33.938194444465NA
2516141NANA-1588.38680555553NA
3501866NANA-3378.21180555556NA
4506174NANA14421.3215277777NA
5517945NANA29481.6965277778NA
6533590NANA35128.9048611111NA
7528379530118.521527778505335.83333333324782.6881944444-1739.52152777766
8477580475928.979861111504786.541666667-28857.56180555551651.02013888897
9469357475897.513194444505040.583333333-29143.0701388889-6540.5131944443
10490243484608.846527778506243.75-21634.90347222225634.15347222239
11492622493736.904861111508102.416666667-14365.5118055555-1114.90486111096
12507561505501.221527778510382.125-4880.903472222212059.77847222233
13516922512832.063194444512798.12533.9381944444654089.93680555566
14514258513212.446527778514800.833333333-1588.386805555531045.55347222229
15509846514037.746527778517415.958333333-3378.21180555556-4191.74652777769
16527070535060.488194444520639.16666666714421.3215277777-7990.48819444439
17541657553234.488194444523752.79166666729481.6965277778-11577.4881944444
18564591562229.363194444527100.45833333335128.90486111112361.63680555567
19555362555422.604861111530639.91666666724782.6881944444-60.6048611110309
20498662505393.604861111534251.166666667-28857.5618055555-6731.60486111115
21511038509229.429861111538372.5-29143.07013888891808.5701388889
22525919521589.721527778543224.625-21634.90347222224329.27847222215
23531673534643.029861111549008.541666667-14365.5118055555-2970.02986111108
24548854549939.179861111554820.083333333-4880.90347222221-1085.1798611111
25560576560079.979861111560046.04166666733.938194444465496.020138888853
26557274564227.863194444565816.25-1588.38680555553-6953.86319444445
27565742568105.413194444571483.625-3378.21180555556-2363.41319444450
28587625590489.238194444576067.91666666714421.3215277777-2864.23819444433
29619916609566.779861111580085.08333333329481.696527777810349.2201388888
30625809618936.654861111583807.7535128.90486111116872.34513888892
31619567611675.854861111586893.16666666724782.68819444447891.14513888885
32572942561064.729861111589922.291666667-28857.561805555511877.2701388889
33572775563676.263194444592819.333333333-29143.07013888899098.73680555553
34574205573440.846527778595075.75-21634.9034722222764.153472222155
35579799582077.238194444596442.75-14365.5118055555-2278.23819444445
36590072592036.471527778596917.375-4880.90347222221-1964.47152777785
37593408597128.104861111597094.16666666733.938194444465-3720.10486111115
38597141595391.363194444596979.75-1588.386805555531749.63680555555
39595404593216.829861111596595.041666667-3378.211805555562187.17013888888
40612117610748.696527778596327.37514421.32152777771368.30347222218
41628232625955.904861111596474.20833333329481.69652777782276.09513888892
42628884631767.113194444596638.20833333335128.9048611111-2883.11319444445
43620735621286.063194445596503.37524782.6881944444-551.06319444452
44569028567469.563194445596327.125-28857.56180555551558.43680555548
45567456567062.221527778596205.291666667-29143.0701388889393.778472222155
46573100574485.804861111596120.708333333-21634.9034722222-1385.8048611111
47584428581071.363194444595436.875-14365.51180555553356.63680555555
48589379589150.138194444594031.041666667-4880.90347222221228.861805555527
49590865592176.396527778592142.45833333333.938194444465-1311.39652777789
50595454588324.446527778589912.833333333-1588.386805555537129.5534722223
51594167584155.454861111587533.666666667-3378.2118055555610011.5451388888
52611324599442.696527778585021.37514421.321527777711881.3034722223
53612613612061.529861111582579.83333333329481.6965277778551.470138888806
54610763615307.863194444580178.95833333335128.9048611111-4544.86319444445
55593530602583.938194444577801.2524782.6881944444-9053.9381944444
56542722546060.104861111574917.666666667-28857.5618055555-3338.10486111115
57536662542129.221527778571272.291666667-29143.0701388889-5467.22152777773
58543599545775.596527778567410.5-21634.9034722222-2176.59652777785
59555332549691.613194444564057.125-14365.51180555555640.38680555567
60560854556439.971527778561320.875-4880.903472222214414.02847222215
61562325559052.479861111559018.54166666733.9381944444653272.52013888885
62554788554931.904861111556520.291666667-1588.38680555553-143.904861111077
63547344550160.579861111553538.791666667-3378.21180555556-2816.57986111112
64565464565031.904861111550610.58333333314421.3215277777432.095138888923
65577992576764.321527778547282.62529481.69652777781227.67847222218
66579714578693.029861111543564.12535128.90486111111020.97013888892
67569323564721.563194444539938.87524782.68819444444601.43680555571
68506971507510.021527778536367.583333333-28857.5618055555-539.021527777775
69500857503863.888194444533006.958333333-29143.0701388889-3006.88819444436
70509127507831.054861111529465.958333333-21634.90347222221295.9451388889
71509933510854.779861111525220.291666667-14365.5118055555-921.779861111077
72517009515775.263194444520656.166666667-4880.903472222211233.73680555559
73519164NA516197.916666667NANA
74512238NA511872.041666667NANA
75509239NANANANA
76518585NANANANA
77522975NANANANA
78525192NANANANA
79516847NANANANA
80455626NANANANA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/01/t12438847607347m4rqlfa5f4b/1y8xu1243884702.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/01/t12438847607347m4rqlfa5f4b/1y8xu1243884702.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/01/t12438847607347m4rqlfa5f4b/2nro71243884702.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/01/t12438847607347m4rqlfa5f4b/2nro71243884702.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/01/t12438847607347m4rqlfa5f4b/3qx1m1243884702.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/01/t12438847607347m4rqlfa5f4b/3qx1m1243884702.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/01/t12438847607347m4rqlfa5f4b/4zd2z1243884702.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/01/t12438847607347m4rqlfa5f4b/4zd2z1243884702.ps (open in new window)


 
Parameters (Session):
par1 = additive ; par2 = 12 ;
 
Parameters (R input):
par1 = additive ; 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