Home » date » 2008 » May » 25 »

cijferreeks - oliezaden - tim deelstra

R Software Module: rwasp_decompose.wasp (opens new window with default values)
Title produced by software: Classical Decomposition
Date of computation: Sun, 25 May 2008 14:19:46 -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/May/25/t1211747019x0fqe0uogvczf7z.htm/, Retrieved Sun, 25 May 2008 22:23:39 +0200
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
90,2 94,3 96 99 103,3 113,1 112,8 112,1 107,4 111 110,5 110,8 112,4 111,5 116,2 122,5 121,3 113,9 110,7 120,8 141,1 147,4 148 158,1 165 187 190,3 182,4 168,8 151,2 120,1 112,5 106,2 107,1 108,5 106,5 108,3 125,6 124 127,2 136,9 135,8 124,3 115,4 113,6 114,4 118,4 117 116,5 115,4 113,6 117,4 116,9 116,4 111,1 110,2 118,9 131,8 130,6 138,3 148,4 148,7 144,3 152,5 162,9 167,2 166,5 185,6 193,2 207,8 223,4 246,4
 
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 time6 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001


Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
190.2NANA0.998519023206978NA
294.3NANA1.06669196126953NA
396NANA1.07376666229617NA
499NANA1.08579573956445NA
5103.3NANA1.07533405895404NA
6113.1NANA1.02186372809591NA
7112.897.4532878149492105.9666666666670.9196598409715241.15747762368153
8112.196.6980676413774107.6083333333330.8986113309815911.15927859505677
9107.4101.726022877044109.1666666666670.931841430934751.05577704664434
10111107.293333820361110.98750.9667154753495721.03454703146652
11110.5109.532306553760112.7166666666670.9717489861342051.00883477648455
12110.8112.302775014385113.50.989451762241280.98661854068884
13112.4113.277822686902113.4458333333330.9985190232069780.992250710103002
14111.5121.305098745539113.7208333333331.066691961269530.919169937233169
15116.2124.006627411929115.48751.073766662296170.937046691980445
16122.5128.567263862260118.4083333333331.085795739564450.952808641329098
17121.3130.639646487178121.48751.075334058954040.928508330064296
18113.9127.754254839658125.0208333333331.021863728095910.89155543306917
19110.7118.804723789505129.1833333333330.9196598409715240.931781131835596
20120.8120.881945086419134.5208333333330.8986113309815910.999322106486946
21141.1131.160564076695140.7541666666670.931841430934751.07578067381208
22147.4141.466725873968146.33750.9667154753495721.04194112848358
23148146.551893971365150.81250.9717489861342051.00988118262681
24158.1152.717756786266154.3458333333330.989451762241281.03524307406680
25165156.060202335391156.2916666666670.9985190232069781.05728428856831
26187166.763954494975156.33751.066691961269531.12134544042391
27190.3165.937215574595154.53751.073766662296171.14681929150759
28182.4164.393999118972151.4041666666671.085795739564451.10952955082014
29168.8159.234571338198148.0791666666671.075334058954041.06007130600733
30151.2147.437904902105144.2833333333331.021863728095911.02551647149621
31120.1128.541622355791139.7708333333330.9196598409715240.934327712681071
32112.5121.177737982868134.850.8986113309815910.928388348162643
33106.2120.700644014452129.5291666666670.931841430934750.879862745283147
34107.1120.323852831843124.4666666666670.9667154753495720.890097827482933
35108.5117.423718111992120.83750.9717489861342050.924004125780781
36106.5117.612832805080118.8666666666670.989451762241280.905513433015447
37108.3118.224652347706118.40.9985190232069780.916052598585639
38125.6126.611891252854118.6958333333331.066691961269530.992007928774766
39124127.912453646032119.1251.073766662296170.969413035756013
40127.2130.010467366098119.73751.085795739564450.978382760841986
41136.9129.528467959593120.4541666666671.075334058954041.05691051671133
42135.8123.956327983568121.3041666666671.021863728095911.09554713510070
43124.3112.275138918607122.0833333333330.9196598409715241.10710172525469
44115.4109.6305823797541220.8986113309815911.05262598715622
45113.6112.884824012487121.1416666666670.931841430934751.00633544848716
46114.4116.295871684554120.30.9667154753495720.983697859114931
47118.4115.694814707495119.0583333333330.9717489861342051.02338207895786
48117116.178127749830117.4166666666670.989451762241281.00707424251094
49116.5115.886453635030116.0583333333330.9985190232069781.00529437518989
50115.4122.980694034699115.2916666666671.066691961269530.938358666015005
51113.6123.800822134989115.2958333333331.073766662296170.917602953202794
52117.4126.214706426537116.2416666666671.085795739564450.930161019455621
53116.9126.324868575625117.4751.075334058954040.925391819663893
54116.4121.469792911868118.8708333333331.021863728095910.958262932780776
55111.1111.359310993639121.08750.9196598409715240.997671402675487
56110.2111.2518269894123.8041666666670.8986113309815910.990545530641036
57118.9117.850762304844126.4708333333330.931841430934751.00890310486446
58131.8124.911723358607129.21250.9667154753495721.05514515736540
59130.6128.845817653178132.5916666666670.9717489861342051.01361458508140
60138.3135.183847016215136.6250.989451762241281.02305122285365
61148.4140.841108223344141.050.9985190232069781.05366964142791
62148.7156.270372325986146.51.066691961269530.951555933390919
63144.3164.004435582462152.73751.073766662296170.87985425203604
64152.5172.6415225907471591.085795739564450.883333266015653
65162.9178.541298255002166.0333333333331.075334058954040.912393948022815
66167.2178.217291945461174.4041666666671.021863728095910.938180566962983
67166.5NANA0.919659840971524NA
68185.6NANA0.898611330981591NA
69193.2NANA0.93184143093475NA
70207.8NANA0.966715475349572NA
71223.4NANA0.971748986134205NA
72246.4NANA0.98945176224128NA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/25/t1211747019x0fqe0uogvczf7z/1q15o1211746778.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/25/t1211747019x0fqe0uogvczf7z/1q15o1211746778.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/25/t1211747019x0fqe0uogvczf7z/2snck1211746778.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/25/t1211747019x0fqe0uogvczf7z/2snck1211746778.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/25/t1211747019x0fqe0uogvczf7z/36m0r1211746778.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/25/t1211747019x0fqe0uogvczf7z/36m0r1211746778.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/25/t1211747019x0fqe0uogvczf7z/4yxgk1211746778.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/25/t1211747019x0fqe0uogvczf7z/4yxgk1211746778.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