Home » date » 2009 » Jun » 04 »

clasical demoposition niet werkende-werkzoekende/filiz Aydemir

*Unverified author*
R Software Module: rwasp_decompose.wasp (opens new window with default values)
Title produced by software: Classical Decomposition
Date of computation: Thu, 04 Jun 2009 04:09:24 -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/04/t1244110339ccw8mgdnkral3lf.htm/, Retrieved Thu, 04 Jun 2009 12:12:24 +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/04/t1244110339ccw8mgdnkral3lf.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 «
233084 233898 231355 232662 230037 231814 246796 247891 248291 245766 238776 242541 246861 246843 246947 241679 240085 241514 250525 250567 252145 251877 245817 248269 246310 246733 245028 240022 238614 238096 248530 248381 247567 241783 235000 237384 238020 236412 232279 230408 230254 229217 239658 239906 236558 223566 216054 214685 216086 211692 204681 203075 198401 191246 206750 209611 199573 195635 190062 193134 194795 190835 185045 184425 177293 180549 195344 196597 189102 185749 185145 192243 197356
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
1233084NANA1.00580857979764NA
2233898NANA1.00060436132505NA
3231355NANA0.987408024483121NA
4232662NANA0.979843367845825NA
5230037NANA0.969488120195432NA
6231814NANA0.969646556612428NA
7246796246193.945113887239149.9583333331.029454267229001.00244544960614
8247891248801.253923383240263.3751.035535499005550.996341441576241
9248291248136.779079519241452.4166666671.027683973948711.00062151576664
10245766245152.010210302242477.7916666671.011028715352671.00250452684100
11238776240750.66648037243272.1666666670.9896350650349930.991797877408862
12242541242597.1035069492440950.9938634691695820.999768737935704
13246861246075.637094793244654.5416666671.005808579797641.00319155083567
14246843245069.437698577244921.4166666671.000604361325051.00723697870317
15246947242106.029451102245193.50.9874080244831211.01999524984930
16241679240658.063945596245608.7083333330.9798433678458251.00424226821103
17240085238646.004435579246156.7083333330.9694881201954321.00602983304843
18241514239200.896992524246688.750.9696465566124281.00967012681206
19250525254176.848229114246904.4583333331.029454267229000.985632648077285
20250567255649.811093369246876.9166666671.035535499005550.980118072172123
21252145253624.568680239246792.3751.027683973948710.994166303809057
22251877249363.534576497246643.3751.011028715352671.01007952276491
23245817243957.950021766246513.0416666670.9896350650349931.00762037055185
24248269244797.848515514246309.3333333330.9938634691695821.01417966499925
25246310247513.189007469246083.7916666671.005808579797640.995138889316188
26246733246058.201574959245909.5833333331.000604361325051.00274243419127
27245028242534.811385734245627.750.9874080244831211.01027971448726
28240022240077.710884183245016.4166666670.9798433678458250.999767946453765
29238614236695.798291129244145.1250.9694881201954321.00810408010079
30238096235857.676871144243240.8750.9696465566124281.00949014320224
31248530249582.865667677242441.9166666671.029454267229000.995781498602236
32248381250254.196523113241666.4583333331.035535499005550.992514824729663
33247567247368.885050151240705.2083333331.027683973948711.00080088872054
34241783242417.809428220239773.4166666671.011028715352670.997381341619588
35235000236547.026602457239024.50.9896350650349930.993459961747663
36237384236843.834938816238306.2083333330.9938634691695821.00228068026902
37238020238946.507789878237566.5833333331.005808579797640.996122530525984
38236412236986.930894428236843.7916666671.000604361325050.997573997467883
39232279233059.849692799236031.9583333330.9874080244831210.996649574374015
40230408230081.144711385234814.2083333330.9798433678458251.00142060875534
41230254226148.373473478233265.750.9694881201954321.01815457022070
42229217224502.792477694231530.5416666670.9696465566124281.02099843601177
43239658236435.61943304229670.8333333331.029454267229001.01362899792632
44239906235819.306287412227726.9166666671.035535499005551.01732976734147
45236558231791.0372722092255471.027683973948711.02056577676122
46223566225720.459563189223258.2083333331.011028715352670.990455187060323
47216054218503.628983589220792.1250.9896350650349930.98878906956839
48214685216545.747198187217882.7916666670.9938634691695820.991407140420617
49216086216177.935151617214929.51.005808579797640.9995747246288
50211692212424.345183711212296.0416666671.000604361325050.996552442315037
51204681206854.781279035209492.7083333330.9874080244831210.989491268871842
52203075202619.727869681206787.8750.9798433678458251.00224692893977
53198401198300.150383571204541.0833333330.9694881201954321.00050857054941
54191246196411.727713233202560.1250.9696465566124280.97369949455984
55206750206688.723396830200775.0416666671.029454267229001.00029646805188
56209611206091.110034649199018.8751.035535499005551.01707929063393
57199573202794.591385921197331.6666666671.027683973948710.984114017223513
58195635197895.137890235195736.4166666671.011028715352670.988579113593541
59190062192068.208482814194079.8333333330.9896350650349930.989554708201522
60193134191571.780300982192754.6250.9938634691695821.00815474855724
61194795192947.947827374191833.6666666671.005808579797641.00957280029886
62190835190931.488577994190816.1666666671.000604361325050.999494642928136
63185045187447.194273818189837.6250.9874080244831210.987184688023078
64184425185180.026513885188989.4166666670.9798433678458250.995922743245595
65177293182625.022107529188372.6250.9694881201954320.970803441686159
66180549182420.212724594188130.6250.9696465566124280.989742295019582
67195344193743.507562136188200.2083333331.029454267229001.00826088294778
68196597NANA1.03553549900555NA
69189102NANA1.02768397394871NA
70185749NANA1.01102871535267NA
71185145NANA0.989635065034993NA
72192243NANA0.993863469169582NA
73197356NANANANA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/04/t1244110339ccw8mgdnkral3lf/1v77p1244110161.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/04/t1244110339ccw8mgdnkral3lf/1v77p1244110161.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/04/t1244110339ccw8mgdnkral3lf/2svn41244110161.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/04/t1244110339ccw8mgdnkral3lf/2svn41244110161.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/04/t1244110339ccw8mgdnkral3lf/3zm4g1244110161.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/04/t1244110339ccw8mgdnkral3lf/3zm4g1244110161.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/04/t1244110339ccw8mgdnkral3lf/4ek511244110161.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/04/t1244110339ccw8mgdnkral3lf/4ek511244110161.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