Home » date » 2009 » Aug » 18 »

Multiplicatief decompositiemodel index benzine

*Unverified author*
R Software Module: rwasp_decompose.wasp (opens new window with default values)
Title produced by software: Classical Decomposition
Date of computation: Tue, 18 Aug 2009 14:42:53 -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/18/t125062826614kyeoj0r1mrtgt.htm/, Retrieved Tue, 18 Aug 2009 22:44:26 +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/18/t125062826614kyeoj0r1mrtgt.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 «
105,46 104,66 103,52 103,71 103,78 103,67 103,66 102,76 102 101,5 101,5 99,22 98,97 98,9 99,78 104,4 106,21 105,46 108,33 111,72 111,88 112,86 113,09 116,9 114,62 118,86 124,71 122,53 127,89 136,16 134,12 130,26 135,35 131,43 129,61 123,96 121,1 125,38 123,1 129,92 136,68 131,17 124,82 122,47 126,15 118,74 116,8 116,64 116,53 117,68 119,46 126,19 124,39 121,9 122,53 122,93 124,66 124,41 120,93 120,18 123,44 126,1 125,82 122,18 117,27 117,86 119,09 123,08 125,42 121,81 121,66 121,27 120,92 122,16 124,17 127,26 134,16 134,09 135,57 136,13 136,23 140,6 136,5 130,59 129,5 135,25 138,06 146,28 145,04 147,96 156,71 160,97 168,17 163,91 153,05 151,76 119,55 119,44 120,25 124,92 126,34 125,88 127,34 127,48 119,41 114,82 115,28 116,37 111,99 113,57 117,69 120,74 122,37 123,57 124,86 122,08 123,56 126,92 134,88 130,64 131,65 130,97 136,77 138,17 146,4 152,07 153,05 142,89 141,11 131,9 118,42 etc...
 
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
1105.46NANA0.951859805251062NA
2104.66NANA0.96449870167156NA
3103.52NANA0.978632752962902NA
4103.71NANA1.00202067449952NA
5103.78NANA1.01909469962581NA
6103.67NANA1.02477747651069NA
7103.66104.652845862866102.6829166666671.019184585519660.990512958776419
8102.76104.154365447800102.17251.019397249238300.986612510749742
9102104.464629230269101.7766666666671.026410400847630.976407045634206
10101.5102.802664660938101.6495833333331.011343689662000.987328493232794
11101.5101.669134035182101.7795833333330.9989148187236150.998336426912782
1299.22100.310380851964101.9554166666670.9838651454872570.989129930095939
1398.9797.3034719835376102.2245833333330.9518598052510621.01712711769159
1498.999.1432327915738102.79250.964498701671560.9975466526083
1599.78101.364333970015103.57750.9786327529629020.984369906968623
16104.4104.673584709906104.46251.002020674499520.997386306099438
17106.21107.431689366178105.418751.019094699625810.988628221585403
18105.46109.280562132639106.6383333333331.024777476510690.965038959737395
19108.33110.099538151981108.0270833333331.019184585519660.983927833107364
20111.72111.635042261794109.5108333333331.019397249238301.00076103109279
21111.88114.322873459411111.381251.026410400847630.978631804944285
22112.86114.459243470700113.1754166666671.011343689662000.98602783469288
23113.09114.709550779111114.8341666666670.9989148187236150.98588129089417
24116.9115.128619774434117.0166666666670.9838651454872571.01538609799229
25114.62113.623901561071119.3704166666670.9518598052510621.00876662766586
26118.86116.914121369872121.21750.964498701671561.01664365781762
27124.71120.340430813613122.9679166666670.9786327529629021.03631006767090
28122.53124.971601014966124.7195833333331.002020674499520.980462753176431
29127.89128.591067689950126.1816666666671.019094699625810.994548084073455
30136.16130.314973819252127.1641666666671.024777476510691.04485306645463
31134.12130.17874846745127.7283333333331.019184585519661.03027569076327
32130.26130.758085159796128.271.019397249238300.996190788820533
33135.35131.867648577899128.4745833333331.026410400847631.02640792840136
34131.43130.175524408048128.7154166666671.011343689662001.00963680075542
35129.61129.249172180141129.3895833333330.9989148187236151.00279172248281
36123.96127.457679878821129.5479166666670.9838651454872570.972558108054796
37121.1122.744701536638128.95250.9518598052510620.986600631098144
38125.38123.68771537682128.2404166666670.964498701671561.01368191350309
39123.1124.807481567241127.53250.9786327529629020.98631907682296
40129.92126.876275313744126.6204166666671.002020674499521.02398970712791
41136.68127.955407371059125.5579166666671.019094699625811.06818463407053
42131.17127.809392889183124.7191666666671.024777476510691.02629389777112
43124.82126.606931155447124.223751.019184585519660.985885992661385
44122.47126.112182196393123.71251.019397249238300.971119505404158
45126.15126.494817800462123.241.026410400847630.99727405591424
46118.74124.327429522577122.9329166666671.011343689662000.955058754580278
47116.8122.132736525751122.2654166666670.9989148187236150.956336550891691
48116.64119.408843101114121.3670833333330.9838651454872570.976812076650225
49116.53115.065969166027120.8854166666670.9518598052510621.01272340418791
50117.68116.520284400023120.8091666666670.964498701671561.00995290739246
51119.46118.185807702506120.766250.9786327529629021.01078126318434
52126.19121.184797882587120.9404166666671.002020674499521.04130222771228
53124.39123.665867931217121.348751.019094699625811.00585555320071
54121.9124.682967604595121.6683333333331.024777476510690.97767964896841
55122.53124.446259834146122.103751.019184585519660.984601708105172
56122.93125.123366864632122.74251.019397249238300.98247036569113
57124.66126.616276364563123.3583333333331.026410400847630.984549566448076
58124.41124.856699386834123.456251.011343689662000.996422303416416
59120.93122.859030841864122.99250.9989148187236150.984298827455776
60120.18120.550536613690122.52750.9838651454872570.996926296438835
61123.44116.332339315263122.2158333333330.9518598052510621.06109789183793
62126.1117.744795876687122.078750.964498701671561.07096028373146
63125.82119.507369682653122.1166666666670.9786327529629021.05282210071320
64122.18122.286603115922122.041.002020674499520.999128251883646
65117.27124.290912680321121.9620833333331.019094699625810.943512260639852
66117.86125.061708280289122.0379166666671.024777476510690.942414761645921
67119.09124.318437100712121.9783333333331.019184585519660.957943188294136
68123.08124.069989707085121.7091666666671.019397249238300.992020715811917
69125.42124.684486455967121.476251.026410400847631.00589899806254
70121.81122.998776750284121.6191666666671.011343689662000.990335052252613
71121.66122.401611097790122.5345833333330.9989148187236150.99394116555216
72121.27121.915239559243123.9145833333330.9838651454872570.994707474130589
73120.92119.24661675234125.27750.9518598052510621.01403296205154
74122.16122.016721376174126.5079166666670.964498701671561.0011742540056
75124.17124.777714821005127.5020833333330.9786327529629020.995129620526573
76127.26128.995549040310128.7354166666671.002020674499520.986545667248038
77134.16132.621587226970130.1366666666671.019094699625811.01160001780402
78134.09134.392734194534131.1433333333331.024777476510690.99774739165515
79135.57134.419405663700131.8891666666671.019184585519661.00855973384661
80136.13135.367884470623132.7920833333331.019397249238301.00562995818659
81136.23137.453031842512133.916251.026410400847630.991102183588695
82140.6136.822159415147135.28751.011343689662001.02761132115588
83136.5136.385169916398136.5333333333330.9989148187236151.00084195432445
84130.59135.344998795144137.5645833333330.9838651454872570.964867569267625
85129.5132.330722992020139.0233333333330.9518598052510620.978608724202384
86135.25135.935643264672140.9391666666670.964498701671560.9949561185852
87138.06140.242966663349143.3050.9786327529629020.984434394713078
88146.28145.901307853575145.6070833333331.002020674499521.00259553633889
89145.04150.079953299935147.2679166666671.019094699625810.966418211166
90147.96152.527452613236148.8395833333331.024777476510690.97005488169518
91156.71152.171477842232149.3070833333331.019184585519661.02982505146249
92160.97151.109076994277148.233751.019397249238301.06525698655479
93168.17150.710832853461146.8329166666671.026410400847631.11584546920735
94163.91146.84794652533145.2008333333331.011343689662001.11618857381657
95153.05143.375908789432143.5316666666670.9989148187236151.06747361737582
96151.76139.544053247321141.83250.9838651454872571.08754186558583
97119.55132.964106370764139.688750.9518598052510620.899114830784786
98119.44132.203435163662137.0695833333330.964498701671560.903456100457139
99120.25130.786927687845133.64250.9786327529629020.919434397044684
100124.92129.827226200145129.5654166666671.002020674499520.96220187133491
101126.34128.351155812747125.946251.019094699625810.984330832083189
102125.88125.943016910088122.8979166666671.024777476510690.999499639506548
103127.34123.431746511310121.1083333333331.019184585519661.03166327625715
104127.48122.887064149115120.548751.019397249238301.03737525900457
105119.41123.371964155883120.19751.026410400847630.96788602513552
106114.82121.276964118634119.9166666666671.011343689662000.946758527758675
107115.28119.447320521415119.5770833333330.9989148187236150.96511164500615
108116.37117.390279777623119.3154166666670.9838651454872570.991308651963728
109111.99113.381573918985119.1158333333330.9518598052510620.987726630784125
110113.57114.570389524810118.78750.964498701671560.991268341419108
111117.69116.198367686697118.7354166666670.9786327529629021.01283694722222
112120.74119.653793793674119.41251.002020674499521.00907790862193
113122.37123.038700068156120.7333333333331.019094699625810.994565124080592
114123.57125.171017877783122.1445833333331.024777476510690.987209356407515
115124.86125.928748745833123.5583333333331.019184585519660.991513067854028
116122.08127.529144372834125.10251.019397249238300.957271379811791
117123.56129.966650981330126.62251.026410400847630.950705423791755
118126.92129.597372932124128.143751.011343689662000.979340839466501
119134.88129.730316151159129.871250.9989148187236151.03969530023222
120130.64129.929231113047132.060.9838651454872571.00547043094817
121131.65127.950978063109134.4220833333330.9518598052510621.02890968082375
122130.97131.619109700232136.463750.964498701671560.995068271608046
123136.77135.112076692294138.0620833333330.9786327529629021.01227072626144
124138.17139.281708772662139.0008333333331.002020674499520.992018271584557
125146.4141.167545528916138.52251.019094699625811.03706556242428
126152.07140.296733431081136.9045833333331.024777476510691.08391689728615
127153.05NANA1.01918458551966NA
128142.89NANA1.01939724923830NA
129141.11NANA1.02641040084763NA
130131.9NANA1.01134368966200NA
131118.42NANA0.998914818723615NA
132108.27NANA0.983865145487257NA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Aug/18/t125062826614kyeoj0r1mrtgt/1746x1250628169.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Aug/18/t125062826614kyeoj0r1mrtgt/1746x1250628169.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Aug/18/t125062826614kyeoj0r1mrtgt/2s75s1250628169.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Aug/18/t125062826614kyeoj0r1mrtgt/2s75s1250628169.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Aug/18/t125062826614kyeoj0r1mrtgt/3x5al1250628169.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Aug/18/t125062826614kyeoj0r1mrtgt/3x5al1250628169.ps (open in new window)


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