Home » date » 2009 » Dec » 05 »

prijsindex van de grondstoffen

*The author of this computation has been verified*
R Software Module: /rwasp_decomposeloess.wasp (opens new window with default values)
Title produced by software: Decomposition by Loess
Date of computation: Sat, 05 Dec 2009 02:15:37 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2009/Dec/05/t1260004605jyvu6kp43lqbca2.htm/, Retrieved Sat, 05 Dec 2009 10:16:50 +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/2009/Dec/05/t1260004605jyvu6kp43lqbca2.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:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
226.9 235.9 216.2 226.2 198.3 176.7 166.2 157.6 163.4 159.7 191.0 239.4 321.9 362.7 413.6 407.1 383.2 347.7 333.8 312.3 295.4 283.3 287.6 265.7 250.2 234.7 244.0 231.2 223.8 223.5 210.5 201.6 190.7 207.5 198.8 196.6 204.2 227.4 229.7 217.9 221.4 216.3 197.0 193.8 196.8 180.5 174.8 181.6 190.0 190.6 179.0 174.1 161.1 168.6 169.4 152.2 148.3 137.7 145.0 153.4
 
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


Seasonal Decomposition by Loess - Parameters
ComponentWindowDegreeJump
Seasonal601061
Trend1912
Low-pass1312


Seasonal Decomposition by Loess - Time Series Components
tObservedFittedSeasonalTrendRemainder
1226.9264.74183218898217.2474663692209171.81070144179737.8418321889818
2235.9266.98446653863828.0506694377768176.76486402358531.0844665386383
3216.2217.20708512566733.4738882689606181.7190266053731.00708512566683
4226.2237.40144492145427.0883237348385187.91023134370711.2014449214544
5198.3190.33579155558112.1627723623776194.101436082042-7.96420844441931
6176.7151.0538740719380.926110161893321201.420015766168-25.6461259280617
7166.2134.151960091103-10.4905555413983208.738595450295-32.0480399088968
8157.6119.516274641975-21.1284565884058216.812181946431-38.0837253580249
9163.4126.38059554495-24.4663639875165224.885768442566-37.0194044550499
10159.7109.831424233001-28.3649926793949237.933568446394-49.8685757669986
11191152.402269886137-21.3836383363578250.981368450221-38.5977301138627
12239.4224.151111928491-13.1151675322482267.764055603757-15.2488880715090
13321.9342.00579087348517.2474663692209284.54674275729420.1057908734850
14362.7398.45421829508428.0506694377768298.89511226713935.7542182950843
15413.6480.48262995405633.4738882689606313.24348177698466.8826299540556
16407.1464.89642249913327.0883237348385322.21525376602957.7964224991326
17383.2423.05020188254812.1627723623776331.18702575507439.8502018825484
18347.7363.4241405417160.926110161893321331.04974929639115.7241405417158
19333.8347.178082703691-10.4905555413983330.91247283770813.3780827036906
20312.3324.508822999452-21.1284565884058321.21963358895412.2088229994523
21295.4303.739569647317-24.4663639875165311.5267943401998.33956964731715
22283.3297.243278878601-28.3649926793949297.72171380079413.9432788786013
23287.6312.66700507497-21.3836383363578283.91663326138825.0670050749699
24265.7273.11393180399-13.1151675322482271.4012357282587.41393180398978
25250.2224.2666954356517.2474663692209258.885838195129-25.9333045643498
26234.7192.38910420822228.0506694377768248.960226354001-42.3108957917777
27244215.49149721816733.4738882689606239.034614512873-28.5085027818334
28231.2203.19044704922427.0883237348385232.121229215937-28.0095529507759
29223.8210.22938371862012.1627723623776225.207843919002-13.5706162813798
30223.5224.7483571940220.926110161893321221.3255326440851.24835719402213
31210.5214.047334172231-10.4905555413983217.4432213691673.54733417223144
32201.6208.589345788736-21.1284565884058215.7391107996696.9893457887365
33190.7191.831363757345-24.4663639875165214.0350002301721.13136375734476
34207.5230.650575211749-28.3649926793949212.71441746764623.1505752117492
35198.8207.589803631238-21.3836383363578211.3938347051208.78980363123813
36196.6196.190359570189-13.1151675322482210.124807962059-0.40964042981102
37204.2182.29675241178017.2474663692209208.855781218999-21.9032475882196
38227.4218.82260128084128.0506694377768207.926729281382-8.57739871915928
39229.7218.92843438727333.4738882689606206.997677343766-10.7715656127268
40217.9202.40561987901727.0883237348385206.306056386144-15.4943801209827
41221.4225.022792209112.1627723623776205.6144354285223.62279220910008
42216.3227.0092641375200.926110161893321204.66462570058610.7092641375205
43197200.775739568748-10.4905555413983203.714815972653.77573956874824
44193.8207.477066636024-21.1284565884058201.25138995238213.6770666360238
45196.8219.278400055403-24.4663639875165198.78796393211422.4784000554025
46180.5194.991430120663-28.3649926793949194.37356255873214.4914301206632
47174.8181.024477151008-21.3836383363578189.9591611853496.22447715100836
48181.6191.161073098852-13.1151675322482185.1540944333969.56107309885203
49190182.40350594933617.2474663692209180.349027681443-7.59649405066375
50190.6176.79000119254128.0506694377768176.359329369682-13.809998807459
51179152.15648067311833.4738882689606172.369631057922-26.8435193268821
52174.1150.12809979982727.0883237348385170.983576465335-23.9719002001733
53161.1140.43970576487412.1627723623776169.597521872748-20.6602942351256
54168.6167.9438566444580.926110161893321168.330033193649-0.656143355541872
55169.4182.228011026849-10.4905555413983167.06254451454912.8280110268493
56152.2159.287389871123-21.1284565884058166.2410667172827.08738987112346
57148.3155.646775067501-24.4663639875165165.4195889200167.34677506750086
58137.7138.763268515524-28.3649926793949165.0017241638701.06326851552447
59145146.799778928633-21.3836383363578164.5838594077251.79977892863263
60153.4155.530534624521-13.1151675322482164.3846329077282.13053462452052
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/05/t1260004605jyvu6kp43lqbca2/1jmex1260004534.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/05/t1260004605jyvu6kp43lqbca2/1jmex1260004534.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/05/t1260004605jyvu6kp43lqbca2/28dzk1260004534.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/05/t1260004605jyvu6kp43lqbca2/28dzk1260004534.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/05/t1260004605jyvu6kp43lqbca2/3moqs1260004534.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/05/t1260004605jyvu6kp43lqbca2/3moqs1260004534.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/05/t1260004605jyvu6kp43lqbca2/4iky31260004534.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/05/t1260004605jyvu6kp43lqbca2/4iky31260004534.ps (open in new window)


 
Parameters (Session):
par1 = 12 ; par2 = periodic ; par3 = 0 ; par5 = 1 ; par7 = 1 ; par8 = FALSE ;
 
