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:30:27 -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/t1243773106czpyvxcpmozqkj0.htm/, Retrieved Sun, 31 May 2009 14:31:46 +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/t1243773106czpyvxcpmozqkj0.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'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
12291180NANA96664.1145833333NA
21971664NANA-321225.635416667NA
32193270NANA16706.8729166666NA
42197733NANA-186104.885416667NA
52345324NANA-151435.435416667NA
62195121NANA8398.7812499998NA
721705832185384.664583332441485.25-256100.585416667-14801.6645833338
822415212327401.747916672589532.20833333-262130.460416666-85880.7479166668
921549452424214.047916672739064.625-314850.577083333-269269.047916667
1029125683166268.589583332897345.45833333268923.13125-253700.589583333
1123925622839655.064583333042512.16666667-202857.102083333-447093.064583333
1233366214488880.989583333184869.208333331304011.78125-1152259.98958333
1340806423445489.906253348825.7916666796664.1145833333635152.09375
1437353293183720.489583333504946.125-321225.635416667551608.510416667
1540183833668487.206253651780.3333333316706.8729166666349895.79375
1641713603618898.489583333805003.375-186104.885416667552461.510416667
1738556983802916.356253954351.79166667-151435.43541666752781.6437499998
1841013164142160.656254133761.8758398.7812499998-40844.65625
1941993463984366.997916674240467.58333333-256100.585416667214979.002083334
2039596463980898.747916674243029.20833333-262130.460416666-21252.7479166668
2139608413942479.589583334257330.16666667-314850.57708333318361.4104166664
2247840254536678.297916674267755.16666667268923.13125247346.702083333
2341054674071128.939583334273986.04166667-202857.10208333334338.0604166668
2459295585592298.489583334288286.708333331304011.78125337259.510416667
2540486424383407.572916674286743.4583333396664.1145833333-334765.572916667
2638288083954170.531254275396.16666667-321225.635416667-125362.53125
2742681274293696.914583334276990.0416666716706.8729166666-25569.9145833338
2841718164083639.697916674269744.58333333-186104.88541666788176.302083333
2940047834107665.522916674259100.95833333-151435.435416667-102882.522916668
3042954474271408.531254263009.758398.781249999824038.46875
3139681774035226.414583334291327-256100.585416667-67049.4145833328
3239184804066226.581254328357.04166667-262130.460416666-147746.581250000
3340402604036677.714583334351528.29166667-314850.5770833333582.28541666735
3445307154630068.589583334361145.45833333268923.13125-99353.5895833327
3541033304177520.397916674380377.5-202857.102083333-74190.3979166662
3660255065713183.614583334409171.833333331304011.78125312322.385416667
3746323084523399.197916674426735.0833333396664.1145833333108908.802083334
3841338634127008.572916674448234.20833333-321225.6354166676854.42708333395
3945191824491490.247916674474783.37516706.872916666627691.7520833332
4041515734311073.906254497178.79166667-186104.885416667-159500.90625
4144865954366740.231254518175.66666667-151435.435416667119854.768750001
4245046994534006.989583334525608.208333338398.7812499998-29307.989583333
4341804434255351.164583334511451.75-256100.585416667-74908.1645833319
4442221934237226.247916674499356.70833333-262130.460416666-15033.2479166668
4543737274180900.631254495751.20833333-314850.577083333192826.368750000
4647347384757512.589583334488589.45833333268923.13125-22774.5895833327
4744032324263687.897916674466545-202857.102083333139544.102083335
4859039855754254.739583334450242.958333331304011.78125149730.260416667
4944140744545707.406254449043.2916666796664.1145833333-131633.406249999
5040618164138012.197916674459237.83333333-321225.635416667-76196.197916666
5145046974478424.87291667446171816706.872916666626272.1270833332
5239941764271200.156254457305.04166667-186104.885416667-277024.156249999
5341149254317159.856254468595.29166667-151435.435416667-202234.856249999
5444851204493201.906254484803.1258398.7812499998-8081.90625
5541712304231701.289583334487801.875-256100.585416667-60471.2895833328
5644760754208413.206254470543.66666667-262130.460416666267661.79375
5741793694127121.547916674441972.125-314850.57708333352247.4520833343
5848231854696954.464583334428031.33333333268923.13125126230.535416667
5945857514240601.231254443458.33333333-202857.102083333345149.768750001
6061104545759757.697916674455745.916666671304011.78125350696.302083334
6142795754559488.447916674462824.3333333396664.1145833333-279913.447916667
6237821184141273.739583334462499.375-321225.635416667-359155.739583333
6340986784479219.289583334462512.4166666716706.8729166666-380541.289583333
6440656164271980.281254458085.16666667-186104.885416667-206364.28125
6544137334283503.564583334434939-151435.435416667130229.435416668
6644812144429269.447916674420870.666666678398.781249999851944.552083333
674345018NANA-256100.585416667NA
684294488NANA-262130.460416666NA
694361269NANA-314850.577083333NA
704535031NANA268923.13125NA
714318397NANA-202857.102083333NA
726040168NANA1304011.78125NA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/31/t1243773106czpyvxcpmozqkj0/1k0c11243773022.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/31/t1243773106czpyvxcpmozqkj0/1k0c11243773022.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/31/t1243773106czpyvxcpmozqkj0/24pbj1243773022.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/31/t1243773106czpyvxcpmozqkj0/24pbj1243773022.ps (open in new window)


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


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/31/t1243773106czpyvxcpmozqkj0/44am31243773022.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/31/t1243773106czpyvxcpmozqkj0/44am31243773022.ps (open in new window)


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