Home » date » 2010 » May » 24 »

Classical Deomposition eigen reeks

*Unverified author*
R Software Module: /rwasp_decompose.wasp (opens new window with default values)
Title produced by software: Classical Decomposition
Date of computation: Mon, 24 May 2010 21:03:14 +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/24/t127473545807syqus8nz7zxo6.htm/, Retrieved Mon, 24 May 2010 23:11: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/24/t127473545807syqus8nz7zxo6.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 «
81.28 69.39 67.63 51.25 103.97 133.83 162.37 172.91 163.01 151.50 111.73 88.58 74.29 63.98 61.18 76.48 107.98 124.97 145.57 140.20 143.84 138.80 104.06 74.70 60.18 55.16 35.62 56.18 85.44 114.08 133.64 67.14 95.58 89.37 75.24 69.18 54.49 57.50 62.16 76.67 110.04 127.38 156.47 167.56 153.54 124.08 100.97 79.17 68.13 61.77 54.31 60.30 84.18 104.05 114.66 105.55 96.61 70.94 63.91 58.61 44.53 49.58 57.39 76.76 104.57 125.41 143.11 136.35 135.15 131.70 96.87 70.63 66.29 63.49 62.97 66.43 101.49 127.69 133.21 158.72 148.61 134.31 100.99 75.16 59.74 52.87 52.07 57.38 79.43 101.40 120.19 134.38 135.97 113.83 84.38 70.28 65.96 56.36 49.57 68.33 90.32 117.06 134.69 131.67 129.25 118.77 88.44 76.79 75.28 73.89 76.24 88.58 105.83 115.84 127.76 131.75 119.63 93.38 75.55 51.79
 
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
181.28NANA0.652943450142838NA
269.39NANA0.617719131561426NA
367.63NANA0.591834737709433NA
451.25NANA0.730889134250637NA
5103.97NANA1.01904371711796NA
6133.83NANA1.25045624547342NA
7162.37162.752017763104112.8295833333331.442458732496460.997652761739276
8172.91155.602709011798112.3129166666671.385439125168581.11122744004983
9163.01154.148736587518111.818751.378558932088921.05748515108621
10151.5137.752636087019112.601251.223366846167511.09979746524993
11111.73107.553153133681113.8195833333330.9449441825726921.03883518748286
1288.5886.6158199833068113.61750.7623457652501311.02267691995610
1374.2973.4876970744929112.5483333333330.6529434501428381.01091751350833
1463.9868.2489556335356110.4854166666670.6177191315614260.937450242367694
1561.1864.1097581689522108.323750.5918347377094330.95430090125701
1676.4878.2020919934255106.9958333333330.7308891342506370.977978952358842
17107.98108.168518361230106.1470833333331.019043717117960.99825717903799
18124.97131.609477789206105.2491666666671.250456245473420.949551674387462
19145.57150.135312049534104.0829166666671.442458732496460.969592016779981
20140.2142.876873380823103.12751.385439125168580.98126447396642
21143.84140.192550598782101.6951.378558932088921.02601742664385
22138.8122.07264127245399.78416666666671.223366846167511.13702790857300
23104.0692.603742438638497.99916666666670.9449441825726921.12371268438695
2474.773.647365584195596.606250.7623457652501311.01429289978609
2560.1862.457577783184195.65541666666670.6529434501428380.963534003974818
2655.1656.900683037837892.11416666666670.6177191315614260.969408398196551
2735.6251.524639069368587.05916666666670.5918347377094330.691319738349728
2856.1860.655575640042582.988750.7308891342506370.926213285541916
2985.4481.246657159619679.72833333333331.019043717117961.05161249689501
30114.0897.907597879954978.29751.250456245473421.16518025638699
31133.64112.26716417467177.83041666666671.442458732496461.19037477237847
3267.14107.63592016695177.69083333333331.385439125168580.623769461866083
3395.58108.76025814804578.89416666666671.378558932088920.878813655167093
3489.3798.913797138316480.853751.223366846167510.903513994867968
3575.2478.177594584695382.73250.9449441825726920.96242408582279
3669.1864.27464204451484.31166666666670.7623457652501311.07631871293953
3754.4956.033702472862185.81708333333330.6529434501428380.972450464546586
3857.556.183099313340690.95250.6177191315614261.02343944536265
3962.1657.734465054784797.55166666666670.5918347377094331.07665325972997
4076.6774.121598864332101.4129166666670.7308891342506371.03438135678013
41110.04105.910487324716103.931251.019043717117961.03899059271272
42127.38131.822576374372105.4195833333331.250456245473420.96629882000064
43156.47153.483619382342106.4041666666671.442458732496461.01945732469482
44167.56148.450379528116107.1504166666671.385439125168581.12872732648194
45153.54147.507528932179107.001251.378558932088921.04089602145389
46124.08129.667200706224105.9920833333331.223366846167510.95691122600169
47100.9798.4938945100081104.23250.9449441825726921.02513968507703
4879.1777.8987138017404102.1829166666670.7623457652501311.01631973284559
4968.1364.947468806395599.468750.6529434501428381.04900162011073
5061.7758.771599857554595.14291666666670.6177191315614261.05101784109524
5154.3153.375848809362190.18708333333330.5918347377094331.01750138333115
5260.362.56471896613385.60083333333330.7308891342506370.963801979717051
5384.1883.401085418226581.84251.019043717117961.00933938183020
54104.0599.338328234150779.44166666666661.250456245473421.04743055223099
55114.66111.93720173961377.60166666666671.442458732496461.02432433737911
56105.55105.44634908288376.11041666666671.385439125168581.00098297302864
5796.61104.39941672620475.73083333333331.378558932088920.925388311827143
5870.9493.642615239892176.5451.223366846167510.757561072149332
5963.9173.781635502018678.08041666666670.9449441825726920.866204707514941
6058.6160.850438982265579.820.7623457652501310.96318121907192
6144.5353.473075909218781.89541666666670.6529434501428380.832755536180463
6249.5852.113359768236784.36416666666660.6177191315614260.95138751791281
6357.3951.63955364760787.25333333333330.5918347377094331.11135739847084
6476.7666.796567053444391.39083333333330.7308891342506371.14916085341009
65104.5797.110620225853495.29583333333331.019043717117961.07681322348470
66125.41121.50683337265297.171.250456245473421.03212302155367
67143.11142.19397570267098.57751.442458732496461.00644207529049
68136.35138.632234261088100.063751.385439125168580.983537492032412
69135.15139.063281073580100.8758333333331.378558932088920.971859709886257
70131.7123.166025391215100.6779166666671.223366846167511.06928838193550
7196.8794.6070241056925100.1191666666670.9449441825726921.02391974502632
7270.6376.3000112031971100.0858333333330.7623457652501310.92568793747491
7366.2965.143079781667499.76833333333330.6529434501428381.01760617124914
7463.4961.949764789438100.2879166666670.6177191315614261.02486264824083
7562.9760.2374327996809101.7808333333330.5918347377094331.04536327451746
7666.4374.879896341117102.4504166666670.7308891342506370.887154005894675
77101.49104.687210262625102.7308333333331.019043717117960.969459399533098
78127.69128.911097416161103.091251.250456245473420.990527600488735
79133.21148.583466863157103.0070833333331.442458732496460.896533125873851
80158.72141.718877178703102.2916666666671.385439125168581.11996371379558
81148.61139.778982919156101.3951.378558932088921.06317843281169
82134.31123.026357676278100.563751.223366846167511.09171727536154
83100.9993.802246643534799.26750.9449441825726921.07662666528425
8475.1674.140349179057297.25291666666670.7623457652501311.01375298109913
8559.7462.431187985407595.6150.6529434501428380.956893532347382
8652.8758.101631982781894.05833333333330.6177191315614260.909957228321363
8752.0754.755070346032592.51750.5918347377094330.950962160598758
8857.3866.611408472767491.13750.7308891342506370.861414002729855
8979.4391.298249624341889.59208333333331.019043717117960.87000572658101
90101.4110.91130078600788.69666666666671.250456245473420.91424407865923
91120.19128.02181865589288.75251.442458732496460.938824344645947
92134.38123.52171153591689.15708333333331.385439125168581.08790591005474
93135.97122.96515914411189.19833333333331.378558932088921.10576037103850
94113.83109.55301081048689.55041666666671.223366846167511.03904036190217
9584.3885.480044482268590.46041666666670.9449441825726920.987130979061473
9670.2869.805460571403791.56666666666670.7623457652501311.00679802732783
9765.9660.608387520425492.82333333333330.6529434501428381.0882982157836
9856.3657.64220337868393.31458333333330.6177191315614260.977755822929608
9949.5754.9942702191992.92166666666670.5918347377094330.901366629694865
10068.3367.86122889233692.84750.7308891342506371.00690778984282
10190.3294.997802919028893.22251.019043717117960.950758830464574
102117.06117.12137911509093.66291666666661.250456245473420.999475935857712
103134.69136.05631379589794.32251.442458732496460.989957733251932
104131.67132.22804190499695.441251.385439125168580.995779700758204
105129.25134.11023371049597.28291666666671.378558932088920.963759412119236
106118.77121.40437713273499.23791666666661.223366846167510.978300805992736
10788.4495.1822588768336100.7279166666670.9449441825726920.929164752377246
10876.7977.2434140876941101.3233333333330.7623457652501310.994130061532763
10975.2865.9366781333619100.983750.6529434501428381.14170143433281
11073.8962.2032870163497100.6983333333330.6177191315614261.18787934760712
11176.2459.3615173878709100.3008333333330.5918347377094331.28433374608409
11288.5872.242604715029398.84208333333330.7308891342506371.22614626575849
113105.8399.099029278879897.24708333333331.019043717117961.06792166149457
114115.84119.62906491069995.66833333333331.250456245473420.968326552468433
115127.76NANA1.44245873249646NA
116131.75NANA1.38543912516858NA
117119.63NANA1.37855893208892NA
11893.38NANA1.22336684616751NA
11975.55NANA0.944944182572692NA
12051.79NANA0.762345765250131NA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/May/24/t127473545807syqus8nz7zxo6/18b2u1274734990.png (open in new window)
http://www.freestatistics.org/blog/date/2010/May/24/t127473545807syqus8nz7zxo6/18b2u1274734990.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/May/24/t127473545807syqus8nz7zxo6/28b2u1274734990.png (open in new window)
http://www.freestatistics.org/blog/date/2010/May/24/t127473545807syqus8nz7zxo6/28b2u1274734990.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/May/24/t127473545807syqus8nz7zxo6/3132x1274734990.png (open in new window)
http://www.freestatistics.org/blog/date/2010/May/24/t127473545807syqus8nz7zxo6/3132x1274734990.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/May/24/t127473545807syqus8nz7zxo6/4132x1274734990.png (open in new window)
http://www.freestatistics.org/blog/date/2010/May/24/t127473545807syqus8nz7zxo6/4132x1274734990.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