Home » date » 2010 » Dec » 26 »

Paper: Inflatie - Loess

*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: Sun, 26 Dec 2010 18:32:45 +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/Dec/26/t129338825075f83kohwhxcuer.htm/, Retrieved Sun, 26 Dec 2010 19:30:54 +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/Dec/26/t129338825075f83kohwhxcuer.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 «
1,5 1,6 1,8 1,5 1,3 1,6 1,6 1,8 1,8 1,6 1,8 2 1,3 1,1 1 1,2 1,2 1,3 1,3 1,4 1,1 0,9 1 1,1 1,4 1,5 1,8 1,8 1,8 1,7 1,5 1,1 1,3 1,6 1,9 1,9 2 2,2 2,2 2 2,3 2,6 3,2 3,2 3,1 2,8 2,3 1,9 1,9 2 2 1,8 1,6 1,4 0,2 0,3 0,4 0,7 1 1,1
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 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
11.51.47587961821588-0.08653440550834551.61065478729247-0.0241203817841211
21.61.59665247200995-0.009412460599317941.61275998858937-0.003347527990051
31.81.897425286593480.08770952352024821.614865189886270.0974252865934802
41.51.38872589051929-0.002073934967537091.61334804444825-0.111274109480710
51.31.00002648137495-0.01185738038517161.61183089901022-0.299973518625052
61.61.513182340262230.08208400043879981.60473365929897-0.0868176597377723
71.61.66633785932513-0.06397427891285251.597636419587720.066337859325131
81.82.06103278442372-0.04733326615102171.586300481727300.261032784423719
91.82.07572756575034-0.0506921096172241.574964543866880.275727565750341
101.61.69520104766610-0.04708985726824571.551888809602140.0952010476661045
111.82.014674621073060.05651230358954171.52881307533740.214674621073059
1222.416431418453690.0926617798961111.49090680165020.41643141845369
131.31.23353387754535-0.08653440550834551.45300052796300-0.066466122454653
141.10.802773794103556-0.009412460599317941.40663866649576-0.297226205896444
1510.5520136714512260.08770952352024821.36027680502853-0.447986328548774
161.21.09422775907786-0.002073934967537091.30784617588968-0.105772240922145
171.21.15644183363433-0.01185738038517161.25541554675084-0.0435581663656666
181.31.293216036574370.08208400043879981.22469996298684-0.00678396342563503
191.31.46998989969002-0.06397427891285251.193984379222830.169989899690020
201.41.63697153263161-0.04733326615102171.210361733519410.236971532631614
211.11.02395302180124-0.0506921096172241.22673908781598-0.0760469781987572
220.90.57735538772673-0.04708985726824571.26973446954152-0.32264461227327
2310.6307578451434070.05651230358954171.31272985126705-0.369242154856593
241.10.7573313675851430.0926617798961111.35000685251875-0.342668632414857
251.41.49925055173790-0.08653440550834551.387283853770440.0992505517379045
261.51.59297453842493-0.009412460599317941.416437922174390.0929745384249281
271.82.066698485901410.08770952352024821.445591990578340.266698485901413
281.82.11649110719767-0.002073934967537091.485582827769870.316491107197666
291.82.08628371542377-0.01185738038517161.525573664961400.286283715423769
301.71.746371363496020.08208400043879981.571544636065180.0463713634960177
311.51.44645867174389-0.06397427891285251.61751560716896-0.0535413282561095
321.10.589608142000306-0.04733326615102171.65772512415072-0.510391857999694
331.30.952757468484755-0.0506921096172241.69793464113247-0.347242531515245
341.61.50202237114089-0.04708985726824571.74506748612736-0.0979776288591101
351.91.951287365288220.05651230358954171.792200331122240.0512873652882158
361.91.823577975826810.0926617798961111.88376024427708-0.0764220241731872
3722.11121424807644-0.08653440550834551.975320157431910.111214248076436
382.22.30091831359363-0.009412460599317942.108494147005690.100918313593629
392.22.070622339900280.08770952352024822.24166813657947-0.129377660099717
4021.65535215746753-0.002073934967537092.34672177750001-0.344647842532474
412.32.16008196196462-0.01185738038517162.45177541842055-0.139918038035381
422.62.629586655780300.08208400043879982.48832934378090.0295866557803026
433.23.93909100977161-0.06397427891285252.524883269141240.73909100977161
443.23.93425500905761-0.04733326615102172.513078257093410.734255009057608
453.13.74941886457164-0.0506921096172242.501273245045590.649418864571639
462.83.20335598642189-0.04708985726824572.443733870846360.40335598642189
472.32.157293199763330.05651230358954172.38619449664713-0.142706800236669
481.91.462912794337870.0926617798961112.24442542576602-0.437087205662131
491.91.78387805062343-0.08653440550834552.10265635488491-0.116121949376566
5022.11029387742067-0.009412460599317941.899118583178650.110293877420671
5122.216709665007370.08770952352024821.695580811472380.216709665007369
521.82.06226036893715-0.002073934967537091.539813566030390.262260368937147
531.61.82781105979677-0.01185738038517161.384046320588400.227811059796774
541.41.470573562487970.08208400043879981.247342437073230.0705735624879718
550.2-0.646664274645206-0.06397427891285251.11063855355806-0.846664274645206
560.3-0.324966947266345-0.04733326615102170.972300213417366-0.624966947266345
570.40.0167302363405505-0.0506921096172240.833961873276674-0.383269763659450
580.70.749746636837553-0.04708985726824570.6973432204306930.0497466368375526
5911.382763128825750.05651230358954170.5607245675847120.382763128825746
601.11.678141826841420.0926617798961110.4291963932624730.578141826841415
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/26/t129338825075f83kohwhxcuer/10os61293388362.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/26/t129338825075f83kohwhxcuer/10os61293388362.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/26/t129338825075f83kohwhxcuer/2tyar1293388362.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/26/t129338825075f83kohwhxcuer/2tyar1293388362.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/26/t129338825075f83kohwhxcuer/3tyar1293388362.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/26/t129338825075f83kohwhxcuer/3tyar1293388362.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/26/t129338825075f83kohwhxcuer/4l79c1293388362.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/26/t129338825075f83kohwhxcuer/4l79c1293388362.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