Home » date » 2009 » Aug » 06 »

datareeks-diesel-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: Thu, 06 Aug 2009 05:47:28 -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/Aug/06/t1249559398z277n2r1ctq8uq2.htm/, Retrieved Thu, 06 Aug 2009 13:50:03 +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/Aug/06/t1249559398z277n2r1ctq8uq2.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 «
0.9 0.92 0.92 0.95 1.06 1.17 1.23 1.26 1.37 1.37 1.31 1.21 1.2 1.11 1.11 1.11 1.17 1.08 1.05 1.03 1.04 1.02 1.01 1.01 0.98 0.96 0.94 0.99 0.99 0.98 1.02 1.06 1.06 1.06 1.06 1.06 1.04 1.02 1.01 1 1.04 1.09 1.08 1.06 1.06 1.03 0.97 0.98 0.93 0.88 0.86 0.9 0.91 0.93 0.89 0.88 0.83 0.81 0.83 0.8 0.76 0.73 0.74 0.74 0.75 0.74 0.74 0.73 0.71 0.71 0.7 0.75 0.81 0.78 0.75
 
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.9NANA0.981564036240879NA
20.92NANA0.94892423144206NA
30.92NANA0.950913787510287NA
40.95NANA0.978513917351819NA
51.06NANA1.01277969844348NA
61.17NANA1.01549619726237NA
71.231.167938945748131.151666666666671.014129330606191.05313724187193
81.261.190040561066081.172083333333331.015320777304871.05878744071651
91.371.195008359334591.187916666666671.005969857033681.14643549503106
101.371.226708124390421.20251.020131496374571.11681008119253
111.311.237359620023741.213751.019451798165801.05870595645821
121.211.259285917770641.214583333333331.036804872264000.960862011497836
131.21.181148723609861.203333333333330.9815640362408791.01596012086651
141.111.125661369548141.186250.948924231442060.98608696187697
151.111.105833492058841.162916666666670.9509137875102871.00376775343764
161.111.110205582062081.134583333333330.9785139173518190.999814825231105
171.171.121653516026161.10751.012779698443481.04310286847326
181.081.103505867691771.086666666666671.015496197262370.97869891916303
191.051.084273275973121.069166666666671.014129330606190.968390555469184
201.031.069894269085001.053751.015320777304870.962711951790225
211.041.046627805422121.040416666666671.005969857033680.993667466708044
221.021.049035222105181.028333333333331.020131496374570.972321975951468
231.011.035593118303431.015833333333331.019451798165800.975286511805568
241.011.041124892565101.004166666666671.036804872264000.970104554422466
250.980.9803370811955770.998750.9815640362408790.99965615786443
260.960.9477380761527580.998750.948924231442061.01293809350471
270.940.9517062156665461.000833333333330.9509137875102870.987699759154828
280.990.9817756304096591.003333333333330.9785139173518191.00837703578659
290.991.019953554640791.007083333333331.012779698443480.970632432717644
300.981.026920529481571.011251.015496197262370.954309483417127
311.021.030186378340791.015833333333331.014129330606190.990112101504201
321.061.036473293498721.020833333333331.015320777304871.02269880627784
331.061.032376565780811.026251.005969857033681.02675713023212
341.061.050310386475651.029583333333331.020131496374571.00922547624885
351.061.052159210023621.032083333333331.019451798165801.00745209460857
361.061.076981061064231.038751.036804872264000.98423272081735
371.041.026552387901921.045833333333330.9815640362408791.01309978161520
381.020.9947889026284271.048333333333330.948924231442061.02534316306199
391.010.9968746205732841.048333333333330.9509137875102871.01316652982816
4011.02458561429381.047083333333330.9785139173518190.976004333897713
411.041.055400844086311.042083333333331.012779698443480.985407587863315
421.091.051038564166551.0351.015496197262371.03706946363509
431.081.041595333310111.027083333333331.014129330606191.03687100494954
441.061.032242790259951.016666666666671.015320777304871.02689019482816
451.061.010580552211751.004583333333331.005969857033681.04890203723008
461.031.014180729312390.9941666666666671.020131496374571.01559807855779
470.971.003735249610750.9845833333333331.019451798165800.966390291041558
480.981.008292738276740.97251.036804872264000.971939956321524
490.930.9402565497157420.9579166666666670.9815640362408790.989091754033681
500.880.8943610881341420.94250.948924231442060.98394262862654
510.860.8799914675251450.9254166666666670.9509137875102870.977282202995254
520.90.8871859517323160.9066666666666670.9785139173518191.01444347517300
530.910.9030618977787720.8916666666666671.012779698443481.00768286452822
540.930.891944159928780.8783333333333331.015496197262371.04266616878153
550.890.8759542093110960.863751.014129330606191.01603484581683
560.880.8634457110330140.8504166666666661.015320777304871.01917235647297
570.830.8441763716940940.8391666666666671.005969857033680.983206860355917
580.810.8441588132499580.82751.020131496374570.959535086628488
590.830.830003672339990.8141666666666671.019451798165800.999995575513563
600.80.8290118957810860.7995833333333331.036804872264000.965004246707761
610.760.770936753464190.7854166666666670.9815640362408790.985813682620467
620.730.7334393538854260.7729166666666670.948924231442060.995310649930078
630.740.7242793348203350.7616666666666660.9509137875102871.02170525158441
640.740.7363317228072440.75250.9785139173518191.00498182691189
650.750.7524109176353040.7429166666666671.012779698443480.996795743417863
660.740.7468128284033670.7354166666666671.015496197262370.990877462003522
670.740.7458076118833020.7354166666666661.014129330606190.992212989260546
680.730.7509143248817250.7395833333333331.015320777304870.9721481876311
690.710.7465134647404080.7420833333333331.005969857033680.951088002474134
700.71NANA1.02013149637457NA
710.7NANA1.01945179816580NA
720.75NANA1.03680487226400NA
730.81NANANANA
740.78NANANANA
750.75NANANANA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Aug/06/t1249559398z277n2r1ctq8uq2/154wk1249559245.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Aug/06/t1249559398z277n2r1ctq8uq2/154wk1249559245.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Aug/06/t1249559398z277n2r1ctq8uq2/2w5ho1249559245.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Aug/06/t1249559398z277n2r1ctq8uq2/2w5ho1249559245.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Aug/06/t1249559398z277n2r1ctq8uq2/33bo91249559245.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Aug/06/t1249559398z277n2r1ctq8uq2/33bo91249559245.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Aug/06/t1249559398z277n2r1ctq8uq2/4irco1249559245.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Aug/06/t1249559398z277n2r1ctq8uq2/4irco1249559245.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