Home » date » 2010 » May » 19 »

Personenwagen Australiƫ

*Unverified author*
R Software Module: /rwasp_decompose.wasp (opens new window with default values)
Title produced by software: Classical Decomposition
Date of computation: Wed, 19 May 2010 14:46:10 +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/May/19/t12742804196p2yw5pv3lsojmr.htm/, Retrieved Wed, 19 May 2010 16:47:05 +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/2010/May/19/t12742804196p2yw5pv3lsojmr.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 «
40801 49081 52431 59650 75428 78705 68870 70641 80074 76464 69976 92917 92559 73981 71107 96942 86270 69610 57768 80077 71454 70382 69881 84530 79322 80181 82137 88439 91575 82909 73282 94089 108112 95653 85273 105093 102275 99308 79687 93263 114918 103374 65124 104045 101183 95492 85035 90692 107486 98179 82551 106804 110898 89950 65184 95357 98280 92146 77874 100039 104777 102341 71316 88838 85457 70784 70522 88629 88452 98886 79601 108135 113835 101617 68698 79182 86003 84165 68550 90385 100368 99081 81288 103491 111695 82504 62237 78249 92341 84412 75102 90461 106451 98379 72615 98367 116949 95832 68060 83923 87653 78054 57566 78784 88916 84662 63442 77773 88102 87972 61790 95276 104418 95420 82141 104064 96287 78426 59111 76837 76615 65860 57703 68656 77955 65856 60947 69885 80550 73694 67538 76326 84727
 
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
140801NANA13521.1138888889NA
249081NANA2973.27638888889NA
352431NANA-15274.4569444444NA
459650NANA2163.70138888889NA
575428NANA7977.00138888889NA
678705NANA-3239.11111111112NA
76887052104.268055555670076.4166666667-17972.148611111116765.7319444444
87064177295.488888888973270.54024.98888888889-6654.48888888888
98007482419.734722222275086.16666666677333.56805555556-2345.73472222222
107646481047.576388888977418.16666666673629.40972222223-4583.57638888889
116997668712.763888888979423.75-10710.98611111111263.23611111111
129291785070.184722222279496.54166666675573.643055555567846.81527777777
139255992176.11388888897865513521.1138888889382.886111111118
147398181558.859722222278585.58333333332973.27638888889-7577.85972222222
157110763345.126388888978619.5833333333-15274.45694444447761.8736111111
169694280170.7013888889780072163.7013888888916771.2986111111
178627085726.626388888977749.6257977.00138888889543.373611111107
186961074157.097222222277396.2083333333-3239.11111111112-4547.09722222222
195776858523.059722222276495.2083333333-17972.1486111111-755.059722222213
208007780226.9888888889762024024.98888888889-149.988888888882
217145484253.484722222276919.91666666677333.56805555556-12799.4847222222
227038280654.618055555577025.20833333333629.40972222223-10272.6180555555
236988166180.972222222276891.9583333333-10710.98611111113700.02777777780
248453083240.768055555677667.1255573.643055555561289.23194444444
257932292388.780555555578867.666666666613521.1138888889-13066.7805555555
268018183071.193055555580097.91666666672973.27638888889-2890.19305555554
278213766934.709722222282209.1666666667-15274.456944444415202.2902777778
288843986953.243055555684789.54166666672163.701388888891485.75694444444
299157594460.834722222286483.83333333337977.00138888889-2885.83472222222
308290984742.847222222287981.9583333333-3239.11111111112-1833.84722222223
317328271822.976388888989795.125-17972.14861111111459.02361111112
329408995573.447222222291548.45833333334024.98888888889-1484.44722222222
3310811299576.90138888992243.33333333337333.568055555568535.09861111111
349565395971.659722222292342.253629.40972222223-318.659722222204
358527382804.888888888993515.875-10710.98611111112468.11111111112
36105093100914.85138888995341.20833333335573.643055555564178.14861111112
37102275109375.1138888899585413521.1138888889-7100.11388888887
389930898902.193055555595928.91666666662973.27638888889405.80694444447
397968780780.584722222296055.0416666667-15274.4569444444-1093.58472222221
409326397923.326388888995759.6252163.70138888889-4660.32638888889
41114918103720.001388889957437977.0013888888911197.9986111111
4210337491893.930555555695133.0416666667-3239.1111111111211480.0694444444
436512476777.976388888994750.125-17972.1486111111-11653.9763888889
4410404598945.197222222294920.20833333334024.988888888895099.80277777779
45101183102326.06805555694992.57333.56805555556-1143.06805555556
469549299305.451388888995676.04166666673629.40972222223-3813.45138888888
478503585361.763888888996072.75-10710.9861111111-326.763888888891
4890692100919.55972222295345.91666666675573.64305555556-10227.5597222222
49107486108310.19722222294789.083333333313521.1138888889-824.197222222225
509817997402.859722222294429.58333333332973.27638888889776.14027777777
518255178672.168055555693946.625-15274.45694444443878.83194444445
5210680495849.951388888993686.252163.7013888888910954.0486111111
53110898101225.45972222293248.45833333337977.001388888899672.54027777776
548995090100.430555555593339.5416666667-3239.11111111112-150.430555555547
556518475643.976388888993616.125-17972.1486111111-10459.9763888889
569535797701.655555555593676.66666666674024.98888888889-2344.65555555554
5798280100715.52638888993381.95833333337333.56805555556-2435.52638888889
589214695794.659722222292165.253629.40972222223-3648.65972222222
597787479645.638888888990356.625-10710.9861111111-1771.63888888888
6010003994071.6430555556884985573.643055555565967.35694444444
61104777101442.94722222287921.833333333313521.11388888893334.05277777779
6210234190837.193055555587863.91666666662973.2763888888911503.8069444445
637131671899.626388888987174.0833333333-15274.4569444444-583.626388888864
648883889209.118055555587045.41666666672163.70138888889-371.118055555547
658545795375.209722222287398.20833333337977.00138888889-9918.20972222222
667078484568.388888888987807.5-3239.11111111112-13784.3888888889
677052270550.101388888988522.25-17972.1486111111-28.1013888888847
688862992894.488888888988869.54024.98888888889-4265.48888888888
698845296063.818055555688730.257333.56805555556-7611.81805555557
709888691848.243055555588218.83333333333629.409722222237037.75694444445
717960177128.263888888987839.25-10710.98611111112472.73611111112
7210813593993.184722222288419.54166666675573.6430555555614141.8152777778
73113835102416.03055555688894.916666666713521.113888888911418.9694444444
7410161791859.193055555688885.91666666672973.276388888899757.80694444444
756869874181.126388888989455.5833333333-15274.4569444444-5483.1263888889
767918292123.909722222289960.20833333332163.70138888889-12941.9097222222
778600398015.626388888990038.6257977.00138888889-12012.6263888889
788416586676.305555555589915.4166666667-3239.11111111112-2511.30555555555
796855071660.601388888989632.75-17972.1486111111-3110.60138888887
809038592772.197222222288747.20833333334024.98888888889-2387.19722222221
8110036895015.193055555687681.6257333.568055555565352.80694444444
829908191002.951388888987373.54166666673629.409722222238078.0486111111
838128876887.763888888987598.75-10710.98611111114400.23611111112
8410349193446.768055555587873.1255573.6430555555610044.2319444445
85111695101677.53055555688156.416666666713521.113888888910017.4694444445
868250491405.859722222288432.58333333332973.27638888889-8901.85972222222
876223773414.751388888988689.2083333333-15274.4569444444-11177.7513888889
887824991077.118055555688913.41666666672163.70138888889-12828.1180555556
899234196499.793055555688522.79166666677977.00138888889-4158.79305555556
908441284708.805555555687947.9166666667-3239.11111111112-296.805555555562
917510269981.184722222287953.3333333333-17972.14861111115120.81527777779
929046192752.572222222288727.58333333334024.98888888889-2291.57222222221
9310645196859.109722222289525.54166666667333.568055555569591.8902777778
949837993633.993055555590004.58333333333629.409722222234745.00694444447
957261579334.680555555590045.6666666667-10710.9861111111-6719.68055555555
969836795159.059722222289585.41666666675573.643055555563207.94027777777
97116949102110.94722222288589.833333333313521.113888888914838.0527777778
989583290345.901388888987372.6252973.276388888895486.09861111111
996806070881.001388888986155.4583333333-15274.4569444444-2821.00138888888
1008392387016.993055555584853.29166666672163.70138888889-3093.99305555555
1018765391876.543055555683899.54166666677977.00138888889-4223.54305555555
1027805479420.138888888982659.25-3239.11111111112-1366.13888888889
1035756662627.059722222280599.2083333333-17972.1486111111-5061.05972222221
1047878483094.738888888979069.754024.98888888889-4310.73888888888
1058891685814.5680555555784817333.568055555563101.43194444446
1068466282322.201388888978692.79166666673629.409722222232339.79861111111
1076344269153.388888888979864.375-10710.9861111111-5711.38888888889
1087777386860.143055555681286.55573.64305555556-9087.14305555556
1098810296555.155555555683034.041666666713521.1138888889-8453.15555555555
1108797288084.609722222285111.33333333332973.27638888889-112.609722222231
1116179071197.334722222286471.7916666667-15274.4569444444-9407.3347222222
1129527688682.784722222286519.08333333332163.701388888896593.2152777778
11310441894055.793055555686078.79166666677977.0013888888910362.2069444444
1149542082620.222222222285859.3333333333-3239.1111111111212799.7777777778
1158214167369.559722222285341.7083333333-17972.148611111114771.4402777778
11610406487966.738888888983941.754024.9888888888916097.2611111111
1179628790183.693055555682850.1257333.568055555566103.30694444444
1187842685200.076388888981570.66666666673629.40972222223-6774.07638888888
1195911168647.888888888979358.875-10710.9861111111-9536.88888888889
1207683782598.059722222277024.41666666675573.64305555556-5761.05972222221
1217661588430.613888888974909.513521.1138888889-11815.6138888889
1226586075575.568055555672602.29166666672973.27638888889-9715.56805555556
1235770355248.001388888970522.4583333333-15274.45694444442454.99861111112
1246865671833.284722222269669.58333333332163.70138888889-3177.28472222223
1257795577800.543055555669823.54166666677977.00138888889154.456944444435
1266585666914.263888888970153.375-3239.11111111112-1058.26388888891
1276094752497.934722222270470.0833333333-17972.14861111118449.06527777777
12869885NANA4024.98888888889NA
12980550NANA7333.56805555556NA
13073694NANA3629.40972222223NA
13167538NANA-10710.9861111111NA
13276326NANA5573.64305555556NA
13384727NANANANA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/May/19/t12742804196p2yw5pv3lsojmr/1prx31274280367.png (open in new window)
http://www.freestatistics.org/blog/date/2010/May/19/t12742804196p2yw5pv3lsojmr/1prx31274280367.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/May/19/t12742804196p2yw5pv3lsojmr/2prx31274280367.png (open in new window)
http://www.freestatistics.org/blog/date/2010/May/19/t12742804196p2yw5pv3lsojmr/2prx31274280367.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/May/19/t12742804196p2yw5pv3lsojmr/300en1274280367.png (open in new window)
http://www.freestatistics.org/blog/date/2010/May/19/t12742804196p2yw5pv3lsojmr/300en1274280367.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/May/19/t12742804196p2yw5pv3lsojmr/400en1274280367.png (open in new window)
http://www.freestatistics.org/blog/date/2010/May/19/t12742804196p2yw5pv3lsojmr/400en1274280367.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