Home » date » 2008 » Jun » 01 »

multiplicatief model eigen reeks - Opgave 9 verbetering - Vanovermeire bart

R Software Module: rwasp_decompose.wasp (opens new window with default values)
Title produced by software: Classical Decomposition
Date of computation: Sun, 01 Jun 2008 05:55:52 -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/Jun/01/t1212321399q990jlvgfnih2np.htm/, Retrieved Sun, 01 Jun 2008 11:56:39 +0000
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
42.3 50.8 54.1 38.2 48.4 61.1 54.1 61.4 64.3 57.4 71.7 55.3 55.1 66.8 59.4 64.9 59.2 77.4 75.8 38.3 54 61.8 61.3 104.3 39.7 62.6 50.2 90.9 56.2 50.2 52.8 45.6 69 81.9 73.9 54.9 55.4 64.6 49.6 55.8 44.6 61.5 40.5 48.3 50.9 65.3 56.5 53.2 56.9 79.5 94 68.4 65.9 85.5 77.5 114.8 87.4 107.5 151.7 94.4 67.5 95.2 96.2 70.6 80.1 83.4 115.4 61.5 80.6 94.3 82.6 107.7 79.1 102.8 125.2 106.4 62.3 107.4 67.9 88 76.5 130.5 100.9 85.6
 
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 time5 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001


Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
142.3NANA0.813113645709838NA
250.8NANA1.07520643343634NA
354.1NANA0.996069509131121NA
438.2NANA1.03585288583246NA
548.4NANA0.876694222326524NA
661.1NANA1.02735363911978NA
754.155.478970940893355.45833333333331.000372128160360.975144258851477
861.447.558508153947256.65833333333330.8393912308388971.29104133799252
964.354.490081662023957.54583333333330.9468988197006551.18003126511761
1057.466.373054701136958.87916666666671.127275714972250.864808773054961
1171.768.692054388105660.44166666666671.136501658151481.04378884339227
1255.369.283818559125661.57083333333331.125270112620300.798166168523288
1355.151.351514700100163.15416666666670.8131136457098381.07299658679577
1466.867.84104592302763.09583333333331.075206433436340.9846546304105
1559.461.461639003011661.70416666666670.9960695091311210.966456491618934
1664.963.661791941786861.45833333333331.035852885832461.01944978330716
1759.253.660992191569361.20833333333330.8766942223265241.10322223988435
1877.464.53493109737462.81666666666671.027353639119781.19935047088242
1975.864.240563496697764.21666666666671.000372128160361.17993983667183
2038.353.217404035186163.40.8393912308388970.719689370317217
215459.504699994688762.84166666666670.9468988197006550.907491341101123
2261.871.62897772219563.54166666666671.127275714972250.862779310346777
2361.373.304356950770464.51.136501658151480.836239516310985
24104.371.163957372295463.24166666666671.125270112620301.46562956658457
2539.749.721899435156661.150.8131136457098380.798440937514337
2662.665.045509196092660.49583333333331.075206433436340.962403104744402
2750.261.183569598379161.4250.9960695091311210.82048171313839
2890.965.14219835778962.88751.035852885832461.39540884851227
2956.256.327603784479264.250.8766942223265240.997734613654658
3050.264.432195733462162.71666666666671.027353639119780.779113600406593
3152.861.33531610783261.31251.000372128160360.860841736059103
3245.652.084225873553662.050.8393912308388970.875504996670287
336958.810307526908262.10833333333330.9468988197006551.17326371688211
3481.968.336393238046960.62083333333331.127275714972251.19848291838735
3573.966.68423479203858.6751.136501658151481.10820796295354
3654.966.011157981588358.66251.125270112620300.831677578134785
3755.447.665399506215558.62083333333330.8131136457098381.16226865973873
3864.662.599414560024958.22083333333331.075206433436341.03195853274405
3949.657.352852277845757.57916666666670.9960695091311210.864821853318
4055.858.145875324728956.13333333333331.035852885832460.959655344224714
4144.647.96978553163354.71666666666670.8766942223265240.929751915830209
4261.555.39576434937153.92083333333331.027353639119781.11019318394328
4340.553.932562359445453.91251.000372128160360.750937805069948
4448.345.827263740341954.59583333333330.8393912308388971.05395775479131
4550.954.036359310917457.06666666666670.9468988197006550.94195835265527
4665.367.007147290808759.44166666666671.127275714972250.97452290748329
4756.569.160861322093160.85416666666671.136501658151480.816936037520854
4853.270.601322315985262.74166666666671.125270112620300.7535269631622
4956.953.082769170757365.28333333333330.8131136457098381.07191092116848
5079.574.829887740363269.59583333333331.075206433436341.06240971890591
519473.597085855925773.88750.9960695091311211.27722448391524
5268.479.933314356738477.16666666666671.035852885832460.855713297396055
5365.972.670645245682882.89166666666670.8766942223265240.90683108395704
5485.590.997848585034388.5751.027353639119780.939582653100894
5577.590.7670977617590.73333333333331.000372128160360.853833623758974
56114.877.080597235243691.82916666666670.8393912308388971.48935016226768
5787.487.659158233788192.5750.9468988197006550.997043569217298
58107.5104.56421652796792.75833333333331.127275714972251.02807636847016
59151.7106.19660910710493.44166666666661.136501658151481.42848252195137
6094.4105.71443845520893.94583333333331.125270112620300.892971682765909
6167.577.601533562432695.43750.8131136457098380.869828170930337
6295.2101.92508986295994.79583333333331.075206433436340.93401928934278
6396.291.928915113559792.29166666666670.9960695091311211.04646073415708
6470.694.737378516760791.45833333333331.035852885832460.745218002707449
6580.177.174661812885388.02916666666670.8766942223265241.03790542282138
6683.488.04848751272885.70416666666671.027353639119780.947205367814456
67115.486.773945683509886.74166666666671.000372128160361.32989227458779
6861.573.481707333021887.54166666666670.8393912308388970.836942992101146
6980.684.337121541338389.06666666666670.9468988197006550.955688296291846
7094.3103.44633477728791.76666666666671.127275714972250.91158377146007
7182.6105.14534507331492.51666666666671.136501658151480.785579237410898
72107.7104.39693469834892.7751.125270112620301.03163948550018
7379.174.640444702639391.79583333333330.8131136457098381.05974716944851
74102.897.758664933393290.92083333333331.075206433436341.05156918898229
75125.291.493134703314991.85416666666670.9960695091311211.36840868340544
76106.496.532856852203693.19166666666661.035852885832461.10221538520199
7762.383.691422198845895.46250.8766942223265240.74440125837483
78107.497.911082448277895.30416666666671.027353639119781.09691362115963
7967.9NANA1.00037212816036NA
8088NANA0.839391230838897NA
8176.5NANA0.946898819700655NA
82130.5NANA1.12727571497225NA
83100.9NANA1.13650165815148NA
8485.6NANA1.12527011262030NA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Jun/01/t1212321399q990jlvgfnih2np/1actu1212321345.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Jun/01/t1212321399q990jlvgfnih2np/1actu1212321345.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Jun/01/t1212321399q990jlvgfnih2np/2kjwa1212321345.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Jun/01/t1212321399q990jlvgfnih2np/2kjwa1212321345.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Jun/01/t1212321399q990jlvgfnih2np/3e2x21212321345.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Jun/01/t1212321399q990jlvgfnih2np/3e2x21212321345.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Jun/01/t1212321399q990jlvgfnih2np/4hork1212321345.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Jun/01/t1212321399q990jlvgfnih2np/4hork1212321345.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