Home » date » 2010 » Nov » 28 »

Paper - Ontleden tijdreeks 25-50 jaar Loess (6)

*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:38:12 +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/t1290973024o5y7odpgkvdqlm8.htm/, Retrieved Sun, 28 Nov 2010 20:37:09 +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/t1290973024o5y7odpgkvdqlm8.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
Seasonal601
Trend2513
Low-pass1312


Seasonal Decomposition by Loess - Time Series Components
tObservedFittedSeasonalTrendRemainder
1376.974376.8528411841031.39666215551412375.698496660383-0.121158815897445
2377.632377.6525049969971.18998682196537376.4215081810380.0205049969970901
3378.205380.746717714999-1.48123741669063377.1445197016922.54171771499887
4370.861369.968599135819-6.1141303581653377.867531222346-0.892400864180672
5369.167367.111941419978-7.31788517761092378.539943757633-2.05505858002232
6371.551371.234064615834-7.34442090875446379.212356292921-0.316935384166129
7382.842378.1180276713487.68120350044368379.884768828208-4.72397232865154
8381.903375.0819846552388.25224580165441380.471769543108-6.82101534476243
9384.502381.9238323898356.02139735215633381.058770258008-2.5781676101646
10392.058400.0372813740922.43294765299928381.6457709729097.97928137409218
11384.359391.061330536261-4.55047896364941382.2071484273886.70233053626146
12388.884395.193898905675-0.194424787542112382.7685258818676.30989890567474
13386.586388.3026699368541.53942672679881383.3299033363471.71666993685437
14387.495390.4815685392711.16726920006560383.3411622606632.98656853927099
15385.705389.897128039618-1.83954922459815383.352421184984.19212803961818
16378.67379.928814311847-5.952494421143383.3636801092971.25881431184649
17377.367379.213596445601-7.30729016235381382.8276937167531.84659644560105
18376.911379.061004349502-7.53071167371151382.2917073242092.15000434950241
19389.827389.7270193973098.17125967102592381.755720931665-0.0999806026912324
20387.82385.7059959863099.05740758540277380.876596428288-2.1140040136911
21387.267388.4952180242546.04131005083486379.9974719249111.22821802425375
22380.575380.0750950319881.95655754647763379.118347421534-0.499904968012061
23372.402371.567684662562-4.81474381260356378.051059150042-0.834315337438227
24376.74376.817042993964-0.320813872513268376.9837708785490.0770429939641417
25377.795377.8424204142081.83109697873571375.9164826070570.0474204142077497
26376.126376.8925069304301.09098004130532374.2685130282640.766506930430467
27370.804371.803314661848-2.81585811131975372.6205434494720.999314661847848
28367.98370.558059008139-5.57063287881822370.9725738706802.57805900813872
29367.866374.434809960277-7.21577249658098368.5129625363046.56880996027701
30366.121374.069973454769-7.88132465669714366.0533512019287.94897345476875
31379.421385.6331887340119.61507139843627363.5937398675536.21218873401091
32378.519385.42780485267811.293203595027360.3169915522956.90880485267792
33372.423381.5097903060206.29596645694237357.0402432370379.08679030602036
34355.072356.0811369647230.299368113497655353.7634949217801.00913696472281
35344.693345.358824089799-5.8496985705883349.8768744807890.665824089799003
36342.892340.739947517666-0.94620155746526345.990254039799-2.15205248233383
37344.178343.7963204021582.45604599903296342.103633598809-0.38167959784181
38337.606336.23681047280.863323497079608338.11186603012-1.36918952719975
39327.103323.793065805356-3.70716426678783334.120098461431-3.30993419464352
40323.953322.317167691408-4.53949858415075330.128330892743-1.63583230859194
41316.532314.904498609133-8.35667965792747326.516181048794-1.62750139086677
42306.307297.837777467816-8.12780867266217322.904031204846-8.46922253218366
43327.225323.63772464152611.5203939975769319.291881360897-3.58727535847424
44329.573329.3714334668113.5496104506251316.224956082565-0.201566533189862
45313.761309.9128496134374.45111958233082313.158030804232-3.84815038656268
46307.836308.293553688150-2.71265921404871310.0911055258990.457553688149574
47300.074300.227383970857-7.79076278732193307.7113788164650.153383970856737
48304.198304.739870446485-1.67552255351604305.3316521070310.541870446484836
49306.122306.5802045033712.71187009903231302.9519253975970.458204503370496
50300.414297.9626581456201.39117363855984301.47416821582-2.45134185437962
51292.133286.796816722185-2.52722775622684299.996411034042-5.33618327781545
52290.616285.869205888449-3.15585974071365298.518653852265-4.7467941115512
53280.244270.711369557786-8.39257657497088298.169207017185-9.5326304422137
54285.179279.841522686635-7.30328286873933297.819760182104-5.33747731336501
55305.486301.01272691072112.4889597422547297.470313347024-4.47327308927873
56305.957299.29803188750214.2018962157057298.414071896793-6.65896811249843
57293.886285.0894083357033.32476121773556299.357830446561-8.79659166429695
58289.441282.265972006695-3.68556100302478300.30158899633-7.17502799330538
59288.776283.747179243298-8.44487164022667302.249692396929-5.02882075670237
60299.149295.38079875964-1.28059455716791304.197795797528-3.76820124036004
61306.532304.1019852292582.81611557261548306.145899198127-2.43001477074239
62309.914309.7839391201341.51295955279666308.531101327070-0.130060879866221
63313.468318.293411740831-2.27371519684366310.9163034560124.82541174083138
64314.901319.290905071698-2.79041065665266313.3015055849554.38990507169768
65309.16311.215967727038-8.6208032073962315.7248354803582.05596772703819
66316.15321.331898080463-7.18006345622393318.1481653757615.18189808046282
67336.544339.76844298996112.7480617388747320.5714952711643.22444298996118
68339.196341.06526699750214.3247096689275323.0020233335701.86926699750222
69326.738325.2755023094562.76794629456754325.432551395977-1.46249769054413
70320.838317.89624404803-4.08332350641307327.863079458383-2.9417559519697
71318.62315.669227870992-8.67999865978614330.250770788794-2.95077212900833
72331.533331.554585706432-1.12704782563754332.6384621192060.0215857064314946
73335.378332.8390335136422.89081303674004335.026153449618-2.53896648635777
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Nov/28/t1290973024o5y7odpgkvdqlm8/1i2601290973088.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/28/t1290973024o5y7odpgkvdqlm8/1i2601290973088.ps (open in new window)


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


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


http://www.freestatistics.org/blog/date/2010/Nov/28/t1290973024o5y7odpgkvdqlm8/4btn31290973088.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/28/t1290973024o5y7odpgkvdqlm8/4btn31290973088.ps (open in new window)


 
Parameters (Session):
par1 = 12 ; par2 = 6 ; par3 = 0 ; par5 = 1 ; par7 = 1 ; par8 = FALSE ;
 
Parameters (R input):
par1 = 12 ; par2 = 6 ; 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