Home » date » 2009 » Aug » 19 »

dennis volkaerts - opg9 - multiplicatief

*Unverified author*
R Software Module: rwasp_decompose.wasp (opens new window with default values)
Title produced by software: Classical Decomposition
Date of computation: Wed, 19 Aug 2009 06:18:29 -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/19/t12506843528dhshfw3u2euxeh.htm/, Retrieved Wed, 19 Aug 2009 14:19:18 +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/19/t12506843528dhshfw3u2euxeh.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 «
17.23 17.36 17.39 17.29 17.28 17.4 17.51 17.54 17.64 17.65 17.5 17.37 17.56 17.49 17.61 17.79 17.83 17.56 17.95 18.09 18.38 18.38 18.44 18.84 19.01 19.06 19.06 18.97 18.98 19.41 19.55 19.64 19.71 19.48 19.48 19.41 19.25 19.14 19.21 19.3 19.53 19.14 19.16 19.24 19.38 19.27 19.27 19.07 19.15 19.24 19.36 19.57 19.59 19.36 19.46 19.65 19.46 19.51 19.64 19.64 19.69 19.28 19.67 19.65 19.6 19.53 19.64 19.67 19.81 19.73 19.87 19.97 20.12 19.94 20.31 20.13 20.22 20.38 20.44 20.34 20.14 19.97 19.82 19.98 20.12
 
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'George Udny Yule' @ 72.249.76.132


Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
117.23NANA1.00026155100263NA
217.36NANA0.992776449509761NA
317.39NANA0.999972777562938NA
417.29NANA1.00002413830366NA
517.28NANA1.00125179913789NA
617.4NANA0.996017632983819NA
717.5117.467813515553017.443751.001379492113391.00241509816952
817.5417.504522797493617.46291666666671.002382541909871.00202674491141
917.6417.557947113821017.47751.004602895941701.00467326195067
1017.6517.514307681247317.50751.000388843709681.00774751256072
1117.517.573980852906117.551251.001295113049280.995790319021893
1217.3717.574623163722017.58083333333330.9996467647753870.988356896087289
1317.5617.610438156693817.60583333333331.000261551002630.997135894277868
1417.4917.519608735869617.64708333333330.9927764495097610.99830996591785
1517.6117.700351473512017.70083333333330.9999727775629380.994895498338145
1617.7917.762512079894417.76208333333331.000024138303661.00154752435815
1717.8317.853988331627117.83166666666671.001251799137890.998656416080178
1817.5617.860671196135317.93208333333330.9960176329838190.983165739247229
1917.9518.078655005742218.053751.001379492113390.992883596390255
2018.0918.222896952529018.17958333333331.002382541909870.99270714459533
2118.3818.389674594752818.30541666666671.004602895941700.99947391158539
2218.3818.422160556913818.4151.000388843709680.99771142169869
2318.4418.536058574027618.51208333333331.001295113049280.99481774544227
2418.8418.630500059016018.63708333333330.9996467647753871.01124499827275
2519.0118.785745479121918.78083333333331.000261551002631.01193748319050
2619.0618.775470944499418.91208333333330.9927764495097611.01515429660016
2719.0619.031565233642619.03208333333330.9999727775629381.00149408448587
2818.9719.133795179543319.13333333333331.000024138303660.99143948296685
2918.9819.24656270892819.22251.001251799137890.986150113505496
3019.4119.212765132910819.28958333333330.9960176329838191.01026582408752
3119.5519.349989719271219.32333333333331.001379492113391.01033645410827
3219.6419.382737085397219.33666666666671.002382541909871.01327278564783
3319.7119.435298775612119.346251.004602895941701.01413413951385
3419.4819.373780444492619.366251.000388843709681.00548264474307
3519.4819.428045637235719.40291666666671.001295113049281.00267419398402
3619.4119.407725418628819.41458333333330.9996467647753871.00011719979143
3719.2519.392154044417319.38708333333331.000261551002630.992669507260943
3819.1419.214360866553519.35416666666670.9927764495097610.996129932862719
3919.2119.323223960431819.323750.9999727775629380.994140524341918
4019.319.301715899433519.301251.000024138303660.999911101197303
4119.5319.307889381625219.283751.001251799137891.01150361978903
4219.1419.184129625962519.26083333333330.9960176329838190.997699680578535
4319.1619.26904487699219.24251.001379492113390.994340929833933
4419.2419.288346062700719.24251.002382541909870.997493509161256
4519.3819.341535838657519.25291666666671.004602895941701.00198868185357
4619.2719.277909846970519.27041666666671.000388843709680.999589693746197
4719.2719.309141842561119.28416666666671.001295113049280.99797288544047
4819.0719.289017365311719.29583333333330.9996467647753870.988645488717035
4919.1519.322552511493319.31751.000261551002630.99106989040963
5019.2419.207328700036119.34708333333330.9927764495097611.00170098093671
5119.3619.366972769450219.36750.9999727775629380.999639965959925
5219.5719.381301153773519.38083333333331.000024138303661.00973612889709
5319.5919.430542727019619.406251.001251799137891.00820652697254
5419.3619.367977880717419.44541666666670.9960176329838190.999588089124917
5519.4619.518555267110219.49166666666671.001379492113390.99700002042626
5619.6519.562330624156019.51583333333331.002382541909871.00448154044261
5719.4619.620313142281319.53041666666671.004602895941700.991829226112816
5819.5119.554267265045319.54666666666671.000388843709680.997736183900668
5919.6419.575736666410419.55041666666671.001295113049281.00328280537712
6019.6419.551008121580019.55791666666670.9996467647753871.00455177952291
6119.6919.57761920699919.57251.000261551002631.00574026861044
6219.2819.439390195109119.58083333333330.9927764495097610.991800658687886
6319.6719.595716542317719.596250.9999727775629381.00379080078658
6419.6519.620473593517719.621.000024138303661.00150487735892
6519.619.663333770319119.638751.001251799137890.99677909295245
6619.5319.583781701197319.66208333333330.9960176329838190.99725376324053
6719.6419.720917372808219.693751.001379492113390.995896875825881
6819.6719.786196058515919.73916666666671.002382541909870.994127418015455
6919.8119.88443998700619.79333333333331.004602895941700.996256369952855
7019.7319.847714659200119.841.000388843709680.994069107641794
7119.8719.911587735579119.88583333333331.001295113049280.997911380240927
7219.9719.940037320871719.94708333333330.9996467647753871.00150263906963
7320.1220.021068494610220.01583333333331.000261551002631.00494136990823
7419.9419.932055508178320.07708333333330.9927764495097611.00039857865229
7520.3120.118202318594320.118750.9999727775629381.00953353974517
7620.1320.142986205781420.14251.000024138303660.999355298879285
7720.2220.175640940878020.15041666666671.001251799137891.00219864435791
7820.3820.068510282582720.148750.9960176329838191.01552131737888
7920.4420.176962283174820.14916666666671.001379492113391.01303653707300
8020.34NANA1.00238254190987NA
8120.14NANA1.00460289594170NA
8219.97NANA1.00038884370968NA
8319.82NANA1.00129511304928NA
8419.98NANA0.999646764775387NA
8520.12NANANANA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Aug/19/t12506843528dhshfw3u2euxeh/1b2yd1250684303.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Aug/19/t12506843528dhshfw3u2euxeh/1b2yd1250684303.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Aug/19/t12506843528dhshfw3u2euxeh/2ggta1250684303.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Aug/19/t12506843528dhshfw3u2euxeh/2ggta1250684303.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Aug/19/t12506843528dhshfw3u2euxeh/3hmrg1250684303.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Aug/19/t12506843528dhshfw3u2euxeh/3hmrg1250684303.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Aug/19/t12506843528dhshfw3u2euxeh/48wil1250684303.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Aug/19/t12506843528dhshfw3u2euxeh/48wil1250684303.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