Home » date » 2010 » Nov » 30 »

Olieprijs classical decomposition

*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: Tue, 30 Nov 2010 19:52:26 +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/Nov/30/t1291146757cgup1vr7caasjj9.htm/, Retrieved Tue, 30 Nov 2010 20:52:37 +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/Nov/30/t1291146757cgup1vr7caasjj9.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 «
46.85 48.05 54.63 53.22 49.87 56.42 59.03 64.99 65.55 62.27 58.34 59.45 65.54 61.93 62.97 70.16 70.96 70.97 74.46 73.08 63.90 59.14 59.40 62.09 54.35 59.39 60.74 64.04 63.53 67.53 74.15 72.36 79.63 85.66 94.63 91.74 92.93 95.35 105.42 112.46 125.46 134.02 133.48 116.69 103.76 76.72 57.44 42.04 41.92 39.26 48.06 49.95 59.21 69.70 64.29 71.14 69.47 75.82 78.15 74.60
 
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
146.85NANA0.866661904355989NA
248.05NANA0.8666950993582NA
354.63NANA0.937255593993909NA
453.22NANA1.00053748045992NA
549.87NANA1.06599106865283NA
656.42NANA1.13717455313811NA
759.0358.481738218248457.33458333333331.147154884915010.897499186693677
864.9959.810492144799958.69166666666671.118825478133250.989709518191973
965.5560.692363004993359.61751.074863004993351.02292977536694
1062.2761.652177469281660.67083333333330.9813441359482571.04586968241315
1158.3463.182941405167462.25541666666670.927524738500711.01033123322177
1259.4564.616388724217163.74041666666670.8759720575504661.06474769343733
1365.5465.856245237689364.98958333333330.8666619043559891.16362482406321
1461.9366.836278432691565.96958333333330.86669509935821.08315597075219
1562.9767.175172260660666.23791666666660.9372555939939091.01430598405513
1670.1667.039287480459966.038751.000537480459921.06183582560592
1770.9667.018491068652865.95251.065991068652831.00931976577367
1870.9767.243841219804866.10666666666671.137174553138110.944066122472968
1974.4666.897571551581765.75041666666671.147154884915010.98719390136559
2073.0866.297158811466665.17833333333331.118825478133251.00215048280260
2163.966.054446338326764.97958333333331.074863004993350.914894086513394
2259.1465.613010802614964.63166666666670.9813441359482570.932426554428352
2359.464.99460807183464.06708333333330.927524738500710.999599407756416
2462.0964.490138724217163.61416666666670.8759720575504661.11423697113663
2554.3564.324578571022763.45791666666670.8666619043559890.988243648008665
2659.3964.281695099358263.4150.86669509935821.08057517923544
2760.7464.977672260660664.04041666666670.9372555939939091.01195825501121
2864.0466.801370813793365.80083333333331.000537480459920.97271713744689
2963.5369.439741068652868.373751.065991068652830.871637466371409
3067.5372.214257886471471.07708333333331.137174553138110.835487619561568
3174.1575.06715488491573.921.147154884915010.87443420679483
3272.3678.144658811466677.02583333333331.118825478133250.839652924444632
3379.6381.460696338326780.38583333333331.074863004993350.92160342903004
3485.6685.246344135948284.2650.9813441359482571.03588015539157
3594.6389.790441405167488.86291666666670.927524738500711.14810808366757
3691.7495.089722057550594.213750.8759720575504661.11161447273794
3792.93100.32291190435699.456250.8666619043559891.07813749552492
3895.35104.642111766025103.7754166666670.86669509935821.06013182144496
39105.42107.565172260661106.6279166666670.9372555939939091.05485811150576
40112.46108.261370813793107.2608333333331.000537480459921.04790895171173
41125.46106.404741068653105.338751.065991068652831.11728394129220
42134.02102.855507886471101.7183333333331.137174553138111.15862593383311
43133.4898.669238218248497.52208333333331.147154884915011.19313934916943
44116.6994.178408811466693.05958333333331.118825478133251.12075371858432
45103.7689.407363004993388.33251.074863004993351.09283935311315
4676.7284.31926080261583.33791666666670.9813441359482570.93809025179045
4757.4478.900441405167477.97291666666670.927524738500710.794227919377763
4842.0473.408472057550572.53250.8759720575504660.661667506711621
4941.9267.836245237689366.96958333333330.8666619043559890.722260676426735
5039.2663.055445099358262.188750.86669509935820.728403672590934
5148.0659.799338927327258.86208333333330.9372555939939090.87114429345143
5249.9558.396370813793357.39583333333331.000537480459920.86980472925898
5359.2159.287241068652858.221251.065991068652830.954025470586245
5469.761.578007886471560.44083333333331.137174553138111.01408696815588
5564.29NANA1.14715488491501NA
5671.14NANA1.11882547813325NA
5769.47NANA1.07486300499335NA
5875.82NANA0.981344135948257NA
5978.15NANA0.92752473850071NA
6074.6NANA0.875972057550466NA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Nov/30/t1291146757cgup1vr7caasjj9/1j0mj1291146742.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/30/t1291146757cgup1vr7caasjj9/1j0mj1291146742.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/30/t1291146757cgup1vr7caasjj9/2j0mj1291146742.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/30/t1291146757cgup1vr7caasjj9/2j0mj1291146742.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/30/t1291146757cgup1vr7caasjj9/3cr341291146742.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/30/t1291146757cgup1vr7caasjj9/3cr341291146742.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/30/t1291146757cgup1vr7caasjj9/451l71291146742.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/30/t1291146757cgup1vr7caasjj9/451l71291146742.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])
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