Home » date » 2008 » May » 25 »

modelu Classical Deomposition, Time Series Analysis (new) - Goudkoers te brussel

R Software Module: rwasp_decompose.wasp (opens new window with default values)
Title produced by software: Classical Decomposition
Date of computation: Sun, 25 May 2008 14:43:54 -0600
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2008/May/25/t12117483137u60zfpzef6oxys.htm/, Retrieved Sun, 25 May 2008 22:45:13 +0200
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
10236 10893 10756 10940 10997 10827 10166 10186 10457 10368 10244 10511 10812 10738 10171 9721 9897 9828 9924 10371 10846 10413 10709 10662 10570 10297 10635 10872 10296 10383 10431 10574 10653 10805 10872 10625 10407 10463 10556 10646 10702 11353 11346 11451 11964 12574 13031 13812 14544 14931 14886 16005 17064 15168 16050 15839 15137 14954 15648 15305 15579 16348 15928 16171 15937 15713 15594 15683 16438 17032 17696 17745
 
Text written by user:
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time6 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001


Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
110236NANA1.01819897956463NA
210893NANA1.00880699491598NA
310756NANA0.996214706433282NA
410940NANA1.00424184529926NA
510997NANA1.00530698344173NA
610827NANA0.980623016160316NA
71016610469.693532360210572.41666666670.9902838549079980.970993082899556
81018610537.791887850610589.95833333330.9950739706577970.966616166688942
91045710547.038633497410559.1250.99885536287310.991463136087181
101036810392.003815668010483.95833333330.9912290267910550.997690164852348
111024410485.444401668010387.33333333331.009445260413450.976973374478094
121051110317.590769976610299.8751.00171999854141.01874558066271
131081210434.672842408310248.16666666671.018198979564631.03616089965544
141073810336.026301785210245.79166666671.008806994915981.03889054521324
151017110230.834472447110269.70833333330.9962147064332820.994151555026304
16972110331.430887387710287.79166666671.004241845299260.94091516518463
17989710363.751580091810309.04166666671.005306983441730.95496306752582
18982810134.452856970510334.70833333330.9806230161603160.969761282498866
19992410230.539981400010330.91666666670.9902838549079980.970036774016106
201037110251.708121286510302.45833333330.9950739706577971.01163629292818
211084610291.622993416110303.41666666670.99885536287311.05386682031965
221041310279.747128383910370.70833333330.9912290267910551.01296266045769
231070910533.855713948610435.29166666671.009445260413451.01662679751911
241066210493.058723054410475.04166666671.00171999854141.01610028890569
251057010710.732040742710519.29166666671.018198979564630.986860651521539
261029710641.778888494310548.8751.008806994915980.967601385810877
271063510509.359500787410549.29166666670.9962147064332821.01195510527575
281087210602.366968567410557.58333333331.004241845299261.02543139963293
291029610636.859977260110580.70833333331.005306983441730.96795483084399
301038310380.834389780810585.95833333330.9806230161603161.00020861619962
311043110474.851260771210577.6250.9902838549079980.995813662678397
321057410525.643693125510577.750.9950739706577971.00459414248518
331065310569.263165321310581.3750.99885536287311.00792267477580
341080510475.969174479110568.66666666670.9912290267910551.03140815136441
351087210676.061315009410576.16666666671.009445260413451.01835308726779
361062510651.789604490010633.51.00171999854140.997484966800443
371040710906.989894053810712.04166666671.018198979564630.954158764341901
381046310881.706818785110786.70833333331.008806994915980.96152195370102
391055610836.699049742910877.8750.9962147064332820.974097365954848
401064611052.894966414811006.20833333331.004241845299260.963186570789718
411070211229.153341671211169.8751.005306983441730.95305493427408
421135311171.870289483411392.6250.9806230161603161.01621301588930
431134611584.134225577311697.79166666670.9902838549079980.979443070933042
441145111996.943481574012056.33333333330.9950739706577970.9544931188171
451196412408.696935025612422.91666666670.99885536287310.964162479158438
461257412714.123015763812826.6250.9912290267910550.98897894761675
471303113440.7636424051133151.009445260413450.969513365958442
481381213762.672798293613739.04166666671.00171999854141.00358412950953
491454414350.4964179839140941.018198979564631.01348410371181
501493114600.295502919814472.83333333331.008806994915981.02265053450556
511488614731.898551897114787.8750.9962147064332821.01046039297380
521600515082.959335010915019.251.004241845299261.06113128362342
531706415308.270202568015227.45833333331.005306983441731.11469158658681
541516815100.327810806315398.70833333330.9806230161603161.00448150464292
551605015353.402148320915504.04166666670.9902838549079981.04537091160315
561583915529.331693162815606.20833333330.9950739706577971.01994086500023
571513715690.685943585915708.66666666670.99885536287310.96471244497681
581495415620.7782332002157590.9912290267910550.957314659791849
591564815867.427988219815718.95833333331.009445260413450.986171168485356
601530515721.703208774415694.70833333331.00171999854140.973495034015029
611557915984.111830780415698.41666666671.018198979564630.974655343063836
621634815810.947964068515672.91666666671.008806994915981.03396709907287
631592815661.117819322715720.6250.9962147064332821.01704106844455
641617115928.698342393815861.41666666671.004241845299261.01521164205623
651593716118.421967849116033.33333333331.005306983441730.98874443365418
661571315906.032196459016220.33333333330.9806230161603160.9878642144015
6715594NANA0.990283854907998NA
6815683NANA0.995073970657797NA
6916438NANA0.9988553628731NA
7017032NANA0.991229026791055NA
7117696NANA1.00944526041345NA
7217745NANA1.0017199985414NA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/25/t12117483137u60zfpzef6oxys/1773t1211748227.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/25/t12117483137u60zfpzef6oxys/1773t1211748227.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/25/t12117483137u60zfpzef6oxys/2yr2x1211748227.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/25/t12117483137u60zfpzef6oxys/2yr2x1211748227.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/25/t12117483137u60zfpzef6oxys/3dcj71211748227.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/25/t12117483137u60zfpzef6oxys/3dcj71211748227.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/25/t12117483137u60zfpzef6oxys/4pu281211748227.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/25/t12117483137u60zfpzef6oxys/4pu281211748227.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