Home » date » 2010 » May » 30 »

WErkloosheid V Claudine Kuypers

*Unverified author*
R Software Module: /rwasp_decompose.wasp (opens new window with default values)
Title produced by software: Classical Decomposition
Date of computation: Sun, 30 May 2010 07:45:50 +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/30/t1275205634imyd4ez9z81pekt.htm/, Retrieved Sun, 30 May 2010 09:47:16 +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/30/t1275205634imyd4ez9z81pekt.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 «
43657 42811 45419 50846 54500 51035 38675 36214 38763 39486 40540 40719 40471 39947 42683 47090 51520 48823 36122 33812 36928 37737 40123 41713 42025 42169 46352 50939 56139 52713 38532 37860 40880 41988 44576 46728 46913 49357 54709 60819 63695 60109 45544 43596 44431 45575 47980 49211 51374 52954 57529 62960 64530 61008 44964 43480 45429 47616 49364 51010 53188 55317 60106 65845 67028 63617 47605 45844 47925 50156 52258 53476 54327 55214 59347 64718 66208 62744 45587 43684 45676 47088 48907 50964 51798
 
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'RServer@AstonUniversity' @ vre.aston.ac.uk


Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
143657NANA0.975980189395886NA
242811NANA0.995022987322727NA
345419NANA1.07968564766037NA
450846NANA1.18409664287106NA
554500NANA1.24142341825675NA
651035NANA1.17042490499207NA
73867537493.045231327343422.66666666670.863444097506541.03152464040678
83621436197.942051686943170.58333333330.83848628526031.00044361495165
93876337111.014973974642937.250.8643081467484421.04451468188579
103948638182.902760161542666.750.8949100355701231.03412776781335
114054039517.564840261942386.08333333330.9323240491339381.02587292926249
124071940478.472939634642169.750.9598935952817971.00594209817955
134047140963.067858340841971.20833333330.9759801893958860.987987524273267
143994741556.886309786941764.750.9950229873227270.961260660921853
154268344902.191649409441588.20833333331.079685647660370.950577208641918
164709049067.632771853541438.8751.184096642871060.959695777845065
175152051331.151387716541348.6251.241423418256751.00367902544903
184882348423.599452601841372.66666666671.170424904992071.00824805573962
193612235814.653813124141478.83333333330.863444097506541.00858157637037
203381234911.354720812141636.16666666670.83848628526030.968510109974143
213692836198.629686563241881.6250.8643081467484421.02014911392371
223773737760.617087126942194.8750.8949100355701230.999374557701946
234012339668.251714703142547.70833333330.9323240491339381.01146378440289
244171341181.594998178542902.250.9598935952817971.01290394414896
254202542127.940880226143164.750.9759801893958860.997556470169792
264216943217.662594210843433.83333333330.9950229873227270.97573532367872
274635247254.781688759343767.16666666671.079685647660370.98089544260927
285093952229.269483039544108.95833333331.184096642871060.975296045764942
295613955208.116722932344471.6251.241423418256751.01686134815537
305271352512.430090487344866.1251.170424904992071.00381947491607
313853239095.669429974245278.750.863444097506540.985582305196645
323786038387.509237929945781.91666666670.83848628526030.986258310361832
334088040129.503137975146429.6250.8643081467484421.01870187277038
344198842230.357123536347189.50.8949100355701230.994261068576158
354457644673.2391383018479160.9323240491339380.997823324653027
364672846592.2752213832485390.9598935952817971.00291303178417
374691347959.015853454249139.33333333330.9759801893958860.978189380352373
384935749423.289291813549670.50.9950229873227270.998658743827791
395470954046.319320856950057.45833333331.079685647660371.01226134707174
406081959625.038439691950354.8751.184096642871061.02002449963224
416369562873.337344934450646.16666666671.241423418256751.01306853890319
426010959564.630284699550891.45833333331.170424904992071.00913914369482
434554444191.752470295251180.79166666670.863444097506541.03059954525709
444359643195.913651540851516.54166666670.83848628526031.00926213418442
454443144757.261045542451783.91666666670.8643081467484420.992710433169481
464557546526.932068062951990.6250.8949100355701230.979540192620688
474798048587.718199096852114.6250.9323240491339380.987492349473862
484921150093.847070271752186.8750.9598935952817970.982376137551718
495137450946.328549830152200.16666666670.9759801893958861.00839454897621
505295451911.510108778552171.16666666670.9950229873227271.02008205673534
515752956368.138319248652207.91666666671.079685647660371.02059428810965
526296061969.155093695652334.54166666671.184096642871061.01598932412111
536453065146.48707571452477.251.241423418256750.990536909918143
546100861575.907948519652609.8751.170424904992070.990777108004735
554496445555.67035281952760.41666666670.863444097506540.987012146935022
564348044384.817330182852934.45833333330.83848628526030.97961426035728
574542945929.587008088453140.29166666670.8643081467484420.989100990435638
584761647759.446914551953367.8750.8949100355701230.996996470356775
594936449965.265828527553592.16666666670.9323240491339380.987966323834021
605101051647.034898570653804.95833333330.9598935952817970.987665605589523
615318852726.069091034754023.70833333330.9759801893958861.00876095860982
625531753962.33540423354232.250.9950229873227271.02510389117927
636010658772.418308980354434.751.079685647660371.02269060435813
646584564704.467676087954644.58333333331.184096642871061.01762679402018
656702868118.1443831661548711.241423418256750.983996270112203
666361764483.77985726855094.33333333331.170424904992070.98655817231579
674760547700.573421537455244.54166666670.863444097506540.997996388414604
684584446357.985180971655287.70833333330.83848628526030.988912693703898
694792547754.573659947755251.79166666670.8643081467484421.00356879617994
705015649375.057832101155173.20833333330.8949100355701231.01581653171029
715225851363.674208557755092.08333333330.9323240491339381.01741163974779
725347652814.825448363955021.54166666670.9598935952817971.01251873022439
735432753582.36970970654901.08333333330.9759801893958861.01389692718572
745521454454.6230272109547270.9950229873227271.01394513322422
755934758889.609188653454543.29166666671.079685647660371.00776691877647
766471864322.20180988154321.751.184096642871061.00615336818365
776620867104.263532280754054.29166666671.241423418256750.986643717029253
786274462980.5641376232538101.170424904992070.996243854896151
794558746280.567649513153599.95833333330.863444097506540.985013847393456
8043684NANA0.8384862852603NA
8145676NANA0.864308146748442NA
8247088NANA0.894910035570123NA
8348907NANA0.932324049133938NA
8450964NANA0.959893595281797NA
8551798NANANANA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/May/30/t1275205634imyd4ez9z81pekt/1i7ak1275205545.png (open in new window)
http://www.freestatistics.org/blog/date/2010/May/30/t1275205634imyd4ez9z81pekt/1i7ak1275205545.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/May/30/t1275205634imyd4ez9z81pekt/2i7ak1275205545.png (open in new window)
http://www.freestatistics.org/blog/date/2010/May/30/t1275205634imyd4ez9z81pekt/2i7ak1275205545.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/May/30/t1275205634imyd4ez9z81pekt/3byrn1275205545.png (open in new window)
http://www.freestatistics.org/blog/date/2010/May/30/t1275205634imyd4ez9z81pekt/3byrn1275205545.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/May/30/t1275205634imyd4ez9z81pekt/4byrn1275205545.png (open in new window)
http://www.freestatistics.org/blog/date/2010/May/30/t1275205634imyd4ez9z81pekt/4byrn1275205545.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