Home » date » 2008 » May » 17 » attachments

prijs wagen lode merckx

R Software Module: rwasp_decompose.wasp (opens new window with default values)
Title produced by software: Classical Decomposition
Date of computation: Sat, 17 May 2008 07:38:59 -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/17/t12110315973gfpngavlbmmdq8.htm/, Retrieved Sat, 17 May 2008 15:40:01 +0200
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
101.6 101.8 102.1 102.1 101.9 102.1 102 102.1 102.2 102.3 102.7 102.8 103.1 103.1 103.3 103.5 103.3 103.5 103.8 103.9 103.9 104.2 104.6 104.9 105.2 105.2 105.6 105.6 106.2 106.3 106.4 106.9 107.2 107.3 107.3 107.4 107.55 107.87 108.37 108.38 107.92 108.03 108.14 108.3 108.64 108.66 109.04 109.03 109.03 109.54 109.75 109.83 109.65 109.82 109.95 110.12 110.15 110.2 109.99 110.14 110.14 110.81 110.97 110.99 109.73 109.81 110.02 110.18 110.21 110.25 110.36 110.51 110.64 110.95 111.18 111.19 111.69 111.7 111.83 111.77 111.73 112.01 111.86 112.04
 
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 time3 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
1101.6NANA-0.00279166666666081NA
2101.8NANA0.163041666666667NA
3102.1NANA0.322958333333333NA
4102.1NANA0.251958333333329NA
5101.9NANA-0.178125000000000NA
6102.1NANA-0.174208333333331NA
7102102.072875102.204166666667-0.131291666666666-0.072874999999982
8102.1102.279291666667102.320833333333-0.0415416666666682-0.179291666666643
9102.2102.392375102.425-0.0326250000000011-0.192374999999984
10102.3102.472958333333102.533333333333-0.0603750000000071-0.172958333333298
11102.7102.591625102.65-0.05837500000000040.108374999999995
12102.8102.708041666667102.766666666667-0.05862499999999450.0919583333333094
13103.1102.897208333333102.9-0.002791666666660810.202791666666656
14103.1103.213041666667103.050.163041666666667-0.113041666666675
15103.3103.518791666667103.1958333333330.322958333333333-0.218791666666661
16103.5103.597791666667103.3458333333330.251958333333329-0.0977916666666658
17103.3103.326041666667103.504166666667-0.178125000000000-0.0260416666666856
18103.5103.496625103.670833333333-0.1742083333333310.00337499999999125
19103.8103.714541666667103.845833333333-0.1312916666666660.0854583333333352
20103.9103.979291666667104.020833333333-0.0415416666666682-0.0792916666666486
21103.9104.171541666667104.204166666667-0.0326250000000011-0.27154166666665
22104.2104.327125104.3875-0.0603750000000071-0.127124999999992
23104.6104.537458333333104.595833333333-0.05837500000000040.0625416666666752
24104.9104.774708333333104.833333333333-0.05862499999999450.125291666666683
25105.2105.055541666667105.058333333333-0.002791666666660810.144458333333347
26105.2105.454708333333105.2916666666670.163041666666667-0.254708333333340
27105.6105.877125105.5541666666670.322958333333333-0.277124999999998
28105.6106.072791666667105.8208333333330.251958333333329-0.472791666666666
29106.2105.884375106.0625-0.1781250000000000.315625000000011
30106.3106.104958333333106.279166666667-0.1742083333333310.195041666666654
31106.4106.349958333333106.48125-0.1312916666666660.0500416666666865
32106.9106.648875106.690416666667-0.04154166666666820.251125000000016
33107.2106.884458333333106.917083333333-0.03262500000000110.315541666666675
34107.3107.087958333333107.148333333333-0.06037500000000710.212041666666678
35107.3107.277458333333107.335833333333-0.05837500000000040.0225416666666831
36107.4107.420958333333107.479583333333-0.0586249999999945-0.0209583333333114
37107.55107.621375107.624166666667-0.00279166666666081-0.0713749999999891
38107.87107.918041666667107.7550.163041666666667-0.0480416666666628
39108.37108.196291666667107.8733333333330.3229583333333330.173708333333352
40108.38108.241958333333107.990.2519583333333290.138041666666666
41107.92107.941041666667108.119166666667-0.178125000000000-0.0210416666666617
42108.03108.085375108.259583333333-0.174208333333331-0.0553749999999695
43108.14108.257875108.389166666667-0.131291666666666-0.117874999999984
44108.3108.478875108.520416666667-0.0415416666666682-0.178875000000005
45108.64108.614875108.6475-0.03262500000000110.0251250000000027
46108.66108.705041666667108.765416666667-0.0603750000000071-0.0450416666666626
47109.04108.839541666667108.897916666667-0.05837500000000040.200458333333344
48109.03108.985958333333109.044583333333-0.05862499999999450.0440416666666579
49109.03109.191791666667109.194583333333-0.00279166666666081-0.161791666666630
50109.54109.508875109.3458333333330.1630416666666670.0311250000000030
51109.75109.807541666667109.4845833333330.322958333333333-0.0575416666666797
52109.83109.863625109.6116666666670.251958333333329-0.0336250000000149
53109.65109.537291666667109.715416666667-0.1781250000000000.112708333333316
54109.82109.627041666667109.80125-0.1742083333333310.192958333333323
55109.95109.762458333333109.89375-0.1312916666666660.187541666666675
56110.12109.951375109.992916666667-0.04154166666666820.168625000000006
57110.15110.064041666667110.096666666667-0.03262500000000110.0859583333333234
58110.2110.135458333333110.195833333333-0.06037500000000710.0645416666666705
59109.99110.189125110.2475-0.0583750000000004-0.199124999999995
60110.14110.191791666667110.250416666667-0.0586249999999945-0.0517916666666736
61110.14110.250125110.252916666667-0.00279166666666081-0.110124999999996
62110.81110.421375110.2583333333330.1630416666666670.388625000000005
63110.97110.586291666667110.2633333333330.3229583333333330.383708333333345
64110.99110.519875110.2679166666670.2519583333333290.47012500000001
65109.73110.107291666667110.285416666667-0.178125000000000-0.37729166666665
66109.81110.142041666667110.31625-0.174208333333331-0.332041666666669
67110.02110.221208333333110.3525-0.131291666666666-0.201208333333341
68110.18110.337625110.379166666667-0.0415416666666682-0.157624999999982
69110.21110.361125110.39375-0.0326250000000011-0.151125000000022
70110.25110.350458333333110.410833333333-0.0603750000000071-0.100458333333336
71110.36110.442458333333110.500833333333-0.0583750000000004-0.0824583333333635
72110.51110.602625110.66125-0.0586249999999945-0.0926250000000124
73110.64110.812625110.815416666667-0.00279166666666081-0.172624999999982
74110.95111.120125110.9570833333330.163041666666667-0.170124999999985
75111.18111.409625111.0866666666670.322958333333333-0.229624999999970
76111.19111.475291666667111.2233333333330.251958333333329-0.285291666666666
77111.69111.181041666667111.359166666667-0.1781250000000000.50895833333334
78111.7111.311208333333111.485416666667-0.1742083333333310.388791666666648
79111.83NANA-0.131291666666666NA
80111.77NANA-0.0415416666666682NA
81111.73NANA-0.0326250000000011NA
82112.01NANA-0.0603750000000071NA
83111.86NANA-0.0583750000000004NA
84112.04NANA-0.0586249999999945NA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/17/t12110315973gfpngavlbmmdq8/16rqg1211031535.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/17/t12110315973gfpngavlbmmdq8/16rqg1211031535.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/17/t12110315973gfpngavlbmmdq8/2dm5w1211031535.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/17/t12110315973gfpngavlbmmdq8/2dm5w1211031535.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/17/t12110315973gfpngavlbmmdq8/3f84v1211031535.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/17/t12110315973gfpngavlbmmdq8/3f84v1211031535.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/17/t12110315973gfpngavlbmmdq8/435301211031535.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/17/t12110315973gfpngavlbmmdq8/435301211031535.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