Home » date » 2010 » Dec » 26 »

Paper Statistiek

*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 13:10:58 +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/t1293369048fab6hbwac7xfk6b.htm/, Retrieved Sun, 26 Dec 2010 14:10:48 +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/t1293369048fab6hbwac7xfk6b.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:
Decomposition by Loess bouwgrondprijzen: gemiddelde prijs(€/m²)
 
Dataseries X:
» Textbox « » Textfile « » CSV «
26 26 27 28 27 29 27 30 27 30 32 30 32 33 34 32 34 37 37 36 34 38 41 41 44 42 45 45 49 54 52 53 51 55 60 60 63 60 64 65 75 70 72 69 75 74 74 75 79 79 85 78 84 85 85 82 91 90 98 98
 
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'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Seasonal Decomposition by Loess - Parameters
ComponentWindowDegreeJump
Seasonal601061
Trend711
Low-pass511


Seasonal Decomposition by Loess - Time Series Components
tObservedFittedSeasonalTrendRemainder
12626.11753800734500.31394982012852525.56851217252650.117538007344969
22625.9399375111189-0.15153245057116626.2115949394523-0.0600624888811474
32726.2451342842860.92863227347732326.8262334422367-0.754865715714011
42829.6788777536470-1.0910579099847227.41218015633781.67887775364696
52725.87428156462950.31394982012852527.811768615242-1.12571843537053
62930.2338155088116-0.15153245057116627.91771694175951.23381550881163
72724.80031579366800.92863227347732328.2710519328547-2.19968420633203
83032.7044201929765-1.0910579099847228.38663771700822.70442019297654
92724.60485517338690.31394982012852529.0811950064846-2.39514482661313
103030.4646593476744-0.15153245057116629.68687310289680.464659347674374
113232.608055256490.92863227347732330.46331247003270.608055256489969
123029.7403485271169-1.0910579099847231.3507093828678-0.259651472883093
133231.69971617174790.31394982012852531.9863340081236-0.300283828252095
143333.6084901907635-0.15153245057116632.54304225980770.608490190763483
153434.05150722945600.92863227347732333.01986049706660.0515072294560355
163231.4401865369826-1.0910579099847233.6508713730021-0.559813463017363
173433.08689114615670.31394982012852534.5991590337148-0.913108853843333
183738.5777553693303-0.15153245057116635.57377708124091.57775536933026
193736.93895144200320.92863227347732336.1324162845195-0.0610485579968483
203637.022276235323-1.0910579099847236.06878167466171.02227623532298
213431.10458557266820.31394982012852536.5814646072033-2.89541442733181
223838.3646069409068-0.15153245057116637.78692550966430.364606940906818
234141.25161409867380.92863227347732339.81975362784890.251614098673798
244141.4970037467422-1.0910579099847241.59405416324250.497003746742244
254445.12547460773080.31394982012852542.56057557214071.12547460773075
264240.7262400683599-0.15153245057116643.4252923822113-1.27375993164014
274544.55123575057440.92863227347732344.5201319759483-0.448764249425587
284544.4401863221266-1.0910579099847246.6508715878581-0.559813677873386
294948.48710730098480.31394982012852549.1989428788867-0.512892699015211
305457.0035151079101-0.15153245057116651.14801734266113.00351510791010
315250.71329960048240.92863227347732352.3580681260403-1.28670039951758
325354.5350471610443-1.0910579099847252.55601074894041.53504716104432
335148.10458583614220.31394982012852553.5814643437293-2.89541416385783
345554.6517294207234-0.15153245057116655.4998030298478-0.348270579276637
356060.96449157023930.92863227347732358.10687615628340.964491570239282
366060.7971654504018-1.0910579099847260.29389245958290.797165450401828
376364.38186044149340.31394982012852561.3041897383781.38186044149342
386057.9133085753379-0.15153245057116662.2382238752333-2.08669142466213
396462.85085632601570.92863227347732364.220511400507-1.14914367398428
406563.7585820928584-1.0910579099847267.3324758171263-1.24141790714161
417579.88997833597860.31394982012852569.79607184389294.88997833597861
427069.0139027985854-0.15153245057116671.1376296519858-0.986097201414594
437271.76384281971760.92863227347732371.3075249068051-0.236157180282405
446967.1582581842085-1.0910579099847271.9327997257762-1.84174181579148
457576.83835413310850.31394982012852572.8476960467631.83835413310848
467474.3521087966641-0.15153245057116673.79942365390710.352108796664083
477472.22552885975580.92863227347732374.8458388667668-1.77447114024416
487574.9967334528375-1.0910579099847276.0943244571472-0.003266547162454
497979.56892764587440.31394982012852578.1171225339970.568927645874439
507978.1702354400829-0.15153245057116679.9812970104883-0.829764559917137
518588.11562795246870.92863227347732380.9557397740543.11562795246869
527874.9326078141394-1.0910579099847282.1584500958453-3.06739218586061
538484.72525933114920.31394982012852582.96079084872220.725259331149246
548586.4652048130338-0.15153245057116683.68632763753731.46520481303385
558584.35112400160620.92863227347732384.7202437249165-0.648875998393791
568278.8888312672925-1.0910579099847286.2022266426923-3.11116873270753
579193.10724093030750.31394982012852588.5788092495642.10724093030753
589087.9123115226084-0.15153245057116692.2392209279627-2.08768847739155
599899.26905037249820.92863227347732395.80231735402441.26905037249824
609897.68975943274-1.0910579099847299.4012984772446-0.310240567259910
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/26/t1293369048fab6hbwac7xfk6b/1mag51293369054.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/26/t1293369048fab6hbwac7xfk6b/1mag51293369054.ps (open in new window)


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


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


http://www.freestatistics.org/blog/date/2010/Dec/26/t1293369048fab6hbwac7xfk6b/48sxt1293369054.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/26/t1293369048fab6hbwac7xfk6b/48sxt1293369054.ps (open in new window)


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