Home » date » 2009 » May » 31 »

Additief decompositiemodel - Omzetcijfers Carrefour Burcht - Jeroen Van Eeckhoven

*Unverified author*
R Software Module: rwasp_decompose.wasp (opens new window with default values)
Title produced by software: Classical Decomposition
Date of computation: Sun, 31 May 2009 06:22:48 -0600
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2009/May/31/t1243772630mwp7isgn776b6g6.htm/, Retrieved Sun, 31 May 2009 14:23:55 +0200
 
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/2009/May/31/t1243772630mwp7isgn776b6g6.htm/},
    year = {2009},
}
@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 = {2009},
    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 «
2291180 1971664 2193270 2197733 2345324 2195121 2170583 2241521 2154945 2912568 2392562 3336621 4080642 3735329 4018383 4171360 3855698 4101316 4199346 3959646 3960841 4784025 4105467 5929558 4048642 3828808 4268127 4171816 4004783 4295447 3968177 3918480 4040260 4530715 4103330 6025506 4632308 4133863 4519182 4151573 4486595 4504699 4180443 4222193 4373727 4734738 4403232 5903985 4414074 4061816 4504697 3994176 4114925 4485120 4171230 4476075 4179369 4823185 4585751 6110454 4279575 3782118 4098678 4065616 4413733 4481214 4345018 4294488 4361269 4535031 4318397 6040168
 
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


Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
12291180NANA1.03464187545731NA
21971664NANA0.932091840987793NA
32193270NANA1.00974836055787NA
42197733NANA0.963277787504782NA
52345324NANA0.96726036696828NA
62195121NANA1.00423857820004NA
721705832281130.646860612441485.250.9343208798253480.95153822205986
822415212410955.550109192589532.208333330.9310390279566830.929723071791383
921549452503799.357619872739064.6250.9141074419227580.860670002746749
1029125683084082.743139642897345.458333331.064451163139420.944387113633328
1123925622867947.943443093042512.166666670.9426249711879280.834241780946565
1233366214147329.3779313184869.208333331.302197706291790.804522789473875
1340806423464835.397669803348825.791666671.034641875457311.17773040610943
1437353293266931.686214283504946.1250.9320918409877931.14337530097805
1540183833687379.204700813651780.333333331.009748360557871.08976668167929
1641713603665275.232518233805003.3750.9632777875047821.13807551558251
1738556983824887.765129183954351.791666670.967260366968281.00805519972422
1841013164151283.147967544133761.8751.004238578200040.987963444991219
1941993463961957.403330874240467.583333330.9343208798253481.05991699872128
2039596463950425.789718484243029.208333330.9310390279566831.00233397886008
2139608413891657.188072264257330.166666670.9141074419227581.01777746820552
2247840254542816.951152614267755.166666671.064451163139421.05309658113920
2341054674028765.969383654273986.041666670.9426249711879281.01903834355215
2459295585584197.115513224288286.708333331.302197706291791.06184611276120
2540486424435244.291334354286743.458333331.034641875457310.912834047926132
2638288083985061.883940494275396.166666670.9320918409877930.960790098500056
2742681274318683.682695264276990.041666671.009748360557870.98829349718345
2841718164112950.115443864269744.583333330.9632777875047821.01431232640899
2940047834119659.555912454259100.958333330.967260366968280.972115036605977
3042954474281078.850192914263009.751.004238578200041.00335619835791
3139681774009476.4182582742913270.9343208798253480.989699548282613
3239184804029869.33272284328357.041666670.9310390279566830.972359070846712
3340402603977764.395149934351528.291666670.9141074419227581.01571123843490
3445307154642226.355743124361145.458333331.064451163139420.97597890598222
3541033304129053.214729754380377.50.9426249711879280.993770190551678
3660255065741613.448013024409171.833333331.302197706291791.04944473440392
3746323084580085.488772664426735.083333331.034641875457311.01140208220029
3841338634146162.812390304448234.208333330.9320918409877930.997033446840645
3945191824518405.176757864474783.3751.009748360557871.00017192421037
4041515734332032.436450104497178.791666670.9632777875047820.958343008946172
4144865954370252.253367154518175.666666670.967260366968281.02662151745204
4245046994544790.352627104525608.208333331.004238578200040.991178613419664
4341804434215143.56834964511451.750.9343208798253480.991767642599374
4442221934189076.696157054499356.708333330.9310390279566831.00790539449262
4543737274109599.636570734495751.208333330.9141074419227581.06427082606267
4647347384777884.269778264488589.458333331.064451163139420.99096958667434
4744032324210276.8519345844665450.9426249711879281.04582956296015
4859039855795096.172782844450242.958333331.302197706291791.01878982228605
4944140744603166.495280754449043.291666671.034641875457310.95892121315303
5040618164156419.201474094459237.833333330.9320918409877930.977239254057788
5145046974505212.4357715444617181.009748360557870.999885591239284
5239941764293622.938770584457305.041666670.9632777875047820.930257746653385
5341149254322295.121650234468595.291666670.967260366968280.952023146080073
5444851204503812.31375714484803.1251.004238578200040.99584966857966
5541712304193046.996331854487801.8750.9343208798253480.99479686339053
5644760754162250.629851244470543.666666670.9310390279566831.07539775906286
5741793694060439.776275954441972.1250.9141074419227581.02928973960380
5848231854713423.103184474428031.333333331.064451163139421.02328708762457
5945857514188514.783433094443458.333333330.9426249711879281.09483939704310
6061104545802262.112502324455745.916666671.302197706291791.05311581612861
6142795754617424.938076514462824.333333331.034641875457310.926831525664768
6237821184159459.257850634462499.3750.9320918409877930.90928117467711
6340986784506014.596698314462512.416666671.009748360557870.909601580741266
6440656164294374.415854554458085.166666670.9632777875047820.94673067746259
6544137334289740.7246219444349390.967260366968281.02890437519134
6644812144439608.87269964420870.666666671.004238578200041.00937134970520
674345018NANA0.934320879825348NA
684294488NANA0.931039027956683NA
694361269NANA0.914107441922758NA
704535031NANA1.06445116313942NA
714318397NANA0.942624971187928NA
726040168NANA1.30219770629179NA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/31/t1243772630mwp7isgn776b6g6/1k1451243772565.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/31/t1243772630mwp7isgn776b6g6/1k1451243772565.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/31/t1243772630mwp7isgn776b6g6/2v5fa1243772565.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/31/t1243772630mwp7isgn776b6g6/2v5fa1243772565.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/31/t1243772630mwp7isgn776b6g6/3jxrk1243772565.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/31/t1243772630mwp7isgn776b6g6/3jxrk1243772565.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/31/t1243772630mwp7isgn776b6g6/4jfx51243772565.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/31/t1243772630mwp7isgn776b6g6/4jfx51243772565.ps (open in new window)


 
Parameters (Session):
par1 = multiplicative ; par2 = 12 ;
 
Parameters (R input):
par1 = multiplicative ; 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