Parameters (R input):
par1 = 12 ; par2 = periodic ; par3 = 0 ; par5 = 1 ; par7 = 1 ; par8 = FALSE ;
 
R code (references can be found in the software module):
par1 <- as.numeric(par1) #seasonal period
if (par2 != 'periodic') par2 <- as.numeric(par2) #s.window
par3 <- as.numeric(par3) #s.degree
if (par4 == '') par4 <- NULL else par4 <- as.numeric(par4)#t.window
par5 <- as.numeric(par5)#t.degree
if (par6 != '') par6 <- as.numeric(par6)#l.window
par7 <- as.numeric(par7)#l.degree
if (par8 == 'FALSE') par8 <- FALSE else par9 <- TRUE #robust
nx <- length(x)
x <- ts(x,frequency=par1)
if (par6 != '') {
m <- stl(x,s.window=par2, s.degree=par3, t.window=par4, t.degre=par5, l.window=par6, l.degree=par7, robust=par8)
} else {
m <- stl(x,s.window=par2, s.degree=par3, t.window=par4, t.degre=par5, l.degree=par7, robust=par8)
}
m$time.series
m$win
m$deg
m$jump
m$inner
m$outer
bitmap(file='test1.png')
plot(m,main=main)
dev.off()
mylagmax <- nx/2
bitmap(file='test2.png')
op <- par(mfrow = c(2,2))
acf(as.numeric(x),lag.max = mylagmax,main='Observed')
acf(as.numeric(m$time.series[,'trend']),na.action=na.pass,lag.max = mylagmax,main='Trend')
acf(as.numeric(m$time.series[,'seasonal']),na.action=na.pass,lag.max = mylagmax,main='Seasonal')
acf(as.numeric(m$time.series[,'remainder']),na.action=na.pass,lag.max = mylagmax,main='Remainder')
par(op)
dev.off()
bitmap(file='test3.png')
op <- par(mfrow = c(2,2))
spectrum(as.numeric(x),main='Observed')
spectrum(as.numeric(m$time.series[!is.na(m$time.series[,'trend']),'trend']),main='Trend')
spectrum(as.numeric(m$time.series[!is.na(m$time.series[,'seasonal']),'seasonal']),main='Seasonal')
spectrum(as.numeric(m$time.series[!is.na(m$time.series[,'remainder']),'remainder']),main='Remainder')
par(op)
dev.off()
bitmap(file='test4.png')
op <- par(mfrow = c(2,2))
cpgram(as.numeric(x),main='Observed')
cpgram(as.numeric(m$time.series[!is.na(m$time.series[,'trend']),'trend']),main='Trend')
cpgram(as.numeric(m$time.series[!is.na(m$time.series[,'seasonal']),'seasonal']),main='Seasonal')
cpgram(as.numeric(m$time.series[!is.na(m$time.series[,'remainder']),'remainder']),main='Remainder')
par(op)
dev.off()
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Seasonal Decomposition by Loess - Parameters',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Component',header=TRUE)
a<-table.element(a,'Window',header=TRUE)
a<-table.element(a,'Degree',header=TRUE)
a<-table.element(a,'Jump',header=TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Seasonal',header=TRUE)
a<-table.element(a,m$win['s'])
a<-table.element(a,m$deg['s'])
a<-table.element(a,m$jump['s'])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Trend',header=TRUE)
a<-table.element(a,m$win['t'])
a<-table.element(a,m$deg['t'])
a<-table.element(a,m$jump['t'])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Low-pass',header=TRUE)
a<-table.element(a,m$win['l'])
a<-table.element(a,m$deg['l'])
a<-table.element(a,m$jump['l'])
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Seasonal Decomposition by Loess - Time Series Components',6,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'t',header=TRUE)
a<-table.element(a,'Observed',header=TRUE)
a<-table.element(a,'Fitted',header=TRUE)
a<-table.element(a,'Seasonal',header=TRUE)
a<-table.element(a,'Trend',header=TRUE)
a<-table.element(a,'Remainder',header=TRUE)
a<-table.row.end(a)
for (i in 1:nx) {
a<-table.row.start(a)
a<-table.element(a,i,header=TRUE)
a<-table.element(a,x[i])
a<-table.element(a,x[i]+m$time.series[i,'remainder'])
a<-table.element(a,m$time.series[i,'seasonal'])
a<-table.element(a,m$time.series[i,'trend'])
a<-table.element(a,m$time.series[i,'remainder'])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable1.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