Home » date » 2010 » Dec » 11 »

decompositie van de gemiddelde consumptieprijs van plat water

*Unverified author*
R Software Module: /rwasp_decompose.wasp (opens new window with default values)
Title produced by software: Classical Decomposition
Date of computation: Sat, 11 Dec 2010 18:05:38 +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/Dec/11/t1292090928tsi4xuga8lv2au1.htm/, Retrieved Sat, 11 Dec 2010 19:09:09 +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/Dec/11/t1292090928tsi4xuga8lv2au1.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:
KDGP2W92 - Kristina Henderickx
 
Dataseries X:
» Textbox « » Textfile « » CSV «
0.65 0.65 0.65 0.65 0.65 0.65 0.66 0.66 0.66 0.65 0.65 0.65 0.65 0.65 0.65 0.65 0.66 0.67 0.66 0.67 0.66 0.66 0.66 0.66 0.71 0.74 0.75 0.75 0.75 0.75 0.7 0.69 0.69 0.68 0.68 0.68 0.67 0.66 0.66 0.67 0.67 0.67 0.67 0.68 0.68 0.67 0.67 0.67 0.67 0.67 0.69 0.69 0.69 0.69 0.69 0.69 0.7 0.69 0.68 0.7 0.7 0.71 0.69 0.7 0.7 0.71 0.71 0.71 0.71 0.7 0.7 0.71 0.71 0.71 0.71 0.7 0.69 0.7 0.7 0.7 0.71 0.7 0.7 0.69
 
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.65NANA0.998525583822325NA
20.65NANA1.00472503767124NA
30.65NANA1.00628971513117NA
40.65NANA1.00774960154544NA
50.65NANA1.00689773762088NA
60.65NANA1.01324661513453NA
70.660.6526896940355630.65251.000290718828451.01120027791344
80.660.653550569954120.65251.001610068895201.00986829534298
90.660.6526359533981770.65251.000208357698361.01128354416192
100.650.6439446315914340.65250.9868883242780591.00940355445405
110.650.6422196357135930.6529166666666670.9836165448070351.01211480287077
120.650.6475934001961130.6541666666666670.9899516945673061.00371622039872
130.650.6540342574036230.6550.9985255838223250.993831733799942
140.650.6585135351070240.6554166666666671.004725037671240.98707158675844
150.650.6599583381735270.6558333333333331.006289715131170.98491065632857
160.650.6613356760141960.656251.007749601545440.982859421583733
170.660.6616157217617220.6570833333333331.006897737620880.997557915103015
180.670.6666318355405960.6579166666666671.013246615134531.00505251066606
190.660.66102545002580.6608333333333331.000290718828450.998448698116298
200.670.6681573834588420.6670833333333331.001610068895201.00275775825692
210.660.675140641446390.6751.000208357698360.977574092689853
220.660.6743736882566740.6833333333333330.9868883242780590.978685870301626
230.660.6799249365978630.691250.9836165448070350.97069538779154
240.660.6913162667061690.6983333333333330.9899516945673060.954700520999777
250.710.7022963272883690.7033333333333330.9985255838223251.01096926242143
260.740.709168422422950.7058333333333331.004725037671241.04347567743035
270.750.7123692608366080.7079166666666671.006289715131171.05282476551444
280.750.7155022170972640.711.007749601545441.04821478128005
290.750.7165755566068620.7116666666666671.006897737620881.04664468817693
300.750.7227825854626340.7133333333333331.013246615134531.03765643373926
310.70.712707137165270.71251.000290718828450.982170604863295
320.690.7086391237433560.70751.001610068895200.973697297935096
330.690.7005626038712230.7004166666666671.000208357698360.984922683836027
340.680.6842425714994540.6933333333333330.9868883242780590.993799608974699
350.680.675416694100830.6866666666666670.9836165448070351.00678589371450
360.680.6731671523057680.680.9899516945673061.01015029873461
370.670.6744208214066620.6754166666666670.9985255838223250.993445010494425
380.660.6769334941309970.673751.004725037671240.974984995900173
390.660.6771491208070170.6729166666666671.006289715131170.974674528430932
400.670.6772917113719990.6720833333333331.007749601545440.98923401652557
410.670.6758801063780180.671251.006897737620880.991300074787629
420.670.6792974182297770.6704166666666671.013246615134530.986313184799074
430.670.6701947816150610.671.000290718828450.999709365664425
440.680.6714960836884920.6704166666666671.001610068895201.01266413389159
450.680.672223367069770.6720833333333331.000208357698361.01156852515278
460.670.6653272119507910.6741666666666670.9868883242780591.00702329314851
470.670.6647608481987540.6758333333333330.9836165448070351.00788125807265
480.670.670692273069350.67750.9899516945673060.998967823102864
490.670.6781652923459960.6791666666666670.9985255838223250.987959731295376
500.670.6836316610488050.6804166666666671.004725037671240.98005993311092
510.690.6859541558144150.6816666666666671.006289715131171.00589812621046
520.690.6886288943893850.6833333333333331.007749601545441.00199106604702
530.690.6893054095462960.6845833333333331.006897737620881.00100766720250
540.690.6953404896360740.686251.013246615134530.992319604976737
550.690.6889502325930940.688751.000290718828451.00152372023006
560.690.6927802976525160.6916666666666671.001610068895200.995986754152887
570.70.693477794670860.6933333333333331.000208357698361.00940506729885
580.690.6846537749679030.693750.9868883242780591.00780865486698
590.680.6832036584138860.6945833333333330.9836165448070350.995310829538993
600.70.688841387469750.6958333333333330.9899516945673061.01619910291865
610.70.6964715947160720.69750.9985255838223251.00506611513046
620.710.7024702555051410.6991666666666671.004725037671241.01071895135182
630.690.7048220879731250.7004166666666671.006289715131170.978970454777107
640.70.7066844080837410.701251.007749601545440.99054116942828
650.70.7073456606786710.70251.006897737620880.98961517531383
660.710.7130723054009280.703751.013246615134530.995691453198142
670.710.7047881689745440.7045833333333331.000290718828451.00739489006043
680.710.7061350985711180.7051.001610068895201.00547331726847
690.710.7059803991420890.7058333333333331.000208357698361.00569364370852
700.70.6974010824898280.7066666666666670.9868883242780591.00372657510208
710.70.6946791847699680.706250.9836165448070351.00765938485949
720.710.6983284245426870.7054166666666670.9899516945673061.01671359069331
730.710.7035444842681460.7045833333333330.9985255838223251.00917570370631
740.710.7070752452611340.703751.004725037671241.00413641229624
750.710.7077570996422570.7033333333333331.006289715131171.00316902558643
760.70.7087838864202940.7033333333333331.007749601545440.98760710198329
770.690.7081847421266880.7033333333333331.006897737620880.974322036264041
780.70.711805747132010.70251.013246615134530.983414369468668
790.7NANA1.00029071882845NA
800.7NANA1.00161006889520NA
810.71NANA1.00020835769836NA
820.7NANA0.986888324278059NA
830.7NANA0.983616544807035NA
840.69NANA0.989951694567306NA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/11/t1292090928tsi4xuga8lv2au1/1049v1292090735.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/11/t1292090928tsi4xuga8lv2au1/1049v1292090735.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/11/t1292090928tsi4xuga8lv2au1/2049v1292090735.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/11/t1292090928tsi4xuga8lv2au1/2049v1292090735.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/11/t1292090928tsi4xuga8lv2au1/3tdqg1292090735.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/11/t1292090928tsi4xuga8lv2au1/3tdqg1292090735.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/11/t1292090928tsi4xuga8lv2au1/4tdqg1292090735.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/11/t1292090928tsi4xuga8lv2au1/4tdqg1292090735.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