Home » date » 2009 » Jun » 01 »

datareeks-cinemaprijs-seda hovhannesian

*Unverified author*
R Software Module: rwasp_decompose.wasp (opens new window with default values)
Title produced by software: Classical Decomposition
Date of computation: Mon, 01 Jun 2009 10:18:44 -0600
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2009/Jun/01/t1243873161mytqrlfy65pyqka.htm/, Retrieved Mon, 01 Jun 2009 18:19:21 +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/2009/Jun/01/t1243873161mytqrlfy65pyqka.htm/},
    year = {2009},
}
@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 = {2009},
    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 «
5.44 5.44 5.44 5.44 5.44 5.49 5.49 5.49 5.49 5.49 5.49 5.60 5.60 5.60 5.60 5.60 5.60 5.60 5.67 5.67 5.67 5.67 5.67 5.67 5.67 5.67 5.67 5.82 5.82 5.95 5.95 5.95 5.95 5.95 5.95 6.02 6.02 6.05 6.05 6.05 6.12 6.12 6.12 6.12 6.12 6.12 6.12 6.12 6.17 6.17 6.17 6.17 6.17 6.28 6.27 6.28 6.28 6.27 6.27 6.28 6.59 6.59 6.59 6.59 6.59 6.63 6.63 6.63 6.63 6.63 6.63 6.63 6.63 6.63 6.63 6.63 6.63 6.63 6.63 6.63 6.63 6.63 6.79 6.79 6.79 6.81 6.80 6.80 6.85 6.85 6.85 6.85 6.85 6.85 6.86 6.86 6.88 6.88 6.88 6.91 6.91 6.91 6.91 6.99 6.99 6.99 7.02 7.02 7.05 7.05 7.05 7.05 7.10 7.10 7.10 7.10 7.12 7.13 7.18
 
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'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
15.44NANA1.00297856480580NA
25.44NANA1.00149938023597NA
35.44NANA0.99879899657331NA
45.44NANA1.00007470109577NA
55.44NANA0.999905593941477NA
65.49NANA1.00320931646963NA
75.495.496919881035365.4851.002173177946280.998741134820024
85.495.506009635273445.498333333333331.001396114326790.997092334315785
95.495.506137780182785.511666666666670.9989968757513360.997069128883614
105.495.505170109798675.5250.996410879601570.9972443885482
115.495.525507441673275.538333333333330.9976841603984230.99357390392682
125.65.53222556220495.549583333333330.996872238853651.01225084498689
135.65.578232451261625.561666666666671.002978564805801.00390223048763
145.65.585028210449265.576666666666671.001499380235971.00268070079265
155.65.584951055839095.591666666666670.998798996573311.00269455255927
165.65.607085490810265.606666666666671.000074701095770.998736332659476
175.65.621135947274345.621666666666670.9999055939414770.996239915299578
185.65.650158471133325.632083333333331.003209316469630.99112264348167
195.675.650168862829645.637916666666671.002173177946281.00350983088325
205.675.65162932023185.643751.001396114326791.00325051037980
215.675.643916099296825.649583333333330.9989968757513361.00462159611239
225.675.641346263344225.661666666666670.996410879601571.0050792373519
235.675.666846031063045.680.9976841603984231.00055656513688
245.675.68591003236155.703750.996872238853650.997201849436423
255.675.747067176337265.731.002978564805800.986590173044335
265.675.761959767624285.753333333333331.001499380235970.984040192689128
275.675.769728870205155.776666666666670.998798996573310.982715154828132
285.825.800433266355455.81.000074701095771.00337332277539
295.825.822783575385875.823333333333330.9999055939414770.99952195108236
305.955.868356497465465.849583333333331.003209316469631.01391249876687
315.955.891525569851715.878751.002173177946281.00992517633251
325.955.917416538909365.909166666666671.001396114326791.00550636597515
335.955.93487393935945.940833333333330.9989968757513361.00254867429286
345.955.944836410422875.966250.996410879601571.00086858396441
355.955.974465313852565.988333333333330.9976841603984230.99590502035457
366.025.989125338346156.007916666666670.996872238853651.00515512030716
376.026.040020498807626.022083333333331.002978564805800.9966853591289
386.056.045300633949376.036251.001499380235971.00077735853602
396.056.04315009551716.050416666666670.998798996573311.00113349898226
406.056.06503636435376.064583333333331.000074701095770.997520812168238
416.126.078176129171756.078750.9999055939414771.00688099027396
426.126.109544737300036.091.003209316469631.00171129980212
436.126.11367395762986.100416666666671.002173177946281.00103473662712
446.126.120199252060546.111666666666671.001396114326790.999967443533727
456.126.11552587439116.121666666666670.9989968757513361.00073160112487
466.126.109659376756966.131666666666670.996410879601571.00169250405062
476.126.124533639645826.138750.9976841603984230.999259757572973
486.126.128272088352816.14750.996872238853650.998650176063734
496.176.178765866939096.160416666666671.002978564805800.998581291615856
506.176.182589507323386.173333333333331.001499380235970.997963716124373
516.176.179236458800216.186666666666670.998798996573310.99850524270081
526.176.200046449001636.199583333333331.000074701095770.995153834854501
536.176.211496875030626.212083333333330.9999055939414770.993319343812692
546.286.244977995023436.2251.003209316469631.00560802696254
556.276.26274721784936.249166666666661.002173177946281.00115808316996
566.286.29294008178196.284166666666661.001396114326790.997943714446072
576.286.312827757351996.319166666666670.9989968757513360.9947998331946
586.276.33136079746836.354166666666670.996410879601570.990308434563887
596.276.374370381478926.389166666666670.9976841603984230.983626558352778
606.286.4011658637396.421250.996872238853650.981071281963592
616.596.470047558468116.450833333333331.002978564805801.01853965375801
626.596.490133275337516.480416666666671.001499380235971.01538746901269
636.596.501765301443676.509583333333330.998798996573311.01357088336251
646.596.539655149582066.539166666666661.000074701095771.00769839529247
656.596.568546497533896.569166666666670.9999055939414771.00326609585152
666.636.619927477053956.598751.003209316469631.00152154581466
676.636.629375572114656.6151.002173177946281.00009419105594
686.636.627573283319446.618333333333331.001396114326791.00036615463561
696.636.615024312266776.621666666666670.9989968757513361.00226389005184
706.636.60122207736046.6250.996410879601571.00435948409285
716.636.612983176507556.628333333333330.9976841603984231.00257324463684
726.636.60926294359976.630.996872238853651.00313757473069
736.636.649747884662496.631.002978564805800.997030280695598
746.636.639940890964486.631.001499380235970.99850286453935
756.636.622037347281046.630.998798996573311.00120244757034
766.636.630495268264936.631.000074701095770.99992530448407
776.636.636040125124946.636666666666670.9999055939414770.999089799788571
786.636.671341954523036.651.003209316469630.993803052698416
796.636.677813942382066.663333333333331.002173177946280.992839881015762
806.636.686822553417116.67751.001396114326790.991502308762766
816.636.685370342267596.692083333333330.9989968757513360.991717685119474
826.636.682180461328036.706250.996410879601570.99219110264531
836.796.70693176827846.72250.9976841603984231.01238542967061
846.796.71974961673936.740833333333330.996872238853651.01045431560213
856.796.779299282616576.759166666666671.002978564805801.00157844003301
866.816.787662049549286.77751.001499380235971.00329096385289
876.86.787671514212786.795833333333330.998798996573311.00181630560074
886.86.81467569238346.814166666666671.000074701095770.997846457697202
896.856.825605560643016.826250.9999055939414771.00357395972273
906.856.854009650896876.832083333333331.003209316469630.999414991938866
916.856.853611820680146.838751.002173177946280.99947300477841
926.856.854973650947816.845416666666671.001396114326790.999274446379947
936.856.844793593689576.851666666666660.9989968757513361.00076063744497
946.856.834963462866936.859583333333330.996410879601571.0021999440399
956.866.850764568069176.866666666666670.9976841603984231.00134808777021
966.866.850173734655996.871666666666660.996872238853651.00143445490941
976.886.897149263981256.876666666666671.002978564805800.997513572154976
986.886.895323232924656.8851.001499380235970.997777735371203
996.886.888383746367266.896666666666660.998798996573310.998782915314252
1006.916.908849393403256.908333333333331.000074701095771.00016654098696
1016.916.920179964736646.920833333333330.9999055939414770.998528945086903
1026.916.956420601953146.934166666666671.003209316469630.99332694145318
1036.916.963015725939276.947916666666671.002173177946280.992386097055365
1046.996.971803197619276.962083333333331.001396114326791.00261005680524
1056.996.969251954460266.976250.9989968757513361.00297708357731
1066.996.96408170601536.989166666666670.996410879601571.00372171020945
1077.026.986699034923467.002916666666670.9976841603984231.00476633742345
1087.026.996797026454057.018750.996872238853651.00331622790517
1097.05NA7.03458333333333NANA
1107.05NA7.04708333333333NANA
1117.05NA7.05708333333333NANA
1127.05NA7.06833333333333NANA
1137.1NA7.08083333333333NANA
1147.1NANANANA
1157.1NANANANA
1167.1NANANANA
1177.12NANANANA
1187.13NANANANA
1197.18NANANANA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/01/t1243873161mytqrlfy65pyqka/17tih1243873120.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/01/t1243873161mytqrlfy65pyqka/17tih1243873120.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/01/t1243873161mytqrlfy65pyqka/2jfe51243873120.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/01/t1243873161mytqrlfy65pyqka/2jfe51243873120.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/01/t1243873161mytqrlfy65pyqka/3owv61243873120.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/01/t1243873161mytqrlfy65pyqka/3owv61243873120.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/01/t1243873161mytqrlfy65pyqka/46ztx1243873120.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/01/t1243873161mytqrlfy65pyqka/46ztx1243873120.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