Home » date » 2010 » Dec » 26 »

CD Dollar

*The author of this computation has been verified*
R Software Module: /rwasp_decompose.wasp (opens new window with default values)
Title produced by software: Classical Decomposition
Date of computation: Sun, 26 Dec 2010 12:31:19 +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/Dec/26/t1293366670cfer3pjhp8pn4yp.htm/, Retrieved Sun, 26 Dec 2010 13:31:15 +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/Dec/26/t1293366670cfer3pjhp8pn4yp.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:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
0,8973 0,9383 0,9217 0,9095 0,892 0,8742 0,8532 0,8607 0,9005 0,9111 0,9059 0,8883 0,8924 0,8833 0,87 0,8758 0,8858 0,917 0,9554 0,9922 0,9778 0,9808 0,9811 1,0014 1,0183 1,0622 1,0773 1,0807 1,0848 1,1582 1,1663 1,1372 1,1139 1,1222 1,1692 1,1702 1,2286 1,2613 1,2646 1,2262 1,1985 1,2007 1,2138 1,2266 1,2176 1,2218 1,249 1,2991 1,3408 1,3119 1,3014 1,3201 1,2938 1,2694 1,2165 1,2037 1,2292 1,2256 1,2015 1,1786 1,1856 1,2103 1,1938 1,202 1,2271 1,277 1,265 1,2684 1,2811 1,2727 1,2611 1,2881 1,3213 1,2999 1,3074 1,3242 1,3516 1,3511 1,3419 1,3716 1,3622 1,3896 1,4227 1,4684 1,457 1,4718 1,4748 1,5527 1,575 1,5557 1,5553 1,577 1,4975 1,4369 1,3322 1,2732 1,3449 1,3239 1,2785 1,305 1,319 1,365 1,4016 1,4088 1,4268 1,4562 1,4816 1,4914 1,4614 1,4272 1,3686 1,3569 1,3406 1,2565 1,2208 1,277 1,2894 1,3067 1,3898 1,3661
 
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
10.8973NANA0.0107257330246914NA
20.9383NANA0.00726323302469138NA
30.9217NANA-0.00928676697530873NA
40.9095NANA-0.00100760030864195NA
50.892NANA-0.00145713734567903NA
60.8742NANA0.00235721450617286NA
70.85320.9001386959876540.8958541666666670.00428452932098763-0.0469386959876544
80.86070.9013456404320990.8933583333333330.00798730709876542-0.0406456404320987
90.90050.8881673996913580.8889125-0.0007451003086419050.0123326003086419
100.91110.8816132330246910.885354166666667-0.003740933641975340.0294867669753087
110.90590.8744025848765430.883691666666667-0.009289081790123420.0314974151234567
120.88830.8781252700617280.885216666666667-0.007091396604938280.0101747299382716
130.89240.9019840663580250.8912583333333330.0107257330246914-0.00958406635802478
140.88330.9082590663580250.9009958333333330.00726323302469138-0.0249590663580247
150.870.9004090663580250.909695833333333-0.00928676697530873-0.0304090663580247
160.87580.9148132330246910.915820833333333-0.00100760030864195-0.0390132330246913
170.88580.9204011959876540.921858333333333-0.00145713734567903-0.0346011959876542
180.9170.932061381172840.9297041666666670.00235721450617286-0.0150613811728395
190.95540.9439470293209880.93966250.004284529320987630.0114529706790125
200.99220.9603498070987650.95236250.007987307098765420.0318501929012347
210.97780.9677090663580250.968454166666667-0.0007451003086419050.0100909336419754
220.98080.9818882330246910.985629166666667-0.00374093364197534-0.00108823302469130
230.98110.993169251543211.00245833333333-0.00928908179012342-0.0120692515432100
241.00141.013708603395061.0208-0.00709139660493828-0.0123086033950617
251.01831.050363233024691.03963750.0107257330246914-0.0320632330246913
261.06221.061729899691361.054466666666670.007263233024691380.00047010030864203
271.07731.056892399691361.06617916666667-0.009286766975308730.0204076003086417
281.08071.076734066358021.07774166666667-0.001007600308641950.00396593364197528
291.08481.090013695987651.09147083333333-0.00145713734567903-0.00521369598765431
301.15821.108698881172841.106341666666670.002357214506172860.0495011188271604
311.16631.126422029320991.12213750.004284529320987630.0398779706790122
321.13721.147183140432101.139195833333330.00798730709876542-0.0099831404320987
331.11391.154550733024691.15529583333333-0.000745100308641905-0.0406507330246917
341.12221.165421566358021.1691625-0.00374093364197534-0.0432215663580247
351.16921.170673418209881.1799625-0.00928908179012342-0.00147341820987634
361.17021.179379436728401.18647083333333-0.00709139660493828-0.00917943672839527
371.22861.200946566358021.190220833333330.01072573302469140.0276534336419751
381.26131.203188233024691.1959250.007263233024691380.0581117669753088
391.26461.194684066358021.20397083333333-0.009286766975308730.0699159336419755
401.22621.211434066358021.21244166666667-0.001007600308641950.0147659336419754
411.19851.218459529320991.21991666666667-0.00145713734567903-0.0199595293209878
421.20071.230969714506171.22861250.00235721450617286-0.0302697145061726
431.21381.242942862654321.238658333333330.00428452932098763-0.0291428626543211
441.22661.253428973765431.245441666666670.00798730709876542-0.0268289737654321
451.21761.248338233024691.24908333333333-0.000745100308641905-0.0307382330246913
461.22181.250788233024691.25452916666667-0.00374093364197534-0.0289882330246913
471.2491.253123418209881.2624125-0.00928908179012342-0.0041234182098766
481.29911.262154436728401.26924583333333-0.007091396604938280.0369455632716049
491.34081.282946566358021.272220833333330.01072573302469140.0578534336419756
501.31191.278642399691361.271379166666670.007263233024691380.0332576003086422
511.30141.261621566358021.27090833333333-0.009286766975308730.0397784336419753
521.32011.270542399691361.27155-0.001007600308641950.049557600308642
531.29381.268272029320991.26972916666667-0.001457137345679030.0255279706790124
541.26941.265086381172841.262729166666670.002357214506172860.00431361882716086
551.21651.255526195987651.251241666666670.00428452932098763-0.0390261959876543
561.20371.248528973765431.240541666666670.00798730709876542-0.0448289737654322
571.22921.231079899691361.231825-0.000745100308641905-0.00187989969135804
581.22561.218679899691361.22242083333333-0.003740933641975340.00692010030864187
591.20151.205431751543211.21472083333333-0.00928908179012342-0.00393175154320979
601.17861.205166936728401.21225833333333-0.00709139660493828-0.0265669367283949
611.18561.225321566358021.214595833333330.0107257330246914-0.0397215663580244
621.21031.226575733024691.21931250.00726323302469138-0.0162757330246917
631.19381.214884066358021.22417083333333-0.00928676697530873-0.0210840663580247
641.2021.227288233024691.22829583333333-0.00100760030864195-0.0252882330246913
651.22711.231284529320991.23274166666667-0.00145713734567903-0.00418452932098723
661.2771.242144714506171.23978750.002357214506172860.0348552854938271
671.2651.254288695987651.250004166666670.004284529320987630.0107113040123454
681.26841.267378973765431.259391666666670.007987307098765420.00102102623456779
691.28111.267113233024691.26785833333333-0.0007451003086419050.0139867669753084
701.27271.273942399691361.27768333333333-0.00374093364197534-0.00124239969135775
711.26111.278673418209881.2879625-0.00928908179012342-0.0175734182098763
721.28811.289146103395061.2962375-0.00709139660493828-0.00104610339506173
731.32131.313254899691361.302529166666670.01072573302469140.00804510030864214
741.29991.317296566358021.310033333333330.00726323302469138-0.0173965663580247
751.30741.308425733024691.3177125-0.00928676697530873-0.00102573302469144
761.32421.324954899691361.3259625-0.00100760030864195-0.000754899691358002
771.35161.336109529320991.33756666666667-0.001457137345679030.0154904706790124
781.35111.354169714506171.35181250.00235721450617286-0.00306971450617244
791.34191.369263695987651.364979166666670.00428452932098763-0.0273636959876542
801.37161.38578314043211.377795833333330.00798730709876542-0.0141831404320989
811.36221.391188233024691.39193333333333-0.000745100308641905-0.0289882330246913
821.38961.404688233024691.40842916666667-0.00374093364197534-0.0150882330246915
831.42271.417969251543211.42725833333333-0.009289081790123420.00473074845679022
841.46841.438000270061731.44509166666667-0.007091396604938280.0303997299382712
851.4571.473234066358021.462508333333330.0107257330246914-0.0162340663580247
861.47181.487221566358021.479958333333330.00726323302469138-0.0154215663580246
871.47481.484867399691361.49415416666667-0.00928676697530873-0.0100673996913578
881.55271.500754899691361.5017625-0.001007600308641950.0519451003086417
891.5751.498505362654321.4999625-0.001457137345679030.076494637345679
901.55571.490415547839511.488058333333330.002357214506172860.065284452160494
911.55531.479538695987651.475254166666670.004284529320987630.075761304012346
921.5771.47240814043211.464420833333330.007987307098765420.104591859567901
931.49751.449334066358021.45007916666667-0.0007451003086419050.0481659336419755
941.43691.427838233024691.43157916666667-0.003740933641975340.00906176697530903
951.33221.401302584876541.41059166666667-0.00928908179012342-0.0691025848765432
961.27321.384887770061731.39197916666667-0.00709139660493828-0.111687770061728
971.34491.388354899691361.377629166666670.0107257330246914-0.0434548996913577
981.32391.371479899691361.364216666666670.00726323302469138-0.0475798996913579
991.27851.344975733024691.3542625-0.00928676697530873-0.0664757330246915
1001.3051.351113233024691.35212083333333-0.00100760030864195-0.0461132330246916
1011.3191.357692862654321.35915-0.00145713734567903-0.0386928626543208
1021.3651.376823881172841.374466666666670.00235721450617286-0.0118238811728395
1031.40161.392697029320991.38841250.004284529320987630.00890297067901225
1041.40881.40555814043211.397570833333330.007987307098765420.00324185956790113
1051.42681.404884066358021.40562916666667-0.0007451003086419050.0219159336419752
1061.45621.407804899691361.41154583333333-0.003740933641975340.0483951003086418
1071.48161.405319251543211.41460833333333-0.009289081790123420.0762807484567902
1081.49141.403896103395061.4109875-0.007091396604938280.0875038966049382
1091.46141.409659066358021.398933333333330.01072573302469140.0517409336419754
1101.42721.393171566358021.385908333333330.007263233024691380.0340284336419754
1111.36861.365404899691361.37469166666667-0.009286766975308730.00319510030864212
1121.35691.361729899691361.3627375-0.00100760030864195-0.00482989969135805
1131.34061.351226195987651.35268333333333-0.00145713734567903-0.0106261959876544
1141.25651.345994714506171.34363750.00235721450617286-0.089494714506173
1151.2208NANA0.00428452932098763NA
1161.277NANA0.00798730709876542NA
1171.2894NANA-0.000745100308641905NA
1181.3067NANA-0.00374093364197534NA
1191.3898NANA-0.00928908179012342NA
1201.3661NANA-0.00709139660493828NA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/26/t1293366670cfer3pjhp8pn4yp/1jdoz1293366675.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/26/t1293366670cfer3pjhp8pn4yp/1jdoz1293366675.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/26/t1293366670cfer3pjhp8pn4yp/2umnj1293366675.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/26/t1293366670cfer3pjhp8pn4yp/2umnj1293366675.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/26/t1293366670cfer3pjhp8pn4yp/3umnj1293366675.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/26/t1293366670cfer3pjhp8pn4yp/3umnj1293366675.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/26/t1293366670cfer3pjhp8pn4yp/45dnm1293366675.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/26/t1293366670cfer3pjhp8pn4yp/45dnm1293366675.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])
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