Home » date » 2010 » Dec » 26 »

Paper: faillissementen 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:30:15 +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/t1293388110u2ptc9upesc5102.htm/, Retrieved Sun, 26 Dec 2010 19:28:34 +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/t1293388110u2ptc9upesc5102.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 «
797 840 988 819 831 904 814 798 828 789 930 744 832 826 907 776 835 715 729 733 736 712 711 667 799 661 692 649 729 622 671 635 648 745 624 477 710 515 461 590 415 554 585 513 591 561 684 668 795 776 1043 964 762 1030 939 779 918 839 874 840
 
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
1797712.74615679912747.825417874594833.42842532628-84.2538432008733
2840861.724651528597-16.099269625205834.37461809660821.7246515285973
39881063.1031744896377.5760146434371835.32081086693675.1031744896267
4819781.98257769139719.9937815776385836.023640730964-37.0174223086027
5831849.461978801919-24.1884493969109836.72647059499218.4619788019186
6904945.42344238155525.3479888751701837.22856874327541.4234423815551
7814783.3847253314356.88460777700814837.730666891557-30.6152746685651
8798810.337517610217-51.8616976125129837.52418000229612.3375176102165
9828820.690367789851-2.00806090288690837.317693113036-7.30963221014883
10789764.328198088699-20.0533055737423833.725107485044-24.6718019113015
119301017.5661392226212.3013389203291830.13252185705287.5661392226189
12744740.262079554157-75.7184193711462823.45633981699-3.73792044584343
13832799.39442434847947.825417874594816.780157776927-32.6055756515212
14826859.756879277821-16.099269625205808.34239034738433.7568792778212
15907936.51936243872377.5760146434371799.9046229178429.5193624387226
16776741.93250952564619.9937815776385790.073708896715-34.0674904743538
17835913.94565452132-24.1884493969109780.2427948755978.9456545213204
18715634.13521947907525.3479888751701770.516791645755-80.8647805209255
19729690.3246038070726.88460777700814760.79078841592-38.6753961929281
20733767.71310251613-51.8616976125129750.14859509638334.7131025161297
21736734.50165912604-2.00806090288690739.506401776846-1.49834087395959
22712715.188956072798-20.0533055737423728.8643495009443.18895607279842
23711691.4763638546312.3013389203291718.222297225041-19.5236361453706
24667700.348217525064-75.7184193711462709.37020184608233.348217525064
25799849.65647565828347.825417874594700.51810646712350.6564756582832
26661644.244307212295-16.099269625205693.85496241291-16.7556927877046
27692619.23216699786777.5760146434371687.191818358696-72.7678330021334
28649596.71271956711319.9937815776385681.293498855249-52.2872804328872
29729806.79327004511-24.1884493969109675.39517935180177.7932700451097
30622550.41449357283225.3479888751701668.237517551998-71.5855064271682
31671674.0355364707976.88460777700814661.0798557521953.03553647079696
32635671.825378083024-51.8616976125129650.03631952948936.8253780830239
33648659.015277596104-2.00806090288690638.99278330678311.0152775961038
34745885.289241562326-20.0533055737423624.764064011416140.289241562326
35624625.16331636362112.3013389203291610.535344716051.16331636362111
36477433.743265255534-75.7184193711462595.975154115612-43.256734744466
37710790.75961861023147.825417874594581.41496351517580.7596186102313
38515475.632535925924-16.099269625205570.466733699281-39.3674640740763
39461284.90548147317577.5760146434371559.518503883388-176.094518526825
40590604.29998079173219.9937815776385555.7062376306314.2999807917320
41415302.29447801904-24.1884493969109551.893971377871-112.705521980960
42554520.96335532847925.3479888751701561.68865579635-33.0366446715207
43585591.6320520081626.88460777700814571.483340214836.63205200816196
44513480.930790935153-51.8616976125129596.93090667736-32.0692090648471
45591561.629587762997-2.00806090288690622.37847313989-29.3704122370032
46561485.01159830119-20.0533055737423657.041707272552-75.9884016988099
47684663.99371967445712.3013389203291691.704941405214-20.0062803255435
48668685.358696200341-75.7184193711462726.35972317080617.3586962003405
49795781.16007718900947.825417874594761.014504936397-13.8399228109909
50776777.787017127957-16.099269625205790.3122524972481.78701712795657
5110431188.8139852984677.5760146434371819.6100000581145.813985298463
529641073.8353370051619.9937815776385834.170881417201109.835337005160
53762699.456686620608-24.1884493969109848.731762776303-62.5433133793916
5410301172.1992344583425.3479888751701862.452776666495142.199234458335
55939994.9416016663056.88460777700814876.17379055668755.941601666305
56779721.43666751386-51.8616976125129888.425030098653-57.5633324861406
57918937.331791262267-2.00806090288690900.6762696406219.3317912622670
58839787.120689881116-20.0533055737423910.932615692626-51.8793101188838
59874814.50969933503812.3013389203291921.188961744632-59.4903006649616
60840825.708022960949-75.7184193711462930.010396410197-14.2919770390507
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/26/t1293388110u2ptc9upesc5102/1xxif1293388212.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/26/t1293388110u2ptc9upesc5102/1xxif1293388212.ps (open in new window)


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


http://www.freestatistics.org/blog/date/2010/Dec/26/t1293388110u2ptc9upesc5102/377hi1293388212.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/26/t1293388110u2ptc9upesc5102/377hi1293388212.ps (open in new window)


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