Home » date » 2011 » May » 20 »

Sarah Geerts - decompositie - inschrijving nieuwe personenwagens

*Unverified author*
R Software Module: /rwasp_decompose.wasp (opens new window with default values)
Title produced by software: Classical Decomposition
Date of computation: Fri, 20 May 2011 00:38:57 +0000
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2011/May/20/t130585178678vly1qyl70yy4y.htm/, Retrieved Fri, 20 May 2011 02:36:32 +0200
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
KDGP2W92
 
Dataseries X:
» Textbox « » Textfile « » CSV «
31.514 27.071 29.462 26.105 22.397 23.843 21.705 18.089 20.764 25.316 17.704 15.548 28.029 29.383 36.438 32.034 22.679 24.319 18.004 17.537 20.366 22.782 19.169 13.807 29.743 25.591 29.096 26.482 22.405 27.044 17.970 18.730 19.684 19.785 18.479 10.698 31.956 29.506 34.506 27.165 26.736 23.691 18.157 17.328 18.205 20.995 17.382 9.367 31.124 26.551 30.651 25.859 25.100 25.778 20.418 18.688 20.424 24.776 19.814 12.738 31.566 30.111 30.019 31.934 25.826 26.835 20.205 17.789 20.520 22.518 15.572 11.509 25.447 24.090 27.786 26.195 20.516 22.759 19.028 16.971 20.036 22.485 18.730 14.538 27.561 25.985 34.670 32.066 27.186 29.586 21.359 21.553 19.573 24.256 22.380 16.167 27.297 28.287
 
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' @ 216.218.223.82


Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
131.514NANA6.01641369047619NA
227.071NANA3.96799702380952NA
329.462NANA8.51861011904762NA
426.105NANA5.4704375NA
522.397NANA0.97934226190476NA
623.843NANA2.31411011904762NA
721.70519.052598214285723.1479583333333-4.095360119047622.65240178571429
818.08918.079604166666723.0990833333333-5.019479166666670.00939583333333616
920.76420.563800595238123.4860833333333-2.922282738095240.200199404761911
1025.31622.617395833333324.0237916666667-1.406395833333332.69860416666667
1117.70419.719598214285724.2825833333333-4.56298511904762-2.01559821428571
1215.54815.053758928571424.3141666666667-9.260407738095240.494241071428569
1328.02930.196205357142924.17979166666676.01641369047619-2.16720535714285
1429.38327.970580357142924.00258333333333.967997023809521.41241964285715
1536.43832.481610119047623.9638.518610119047623.95638988095238
1632.03429.311270833333323.84083333333335.47043752.72272916666667
1722.67924.775633928571423.79629166666670.97934226190476-2.09663392857142
1824.31926.098901785714323.78479166666672.31411011904762-1.77990178571428
1918.00419.68830654761923.7836666666667-4.09536011904762-1.68430654761904
2017.53718.677604166666723.6970833333333-5.01947916666667-1.14060416666667
2120.36620.310883928571423.2331666666667-2.922282738095240.0551160714285714
2222.78221.289520833333322.6959166666667-1.406395833333331.49247916666667
2319.16917.89018154761922.4531666666667-4.562985119047621.27881845238095
2413.80713.294883928571422.5552916666667-9.260407738095240.512116071428569
2529.74328.683830357142922.66741666666676.016413690476191.05916964285715
2625.59126.683705357142922.71570833333333.96799702380952-1.09270535714285
2729.09631.255610119047622.7378.51861011904762-2.15961011904762
2826.48228.054145833333322.58370833333335.4704375-1.57214583333333
2922.40523.409425595238122.43008333333330.97934226190476-1.00442559523809
3027.04424.585901785714322.27179166666672.314110119047622.45809821428572
3117.9718.139098214285722.2344583333333-4.09536011904762-0.169098214285714
3218.7317.470312522.4897916666667-5.019479166666671.2596875
3319.68419.956050595238122.8783333333333-2.92228273809524-0.272050595238092
3419.78521.725812523.1322083333333-1.40639583333333-1.9408125
3518.47918.778139880952423.341125-4.56298511904762-0.299139880952385
3610.69814.121467261904823.381875-9.26040773809524-3.42346726190477
3731.95629.266372023809523.24995833333336.016413690476192.68962797619048
3829.50627.167330357142923.19933333333333.967997023809522.33866964285714
3934.50631.597901785714323.07929166666678.518610119047622.90809821428572
4027.16528.538520833333323.06808333333335.4704375-1.37352083333333
4126.73624.052133928571423.07279166666670.979342261904762.68386607142857
4223.69125.285735119047622.9716252.31411011904762-1.59473511904762
4318.15718.786139880952422.8815-4.09536011904762-0.629139880952376
4417.32817.704229166666722.7237083333333-5.01947916666667-0.376229166666661
4518.20519.517675595238122.4399583333333-2.92228273809524-1.3126755952381
4620.99520.818520833333322.2249166666667-1.406395833333330.176479166666667
4717.38217.539348214285722.1023333333333-4.56298511904762-0.157348214285715
489.36712.860717261904822.121125-9.26040773809524-3.49371726190476
4931.12428.318705357142922.30229166666676.016413690476192.80529464285715
5026.55126.421163690476222.45316666666673.967997023809520.12983630952381
5130.65131.120901785714322.60229166666678.51861011904762-0.469901785714281
5225.85928.322729166666722.85229166666675.4704375-2.46372916666666
5325.124.090508928571423.11116666666670.979342261904761.00949107142857
5425.77825.66706845238123.35295833333332.314110119047620.110931547619046
5520.41819.416473214285723.5118333333333-4.095360119047621.00152678571429
5618.68818.659104166666723.6785833333333-5.019479166666670.0288958333333369
5720.42420.878300595238123.8005833333333-2.92228273809524-0.454300595238092
5824.77622.620979166666724.027375-1.406395833333332.15502083333334
5919.81419.747764880952424.31075-4.562985119047620.0662351190476222
6012.73815.124633928571424.3850416666667-9.26040773809524-2.38663392857143
6131.56630.436622023809524.42020833333336.016413690476191.12937797619048
6230.11128.341872023809524.3738753.967997023809521.76912797619048
6330.01932.859026785714324.34041666666678.51861011904762-2.84002678571429
6431.93429.720770833333324.25033333333335.47043752.21322916666667
6525.82624.958842261904823.97950.979342261904760.867157738095237
6626.83526.065651785714323.75154166666672.314110119047620.769348214285714
6720.20519.350014880952423.445375-4.095360119047620.854985119047619
6817.78917.920062522.9395416666667-5.01947916666667-0.131062499999999
6920.5219.673342261904822.595625-2.922282738095240.846657738095239
7022.51820.857062522.2634583333333-1.406395833333331.66093750000001
7115.57217.240098214285721.8030833333333-4.56298511904762-1.66809821428571
7211.50912.151592261904821.412-9.26040773809524-0.64259226190476
7325.44727.209538690476221.1931256.01641369047619-1.76253869047618
7424.0925.077997023809521.113.96799702380952-0.987997023809523
7527.78629.574360119047621.055758.51861011904762-1.78836011904762
7626.19526.504645833333321.03420833333335.4704375-0.309645833333335
7720.51622.143758928571421.16441666666670.97934226190476-1.62775892857143
7822.75923.736318452380921.42220833333332.31411011904762-0.977318452380953
7919.02817.541139880952421.6365-4.095360119047621.48686011904762
8016.97116.784062521.8035416666667-5.019479166666670.186937500000003
8120.03619.247050595238122.1693333333333-2.922282738095240.788949404761908
8222.48521.294395833333322.7007916666667-1.406395833333331.19060416666667
8318.7318.660348214285723.2233333333333-4.562985119047620.0696517857142922
8414.53814.525300595238123.7857083333333-9.260407738095240.0126994047619036
8527.56130.183705357142924.16729166666676.01641369047619-2.62270535714286
8625.98528.423330357142924.45533333333333.96799702380952-2.43833035714286
8734.6733.14556845238124.62695833333338.518610119047621.52443154761905
8832.06630.151895833333324.68145833333335.47043751.91410416666667
8927.18625.886675595238124.90733333333330.979342261904761.2993244047619
9029.58627.441401785714325.12729166666672.314110119047622.14459821428571
9121.35921.088806547619125.1841666666667-4.095360119047620.270193452380951
9221.55320.249604166666725.2690833333333-5.019479166666671.30339583333334
9319.573NANA-2.92228273809524NA
9424.256NANA-1.40639583333333NA
9522.38NANA-4.56298511904762NA
9616.167NANA-9.26040773809524NA
9727.297NANANANA
9828.287NANANANA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2011/May/20/t130585178678vly1qyl70yy4y/13tje1305851933.png (open in new window)
http://www.freestatistics.org/blog/date/2011/May/20/t130585178678vly1qyl70yy4y/13tje1305851933.ps (open in new window)


http://www.freestatistics.org/blog/date/2011/May/20/t130585178678vly1qyl70yy4y/27n7f1305851933.png (open in new window)
http://www.freestatistics.org/blog/date/2011/May/20/t130585178678vly1qyl70yy4y/27n7f1305851933.ps (open in new window)


http://www.freestatistics.org/blog/date/2011/May/20/t130585178678vly1qyl70yy4y/3lzt21305851933.png (open in new window)
http://www.freestatistics.org/blog/date/2011/May/20/t130585178678vly1qyl70yy4y/3lzt21305851933.ps (open in new window)


http://www.freestatistics.org/blog/date/2011/May/20/t130585178678vly1qyl70yy4y/47sgt1305851933.png (open in new window)
http://www.freestatistics.org/blog/date/2011/May/20/t130585178678vly1qyl70yy4y/47sgt1305851933.ps (open in new window)


 
Parameters (Session):
par1 = 4 ;
 
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