Home » date » 2009 » May » 28 »

Decompositie van tijdreeksen - Geregistreerde nieuwe domeinnamen - Dorien Dhanis

*Unverified author*
R Software Module: rwasp_decompose.wasp (opens new window with default values)
Title produced by software: Classical Decomposition
Date of computation: Thu, 28 May 2009 09:52:19 -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/May/28/t1243526215pfvxewkcnp765xg.htm/, Retrieved Thu, 28 May 2009 17:56:59 +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/May/28/t1243526215pfvxewkcnp765xg.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 «
8166 2322 2924 5209 5597 5616 5764 5854 6019 6047 6082 6251 6576 6820 7024 7102 7107 7237 7630 7842 8086 8201 8323 9016 9077 9115 9230 9535 9565 9807 9815 9999 10176 10416 10439 10737 10790 11196 11221 11340 11356 11772 11836 11926 12013 12132 12178 12382 12448 12543 12662 12692 12767 13136 13145 13330 13381 13533 14176 14314 14444 15092 15130 15550 15557 15874 15892 16364 16379 16668 16713 16830 17368 17808 17846 18137 18504 18898 18938 19139 19573 19796 19845 21461
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
18166NANA-4.17476851851968NA
22322NANA123.915509259259NA
32924NANA27.3668981481487NA
45209NANA44.9293981481476NA
55597NANA-62.7928240740737NA
65616NANA47.3391203703719NA
757645434.67245370375421.3333333333313.3391203703702329.327546296296
858545589.894675925935542.547.3946759259257264.105324074073
960195860.144675925935900.75-40.6053240740741158.855324074074
1060476073.616898148156150.45833333333-76.8414351851851-26.6168981481478
1160826188.332175925936292.25-103.917824074074-106.332175925925
1262516406.755787037046422.70833333333-15.9525462962966-155.755787037036
1365766563.825231481486568-4.1747685185196812.1747685185210
1468206852.49884259266728.58333333333123.915509259259-32.4988425925922
1570246924.908564814816897.5416666666727.366898148148799.0914351851852
1671027118.346064814817073.4166666666744.9293981481476-16.3460648148130
1771077193.748842592597256.54166666667-62.7928240740737-86.7488425925922
1872377512.464120370377465.12547.3391203703719-275.464120370370
1976307697.880787037047684.5416666666713.3391203703702-67.8807870370356
2078427931.769675925937884.37547.3946759259257-89.7696759259252
2180868031.311342592598071.91666666667-40.605324074074154.6886574074088
2282018188.366898148158265.20833333333-76.841435185185112.6331018518522
2383238365.082175925938469-103.917824074074-42.0821759259252
2490168662.54745370378678.5-15.9525462962966353.452546296299
2590778872.450231481488876.625-4.17476851851968204.549768518522
2691159181.457175925939057.54166666667123.915509259259-66.4571759259252
2792309261.866898148159234.527.3668981481487-31.866898148146
2895359458.804398148159413.87544.929398148147676.1956018518504
2995659531.540509259269594.33333333333-62.792824074073733.4594907407409
3098079801.54745370379754.2083333333347.33912037037195.45254629629562
3198159910.630787037049897.2916666666713.3391203703702-95.6307870370383
32999910102.769675925910055.37547.3946759259257-103.769675925923
331017610184.436342592610225.0416666667-40.6053240740741-8.43634259259488
341041610306.366898148110383.2083333333-76.8414351851851109.633101851850
351043910429.123842592610533.0416666667-103.9178240740749.87615740740875
361073710673.589120370410689.5416666667-15.952546296296663.4108796296314
371079010851.450231481510855.625-4.17476851851968-61.4502314814818
381119611144.040509259311020.125123.91550925925951.9594907407409
391122111204.325231481511176.958333333327.366898148148716.6747685185201
401134011369.92939814811132544.9293981481476-29.929398148146
411135611406.165509259311468.9583333333-62.7928240740737-50.1655092592591
421177211657.297453703711609.958333333347.3391203703719114.702546296296
431183611760.922453703711747.583333333313.339120370370275.0775462962956
441192611920.186342592611872.791666666747.39467592592575.81365740740694
451201311948.353009259311988.9583333333-40.605324074074164.6469907407427
461213212028.491898148112105.3333333333-76.8414351851851103.508101851850
471217812116.540509259312220.4583333333-103.91782407407461.4594907407427
481238212320.130787037012336.0833333333-15.952546296296661.8692129629635
491244812443.283564814812447.4583333333-4.174768518519684.71643518518795
501254312684.415509259312560.5123.915509259259-141.415509259257
511266212703.36689814811267627.3668981481487-41.3668981481478
521269212836.304398148112791.37544.9293981481476-144.304398148148
531276712870.207175925912933-62.7928240740737-103.207175925925
541313613144.089120370413096.7547.3391203703719-8.08912037036862
551314513273.755787037013260.416666666713.3391203703702-128.755787037033
561333013497.186342592613449.791666666747.3946759259257-167.186342592588
571338113618.228009259313658.8333333333-40.6053240740741-237.228009259255
581353313803.908564814813880.75-76.8414351851851-270.908564814814
591417614012.165509259314116.0833333333-103.917824074074163.834490740743
601431414330.464120370414346.4166666667-15.9525462962966-16.4641203703686
611444414570.783564814814574.9583333333-4.17476851851968-126.783564814816
621509214939.748842592614815.8333333333123.915509259259152.251157407409
631513015094.533564814815067.166666666727.366898148148735.4664351851879
641555015367.637731481515322.708333333344.9293981481476182.362268518518
651555715496.248842592615559.0416666667-62.792824074073760.7511574074069
661587415816.922453703715769.583333333347.339120370371957.0775462962974
671589216009.589120370415996.2513.3391203703702-117.589120370370
681636416278.644675925916231.2547.394675925925785.355324074073
691637916416.978009259316457.5833333333-40.6053240740741-37.9780092592591
701666816601.700231481516678.5416666667-76.841435185185166.2997685185219
711671316805.207175925916909.125-103.917824074074-92.207175925927
721683017141.964120370417157.9166666667-15.9525462962966-311.964120370372
731736817406.658564814817410.8333333333-4.17476851851968-38.6585648148175
741780817777.290509259317653.375123.91550925925930.7094907407409
751784617929.450231481517902.083333333327.3668981481487-83.4502314814818
761813718210.429398148118165.544.9293981481476-73.429398148146
771850418363.540509259318426.3333333333-62.7928240740737140.459490740741
781889818797.130787037018749.791666666747.3391203703719100.869212962964
7918938NANA13.3391203703702NA
8019139NANA47.3946759259257NA
8119573NANA-40.6053240740741NA
8219796NANA-76.8414351851851NA
8319845NANA-103.917824074074NA
8421461NANA-15.9525462962966NA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/28/t1243526215pfvxewkcnp765xg/12ad01243525937.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/28/t1243526215pfvxewkcnp765xg/12ad01243525937.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/28/t1243526215pfvxewkcnp765xg/2x36r1243525937.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/28/t1243526215pfvxewkcnp765xg/2x36r1243525937.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/28/t1243526215pfvxewkcnp765xg/3rkc81243525937.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/28/t1243526215pfvxewkcnp765xg/3rkc81243525937.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/28/t1243526215pfvxewkcnp765xg/4fa351243525937.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/28/t1243526215pfvxewkcnp765xg/4fa351243525937.ps (open in new window)


 
Parameters (Session):
par1 = additive ; par2 = 12 ;
 
Parameters (R input):
par1 = additive ; 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