Home » date » 2008 » May » 25 »

Classical decomposition prijsindexcijfer ruwe aardolie_Jan De Cleermaecker

R Software Module: rwasp_decompose.wasp (opens new window with default values)
Title produced by software: Classical Decomposition
Date of computation: Sun, 25 May 2008 06:51:54 -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/t1211719981x5kkkizh9pmcqmh.htm/, Retrieved Sun, 25 May 2008 14:53:01 +0200
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
68,4 70,6 83,9 90,1 90,6 87,1 90,8 94,1 99,8 96,8 87 96,3 107,1 115,2 106,1 89,5 91,3 97,6 100,7 104,6 94,7 101,8 102,5 105,3 110,3 109,8 117,3 118,8 131,3 125,9 133,1 147 145,8 164,4 149,8 137,7 151,7 156,8 180 180,4 170,4 191,6 199,5 218,2 217,5 205 194 199,3 219,3 211,1 215,2 240,2 242,2 240,7 255,4 253 218,2 203,7 205,6 215,6 188,5 202,9 214 230,3 230 241 259,6 247,8 270,3 289,7 322,7 315 320,2
 
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 time13 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
168.4NANA-1.13350694444444NA
270.6NANA-3.37829861111111NA
383.9NANA0.158159722222228NA
490.1NANA0.386284722222216NA
590.6NANA-0.387673611111121NA
687.1NANA2.28420138888888NA
790.897.989409722222289.57083333333338.4185763888889-7.18940972222224
894.1108.22378472222293.041666666666715.1821180555556-14.1237847222222
999.897.319618055555695.8251.494618055555562.48038194444445
1096.895.303993055555596.725-1.421006944444451.49600694444446
118786.646701388888996.7291666666667-10.08246527777780.353298611111128
1296.385.674826388888997.1958333333333-11.521006944444510.6251736111111
13107.196.912326388888998.0458333333333-1.1335069444444410.1876736111111
14115.295.517534722222298.8958333333333-3.3782986111111119.6824652777778
15106.199.278993055555699.12083333333330.1581597222222286.82100694444443
1689.599.502951388888999.11666666666660.386284722222216-10.0029513888889
1791.399.583159722222299.9708333333333-0.387673611111121-8.28315972222221
1897.6103.275868055556100.9916666666672.28420138888888-5.67586805555555
19100.7109.918576388889101.58.4185763888889-9.2185763888889
20104.6116.590451388889101.40833333333315.1821180555556-11.9904513888889
2194.7103.144618055556101.651.49461805555556-8.44461805555555
22101.8101.916493055556103.3375-1.42100694444445-0.116493055555566
23102.596.1425347222222106.225-10.08246527777786.3574652777778
24105.397.5498263888889109.070833333333-11.52100694444457.75017361111112
25110.3110.466493055556111.6-1.13350694444444-0.166493055555563
26109.8111.338368055556114.716666666667-3.37829861111111-1.53836805555557
27117.3118.770659722222118.61250.158159722222228-1.47065972222222
28118.8123.736284722222123.350.386284722222216-4.93628472222224
29131.3127.541493055556127.929166666667-0.3876736111111213.75850694444445
30125.9133.534201388889131.252.28420138888888-7.63420138888888
31133.1142.743576388889134.3258.4185763888889-9.64357638888893
32147153.190451388889138.00833333333315.1821180555556-6.1904513888889
33145.8144.073784722222142.5791666666671.494618055555561.72621527777781
34164.4146.337326388889147.758333333333-1.4210069444444518.0626736111111
35149.8141.871701388889151.954166666667-10.08246527777787.9282986111111
36137.7144.799826388889156.320833333333-11.5210069444445-7.09982638888891
37151.7160.691493055556161.825-1.13350694444444-8.99149305555554
38156.8164.180034722222167.558333333333-3.37829861111111-7.38003472222218
39180173.670659722222173.51250.1581597222222286.32934027777785
40180.4178.577951388889178.1916666666670.3862847222222161.82204861111114
41170.4181.337326388889181.725-0.387673611111121-10.9373263888889
42191.6188.417534722222186.1333333333332.284201388888883.18246527777779
43199.5199.935243055556191.5166666666678.4185763888889-0.435243055555532
44218.2211.777951388889196.59583333333315.18211805555566.42204861111111
45217.5201.819618055556200.3251.4946180555555615.6803819444445
46205202.862326388889204.283333333333-1.421006944444452.13767361111115
47194199.684201388889209.766666666667-10.0824652777778-5.68420138888891
48199.3203.283159722222214.804166666667-11.5210069444445-3.98315972222221
49219.3218.045659722222219.179166666667-1.133506944444441.25434027777777
50211.1219.580034722222222.958333333333-3.37829861111111-8.48003472222223
51215.2224.595659722222224.43750.158159722222228-9.39565972222223
52240.2224.798784722222224.41250.38628472222221615.4012152777777
53242.2224.453993055556224.841666666667-0.38767361111112117.7460069444444
54240.7228.288368055556226.0041666666672.2842013888888812.4116319444445
55255.4233.818576388889225.48.418576388888921.5814236111111
56253238.957118055556223.77515.182118055555614.0428819444445
57218.2224.877951388889223.3833333333331.49461805555556-6.67795138888891
58203.7221.499826388889222.920833333333-1.42100694444445-17.7998263888889
59205.6211.917534722222222-10.0824652777778-6.31753472222223
60215.6209.983159722222221.504166666667-11.52100694444455.61684027777778
61188.5220.558159722222221.691666666667-1.13350694444444-32.0581597222222
62202.9218.271701388889221.65-3.37829861111111-15.3717013888889
63214223.762326388889223.6041666666670.158159722222228-9.76232638888888
64230.3229.744618055556229.3583333333330.3862847222222160.555381944444434
65230237.433159722222237.820833333333-0.387673611111121-7.4331597222222
66241249.125868055556246.8416666666672.28420138888888-8.12586805555554
67259.6264.889409722222256.4708333333338.4185763888889-5.28940972222225
68247.8NANA15.1821180555556NA
69270.3NANA1.49461805555556NA
70289.7NANA-1.42100694444445NA
71322.7NANA-10.0824652777778NA
72315NANA-11.5210069444445NA
73320.2NANANANA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/25/t1211719981x5kkkizh9pmcqmh/1vm2q1211719900.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/25/t1211719981x5kkkizh9pmcqmh/1vm2q1211719900.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/25/t1211719981x5kkkizh9pmcqmh/210jx1211719900.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/25/t1211719981x5kkkizh9pmcqmh/210jx1211719900.ps (open in new window)


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


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/25/t1211719981x5kkkizh9pmcqmh/4g3e91211719900.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/25/t1211719981x5kkkizh9pmcqmh/4g3e91211719900.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