Home » date » 2010 » Dec » 10 »

Faillissementen detailhandel Denemarken

*Unverified author*
R Software Module: /rwasp_decompose.wasp (opens new window with default values)
Title produced by software: Classical Decomposition
Date of computation: Fri, 10 Dec 2010 14:31: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/10/t12919914914eemnrh508do89v.htm/, Retrieved Fri, 10 Dec 2010 15:31:36 +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/10/t12919914914eemnrh508do89v.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:
KDGP2W92 - PAUWELS
 
Dataseries X:
» Textbox « » Textfile « » CSV «
12 13 23 24 21 20 18 13 12 25 21 17 10 15 23 12 10 21 9 13 17 14 20 12 13 14 23 14 21 21 21 7 15 28 28 18 22 30 1 26 29 24 26 19 19 41 36 54 49 33 50 43 51 46 45 23 56 41 48 43
 
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


Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
112NANA0.184895833333335NA
213NANA-0.700520833333334NA
323NANA-0.0130208333333296NA
424NANA-1.13802083333333NA
521NANA2.4140625NA
620NANA2.11197916666667NA
71816.559895833333318.1666666666667-1.606770833333341.44010416666667
81310.466145833333318.1666666666667-7.700520833333342.53385416666667
91212.809895833333318.25-5.44010416666667-0.809895833333329
102523.080729166666717.755.330729166666671.91927083333334
112120.861979166666716.79166666666674.07031250.138020833333336
121718.861979166666716.3752.48697916666667-1.86197916666667
131016.226562516.04166666666670.184895833333335-6.2265625
141514.966145833333315.6666666666667-0.7005208333333340.0338541666666679
152315.861979166666715.875-0.01302083333332967.13802083333333
161214.486979166666715.625-1.13802083333333-2.48697916666666
171017.539062515.1252.4140625-7.5390625
182116.986979166666714.8752.111979166666674.01302083333333
19913.184895833333314.7916666666667-1.60677083333334-4.18489583333333
20137.1744791666666614.875-7.700520833333345.82552083333334
21179.3932291666666714.8333333333333-5.440104166666677.60677083333333
221420.247395833333314.91666666666675.33072916666667-6.24739583333333
232019.528645833333315.45833333333334.07031250.471354166666668
241218.403645833333315.91666666666672.48697916666667-6.40364583333333
251316.601562516.41666666666670.184895833333335-3.6015625
261415.966145833333316.6666666666667-0.700520833333334-1.96614583333333
272316.320312516.3333333333333-0.01302083333332966.6796875
281415.695312516.8333333333333-1.13802083333333-1.69531250000000
292120.164062517.752.41406250.835937500000004
302120.445312518.33333333333332.111979166666670.5546875
312117.351562518.9583333333333-1.606770833333343.6484375
32712.299479166666720-7.70052083333334-5.29947916666667
331514.309895833333319.75-5.440104166666670.690104166666668
342824.664062519.33333333333335.330729166666673.33593750000000
352824.236979166666720.16666666666674.07031253.76302083333334
361823.111979166666720.6252.48697916666667-5.11197916666666
372221.143229166666720.95833333333330.1848958333333350.856770833333332
383020.966145833333321.6666666666667-0.7005208333333349.03385416666666
39122.320312522.3333333333333-0.0130208333333296-21.3203125
402621.903645833333323.0416666666667-1.138020833333334.09635416666667
412926.330729166666723.91666666666672.41406252.66927083333334
422427.861979166666725.752.11197916666667-3.86197916666667
432626.768229166666728.375-1.60677083333334-0.768229166666668
441921.924479166666729.625-7.70052083333334-2.92447916666666
451926.351562531.7916666666667-5.44010416666667-7.3515625
464139.872395833333334.54166666666675.330729166666671.12760416666667
473640.236979166666736.16666666666674.0703125-4.23697916666666
485440.4869791666667382.4869791666666713.5130208333333
494939.893229166666739.70833333333330.1848958333333359.10677083333334
503339.966145833333340.6666666666667-0.700520833333334-6.96614583333333
515042.361979166666742.375-0.01302083333332967.63802083333334
524342.778645833333343.9166666666667-1.138020833333330.221354166666664
535146.830729166666744.41666666666672.41406254.16927083333334
544646.570312544.45833333333332.11197916666667-0.570312499999993
5545NANA-1.60677083333334NA
5623NANA-7.70052083333334NA
5756NANA-5.44010416666667NA
5841NANA5.33072916666667NA
5948NANA4.0703125NA
6043NANA2.48697916666667NA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/10/t12919914914eemnrh508do89v/15qve1291991515.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/10/t12919914914eemnrh508do89v/15qve1291991515.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/10/t12919914914eemnrh508do89v/25qve1291991515.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/10/t12919914914eemnrh508do89v/25qve1291991515.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/10/t12919914914eemnrh508do89v/35qve1291991515.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/10/t12919914914eemnrh508do89v/35qve1291991515.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/10/t12919914914eemnrh508do89v/4yhuh1291991515.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/10/t12919914914eemnrh508do89v/4yhuh1291991515.ps (open in new window)


 
Parameters (Session):
par1 = additive ; par2 = 12 ;
 
Parameters (R input):
par1 = additive ; par2 = 12 ;
 
R code (references can be found in the software module):
par2 <- as.numeric(par2)
x <- ts(x,freq=par2)
m <- decompose(x,type=par1)
m$figure
bitmap(file='test1.png')
plot(m)
dev.off()
mylagmax <- length(x)/2
bitmap(file='test2.png')
op <- par(mfrow = c(2,2))
acf(as.numeric(x),lag.max = mylagmax,main='Observed')
acf(as.numeric(m$trend),na.action=na.pass,lag.max = mylagmax,main='Trend')
acf(as.numeric(m$seasonal),na.action=na.pass,lag.max = mylagmax,main='Seasonal')
acf(as.numeric(m$random),na.action=na.pass,lag.max = mylagmax,main='Random')
par(op)
dev.off()
bitmap(file='test3.png')
op <- par(mfrow = c(2,2))
spectrum(as.numeric(x),main='Observed')
spectrum(as.numeric(m$trend[!is.na(m$trend)]),main='Trend')
spectrum(as.numeric(m$seasonal[!is.na(m$seasonal)]),main='Seasonal')
spectrum(as.numeric(m$random[!is.na(m$random)]),main='Random')
par(op)
dev.off()
bitmap(file='test4.png')
op <- par(mfrow = c(2,2))
cpgram(as.numeric(x),main='Observed')
cpgram(as.numeric(m$trend[!is.na(m$trend)]),main='Trend')
cpgram(as.numeric(m$seasonal[!is.na(m$seasonal)]),main='Seasonal')
cpgram(as.numeric(m$random[!is.na(m$random)]),main='Random')
par(op)
dev.off()
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Classical Decomposition by Moving Averages',6,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'t',header=TRUE)
a<-table.element(a,'Observations',header=TRUE)
a<-table.element(a,'Fit',header=TRUE)
a<-table.element(a,'Trend',header=TRUE)
a<-table.element(a,'Seasonal',header=TRUE)
a<-table.element(a,'Random',header=TRUE)
a<-table.row.end(a)
for (i in 1:length(m$trend)) {
a<-table.row.start(a)
a<-table.element(a,i,header=TRUE)
a<-table.element(a,x[i])
if (par1 == 'additive') a<-table.element(a,m$trend[i]+m$seasonal[i]) else a<-table.element(a,m$trend[i]*m$seasonal[i])
a<-table.element(a,m$trend[i])
a<-table.element(a,m$seasonal[i])
a<-table.element(a,m$random[i])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable.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