Home » date » 2010 » Nov » 28 »

Paper - Ontleden tijdreeks 25-50 jaar 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, 28 Nov 2010 19:33:07 +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/t1290972689rmiazk2a4wu8h99.htm/, Retrieved Sun, 28 Nov 2010 20:31:33 +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/t1290972689rmiazk2a4wu8h99.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 time3 seconds
R Server'George Udny Yule' @ 72.249.76.132


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


Seasonal Decomposition by Loess - Time Series Components
tObservedFittedSeasonalTrendRemainder
1376.974378.1460702929712.43799250765485373.3639371993741.17207029297140
2377.632379.0268314350461.82576035660079374.4114082083541.39483143504555
3378.205382.164831564073-1.21371078140615375.4588792173343.9598315640726
4370.861369.178292472759-4.0016360254215376.545343552663-1.68270752724106
5369.167368.526420136467-7.82422802445897377.631807887991-0.640579863532537
6371.551371.379142046755-6.98504846886772378.707906422113-0.171857953245024
7382.842375.83869213464410.0613029091218379.784004956234-7.00330786535574
8381.903372.27313586116110.7613433498147380.771520789025-9.62986413883942
9384.502383.4525819467283.79238143145696381.759036621815-1.04941805327246
10392.058402.683493192339-1.21978999518490382.65229680284610.6254931923393
11384.359392.094233689629-6.92179067350455383.5455569838767.73523368962873
12388.884394.32572335582-0.712579424928549384.1548560691095.44172335581965
13386.586385.9698523380032.43799250765485384.764155154342-0.61614766199682
14387.495388.3445777646741.82576035660079384.8196618787250.849577764673825
15385.705387.748542178297-1.21371078140615384.8751686031092.04354217829734
16378.67377.075685751845-4.0016360254215384.265950273577-1.59431424815517
17377.367378.901496080414-7.82422802445897383.6567319440451.53449608041444
18376.911378.013926668525-6.98504846886772382.7931218003421.10292666852536
19389.827387.66318543423810.0613029091218381.92951165664-2.16381456576198
20387.82383.88382688799710.7613433498147380.994829762188-3.93617311200296
21387.267390.6814707008073.79238143145696380.0601478677363.4144707008067
22380.575383.264914833509-1.21978999518490379.1048751616762.68991483350925
23372.402373.576188217890-6.92179067350455378.1496024556151.17418821788965
24376.74376.952160734155-0.712579424928549377.2404186907740.212160734155020
25377.795376.8207725664132.43799250765485376.331234925932-0.974227433586975
26376.126375.1761909580021.82576035660079375.250048685397-0.949809041997923
27370.804368.652848336544-1.21371078140615374.168862444862-2.15115166345589
28367.98367.508450449821-4.0016360254215372.4531855756-0.471549550178679
29367.866372.818719318121-7.82422802445897370.7375087063384.95271931812067
30366.121370.964444320670-6.98504846886772368.2626041481974.84344432067041
31379.421382.99299750082210.0613029091218365.7876995900563.57199750082185
32378.519383.77957354831710.7613433498147362.4970831018685.26057354831676
33372.423381.8471519548623.79238143145696359.2064666136819.4241519548624
34355.072356.228241626078-1.21978999518490355.1355483691071.15624162607764
35344.693345.243160548971-6.92179067350455351.0646301245340.550160548970666
36342.892340.028118983699-0.712579424928549346.468460441229-2.86388101630081
37344.178344.045716734422.43799250765485341.872290757925-0.132283265579645
38337.606336.0182317891981.82576035660079337.368007854201-1.58776821080153
39327.103322.555985830930-1.21371078140615332.863724950477-4.54701416907051
40323.953323.051195811567-4.0016360254215328.856440213854-0.901804188432493
41316.532316.039072547228-7.82422802445897324.849155477231-0.492927452772165
42306.307298.119219851727-6.98504846886772321.479828617141-8.1877801482728
43327.225326.27819533382810.0613029091218318.11050175705-0.946804666171715
44329.573333.25261550957910.7613433498147315.1320411406063.67961550957921
45313.761311.5760380443813.79238143145696312.153580524162-2.18496195561914
46307.836307.45107364901-1.21978999518490309.440716346175-0.384926350990327
47300.074300.341938505316-6.92179067350455306.7278521681880.267938505316351
48304.198304.709580951647-0.712579424928549304.3989984732820.51158095164692
49306.122307.735862713972.43799250765485302.0701447783751.61386271397015
50300.414298.8307662711641.82576035660079300.171473372235-1.58323372883558
51292.133287.206908815312-1.21371078140615298.272801966095-4.92609118468846
52290.616288.311298745325-4.0016360254215296.922337280096-2.30470125467497
53280.244272.740355430361-7.82422802445897295.571872594098-7.50364456963922
54285.179282.217850617449-6.98504846886772295.125197851419-2.9611493825513
55305.486306.23217398213810.0613029091218294.678523108740.74617398213843
56305.957305.64598023808510.7613433498147295.506676412100-0.311019761915190
57293.886287.6447888530823.79238143145696296.334829715461-6.24121114691809
58289.441281.816602890682-1.21978999518490298.285187104503-7.6243971093179
59288.776284.23824617996-6.92179067350455300.235544493544-4.53775382003982
60299.149296.138404276962-0.712579424928549302.872175147967-3.01059572303848
61306.532305.1172016899552.43799250765485305.508805802390-1.41479831004449
62309.914309.5903302662821.82576035660079308.411909377117-0.323669733718248
63313.468316.834697829561-1.21371078140615311.3150129518453.36669782956091
64314.901319.949969174159-4.0016360254215313.8536668512625.04896917415942
65309.16309.75190727378-7.82422802445897316.3923207506790.59190727378018
66316.15320.64633068945-6.98504846886772318.6387177794184.49633068944968
67336.544342.14158228272110.0613029091218320.8851148081575.59758228272091
68339.196344.52634010086210.7613433498147323.1043165493235.33034010086192
69326.738324.3601002780533.79238143145696325.323518290490-2.37789972194651
70320.838315.462279908409-1.21978999518490327.433510086776-5.37572009159095
71318.62314.618288790442-6.92179067350455329.543501883062-4.0017112095577
72331.533332.235669255320-0.712579424928549331.5429101696090.702669255319506
73335.378334.7756890361892.43799250765485333.542318456156-0.602310963810737
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Nov/28/t1290972689rmiazk2a4wu8h99/1jzd71290972783.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/28/t1290972689rmiazk2a4wu8h99/1jzd71290972783.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/28/t1290972689rmiazk2a4wu8h99/2jzd71290972783.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/28/t1290972689rmiazk2a4wu8h99/2jzd71290972783.ps (open in new window)


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


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