Home » date » 2010 » Nov » 28 »

Paper - Ontleden tijdreeks 25-50 jaar

*The author of this computation has been verified*
R Software Module: /rwasp_decompose.wasp (opens new window with default values)
Title produced by software: Classical Decomposition
Date of computation: Sun, 28 Nov 2010 19:03:27 +0000
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2010/Nov/28/t1290971294rsqkg1igt7nnmzr.htm/, Retrieved Sun, 28 Nov 2010 20:08:14 +0100
 
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/2010/Nov/28/t1290971294rsqkg1igt7nnmzr.htm/},
    year = {2010},
}
@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 = {2010},
    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:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
376.974 377.632 378.205 370.861 369.167 371.551 382.842 381.903 384.502 392.058 384.359 388.884 386.586 387.495 385.705 378.67 377.367 376.911 389.827 387.82 387.267 380.575 372.402 376.74 377.795 376.126 370.804 367.98 367.866 366.121 379.421 378.519 372.423 355.072 344.693 342.892 344.178 337.606 327.103 323.953 316.532 306.307 327.225 329.573 313.761 307.836 300.074 304.198 306.122 300.414 292.133 290.616 280.244 285.179 305.486 305.957 293.886 289.441 288.776 299.149 306.532 309.914 313.468 314.901 309.16 316.15 336.544 339.196 326.738 320.838 318.62 331.533 335.378
 
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
1376.974NANA2.16510555555555NA
2377.632NANA0.975213888888889NA
3378.205NANA-2.65592777777778NA
4370.861NANA-4.19966111111111NA
5369.167NANA-8.0485361111111NA
6371.551NANA-7.12298611111111NA
7382.842391.660672222222380.31211.3486722222222-8.81867222222223
8381.903391.265238888889381.12345833333310.1417805555555-9.3622388888889
9384.502385.980688888889381.8469166666674.13377222222222-1.47868888888877
10392.058381.244455555556382.484791666667-1.2403361111110810.8135444444445
11384.359378.999122222222383.151833333333-4.152711111111105.3598777777778
12388.884382.372447222222383.716833333333-1.344386111111106.51155277777781
13386.586386.396313888889384.2312083333332.165105555555550.189686111111143
14387.495385.744005555556384.7687916666670.9752138888888891.75099444444447
15385.705382.474613888889385.130541666667-2.655927777777783.2303861111111
16378.67380.567630555556384.767291666667-4.19966111111111-1.89763055555562
17377.367375.742088888889383.790625-8.04853611111111.62491111111115
18376.911375.663430555556382.786416666667-7.122986111111111.24756944444442
19389.827393.262797222222381.91412511.3486722222222-3.43579722222222
20387.82391.215905555556381.07412510.1417805555555-3.39590555555554
21387.267384.113313888889379.9795416666674.133772222222223.15368611111114
22380.575377.672913888889378.91325-1.240336111111082.90208611111109
23372.402373.919247222222378.071958333333-4.15271111111110-1.51724722222230
24376.74375.882113888889377.2265-1.344386111111100.8578861111111
25377.795378.508438888889376.3433333333332.16510555555555-0.713438888888845
26376.126376.497422222222375.5222083333330.975213888888889-0.371422222222236
27370.804371.860238888889374.516166666667-2.65592777777778-1.05623888888886
28367.98368.635380555556372.835041666667-4.19966111111111-0.655380555555496
29367.866362.569338888889370.617875-8.04853611111115.29666111111112
30366.121360.930013888889368.053-7.122986111111115.1909861111111
31379.421376.590630555556365.24195833333311.34867222222222.83036944444439
32378.519372.378030555556362.2362510.14178055555556.14096944444441
33372.423362.944147222222358.8103754.133772222222229.47885277777777
34355.072353.914705555556355.155041666667-1.240336111111081.15729444444446
35344.693347.028955555556351.181666666667-4.15271111111110-2.33595555555559
36342.892345.206113888889346.5505-1.34438611111110-2.31411388888893
37344.178344.048522222222341.8834166666672.165105555555550.129477777777765
38337.606338.644380555556337.6691666666670.975213888888889-1.03838055555559
39327.103330.529572222222333.1855-2.65592777777778-3.42657222222226
40323.953324.573422222222328.773083333333-4.19966111111111-0.620422222222317
41316.532316.897255555556324.945791666667-8.0485361111111-0.365255555555621
42306.307314.351430555556321.474416666667-7.12298611111111-8.0444305555555
43327.225329.625172222222318.276511.3486722222222-2.40017222222218
44329.573325.282947222222315.14116666666710.14178055555554.29005277777776
45313.761316.268188888889312.1344166666674.13377222222222-2.50718888888889
46307.836308.047955555556309.288291666667-1.24033611111108-0.211955555555505
47300.074302.234538888889306.38725-4.15271111111110-2.16053888888882
48304.198302.650530555556303.994916666667-1.344386111111101.54746944444440
49306.122304.373897222222302.2087916666672.165105555555551.74810277777777
50300.414301.294213888889300.3190.975213888888889-0.880213888888932
51292.133295.850947222222298.506875-2.65592777777778-3.71794722222222
52290.616292.712630555556296.912291666667-4.19966111111111-2.09663055555558
53280.244287.626547222222295.675083333333-8.0485361111111-7.38254722222217
54285.179287.870972222222294.993958333333-7.12298611111111-2.69197222222220
55305.486306.149338888889294.80066666666711.3486722222222-0.663338888888859
56305.957305.355363888889295.21358333333310.14178055555550.601636111111077
57293.886300.632147222222296.4983754.13377222222222-6.74614722222219
58289.441297.158872222222298.399208333333-1.24033611111108-7.71787222222224
59288.776296.463205555556300.615916666667-4.15271111111110-7.68720555555552
60299.149301.766822222222303.111208333333-1.34438611111110-2.61782222222223
61306.532307.860855555556305.695752.16510555555555-1.32885555555561
62309.914309.350005555556308.3747916666670.9752138888888890.563994444444461
63313.468308.472655555556311.128583333333-2.655927777777784.99534444444447
64314.901309.605963888889313.805625-4.199661111111115.29503611111113
65309.16308.308797222222316.357333333333-8.04853611111110.851202777777814
66316.15311.827180555556318.950166666667-7.122986111111114.32281944444446
67336.544332.850088888889321.50141666666711.34867222222223.69391111111105
68339.196NANA10.1417805555555NA
69326.738NANA4.13377222222222NA
70320.838NANA-1.24033611111108NA
71318.62NANA-4.15271111111110NA
72331.533NANA-1.34438611111110NA
73335.378NANANANA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Nov/28/t1290971294rsqkg1igt7nnmzr/10cbe1290971004.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/28/t1290971294rsqkg1igt7nnmzr/10cbe1290971004.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/28/t1290971294rsqkg1igt7nnmzr/20cbe1290971004.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/28/t1290971294rsqkg1igt7nnmzr/20cbe1290971004.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/28/t1290971294rsqkg1igt7nnmzr/3slsz1290971004.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/28/t1290971294rsqkg1igt7nnmzr/3slsz1290971004.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/28/t1290971294rsqkg1igt7nnmzr/4slsz1290971004.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/28/t1290971294rsqkg1igt7nnmzr/4slsz1290971004.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])
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