Home » date » 2010 » Jan » 11 »

Classical Decomposition - Verkoopcijfers autos - Alexander De Houwer

*Unverified author*
R Software Module: /rwasp_decompose.wasp (opens new window with default values)
Title produced by software: Classical Decomposition
Date of computation: Mon, 11 Jan 2010 15:51:40 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2010/Jan/11/t1263250352x8k30qzb9ny12lm.htm/, Retrieved Mon, 11 Jan 2010 23:52:38 +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/Jan/11/t1263250352x8k30qzb9ny12lm.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:
KDGP2W52
 
Dataseries X:
» Textbox « » Textfile « » CSV «
68897 38683 44720 39525 45315 50380 40600 36279 42438 38064 31879 11379 70249 39253 47060 41697 38708 49267 39018 32228 40870 39383 34571 12066 70938 34077 45409 40809 37013 44953 37848 32745 43412 34931 33008 8620 68906 39556 50669 36432 40891 48428 36222 33425 39401 37967 34801 12657 69116 41519 51321 38529 41547 52073 38401 40898 40439 41888 37898 8771 68184 50530 47221 41756 45633 48138 39486 39341 41117 41629 29722 7054 56231 34418 34568 29789 30630 35502 33091 27630 33520
 
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'Gwilym Jenkins' @ 72.249.127.135


Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
168897NANA28717.1430555556NA
238683NANA209.309722222222NA
344720NANA7543.80138888889NA
439525NANA-966.29861111111NA
545315NANA-64.2319444444433NA
650380NANA7803.18472222222NA
74060038315.493055555640736.25-2420.756944444442284.50694444445
83627936085.084722222240816.3333333333-4731.24861111111193.915277777778
94243841671.126388888940937.5833333333733.543055555554766.873611111114
103806440174.259722222241125.5833333333-951.323611111115-2110.25972222221
113187934996.418055555640940.7916666667-5944.37361111111-3117.41805555555
121137910690.376388888940619.125-29928.7486111111688.623611111107
137024969223.976388888940506.833333333328717.14305555561025.02361111112
143925340481.434722222240272.125209.309722222222-1228.43472222222
154706047581.8013888889400387543.80138888889-521.801388888889
164169739061.326388888940027.625-966.298611111112635.67361111111
173870840130.518055555640194.75-64.2319444444433-1422.51805555556
184926748138.726388888940335.54166666677803.184722222221128.27361111111
193901837972.118055555540392.875-2420.756944444441045.88194444445
203222835474.668055555640205.9166666667-4731.24861111111-3246.66805555555
214087040655.001388888939921.4583333333733.543055555554214.998611111114
223938338864.343055555539815.6666666667-951.323611111115518.656944444454
233457133763.668055555639708.0416666667-5944.37361111111807.331944444442
24120669528.9180555555539457.6666666667-29928.74861111112537.08194444444
257093867946.309722222239229.166666666728717.14305555562991.69027777778
263407739411.268055555639201.9583333333209.309722222222-5334.26805555556
274540946873.218055555539329.41666666677543.80138888889-1464.21805555555
284080938283.534722222239249.8333333333-966.298611111112525.46527777778
293701338934.976388888938999.2083333333-64.2319444444433-1921.97638888889
304495346593.684722222238790.57803.18472222222-1640.68472222222
313784836141.493055555638562.25-2420.756944444441706.50694444445
323274533974.626388888938705.875-4731.24861111111-1229.62638888889
334341239886.876388888939153.3333333333733.5430555555543525.12361111112
343493138238.801388888939190.125-951.323611111115-3307.80138888888
353300833224.959722222239169.3333333333-5944.37361111111-216.959722222222
3686209546.9597222222239475.7083333333-29928.7486111111-926.959722222222
376890668269.893055555639552.7528717.1430555556636.106944444444
383955639722.643055555539513.3333333333209.309722222222-166.643055555549
395066946918.343055555639374.54166666677543.801388888893750.65694444445
403643238367.618055555639333.9166666667-966.29861111111-1935.61805555555
414089139470.893055555639535.125-64.23194444444331420.10694444444
424842847581.226388888939778.04166666677803.18472222222846.773611111115
433622237534.243055555639955-2420.75694444444-1312.24305555555
443342535314.293055555640045.5416666667-4731.24861111111-1889.29305555555
453940140888.043055555640154.5733.543055555554-1487.04305555556
463796739317.718055555640269.0416666667-951.323611111115-1350.71805555555
473480134439.376388888940383.75-5944.37361111111361.623611111114
481265710634.209722222240562.9583333333-29928.74861111112022.79027777777
496911669522.768055555640805.62528717.1430555556-406.768055555549
504151941417.101388888941207.7916666667209.309722222222101.898611111115
515132149106.218055555641562.41666666677543.801388888892214.78194444444
523852940802.743055555641769.0416666667-966.29861111111-2273.74305555556
534154741997.226388888942061.4583333333-64.2319444444433-450.226388888877
545207349831.768055555542028.58333333337803.184722222222241.23194444445
553840139407.076388888941827.8333333333-2420.75694444444-1006.07638888888
564089837433.209722222242164.4583333333-4731.248611111113464.79027777777
574043943102.626388888942369.0833333333733.543055555554-2663.62638888889
584188841381.384722222242332.7083333333-951.323611111115506.615277777782
593789836693.043055555642637.4166666667-5944.373611111111204.95694444444
60877112714.959722222242643.7083333333-29928.7486111111-3943.95972222223
616818471242.101388888942524.958333333328717.1430555556-3058.10138888888
625053042714.601388888942505.2916666667209.3097222222227815.39861111112
634722150012.468055555542468.66666666677543.80138888889-2791.46805555555
644175641519.826388888942486.125-966.29861111111236.173611111117
654563342070.434722222242134.6666666667-64.23194444444333562.56527777778
664813849525.643055555641722.45833333337803.18472222222-1387.64305555556
673948638732.118055555641152.875-2420.75694444444753.881944444445
683934135252.251388888939983.5-4731.248611111114088.74861111111
694111739518.501388888938784.9583333333733.5430555555541598.49861111112
704162936807.801388888937759.125-951.3236111111154821.19861111111
712972230691.001388888936635.375-5944.37361111111-969.001388888886
7270545555.0013888888935483.75-29928.74861111111498.99861111111
7356231NA34690.7916666667NANA
7434418NA33936.375NANA
7534568NA33131.875NANA
7629789NANANANA
7730630NANANANA
7835502NANANANA
7933091NANANANA
8027630NANANANA
8133520NANANANA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Jan/11/t1263250352x8k30qzb9ny12lm/1uhqd1263250297.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Jan/11/t1263250352x8k30qzb9ny12lm/1uhqd1263250297.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Jan/11/t1263250352x8k30qzb9ny12lm/2vdwd1263250297.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Jan/11/t1263250352x8k30qzb9ny12lm/2vdwd1263250297.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Jan/11/t1263250352x8k30qzb9ny12lm/3lkmj1263250297.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Jan/11/t1263250352x8k30qzb9ny12lm/3lkmj1263250297.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Jan/11/t1263250352x8k30qzb9ny12lm/4gt2u1263250297.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Jan/11/t1263250352x8k30qzb9ny12lm/4gt2u1263250297.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