Home » date » 2008 » May » 22 »

Multiplicatief Decompositie Lederen Laarzen - Christine Van Bergen

R Software Module: rwasp_decompose.wasp (opens new window with default values)
Title produced by software: Classical Decomposition
Date of computation: Thu, 22 May 2008 11:25:26 -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/22/t1211477206mzwfzahlilkus93.htm/, Retrieved Thu, 22 May 2008 19:26:46 +0200
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
101.22 101.25 101.25 101.26 101.26 101.26 101.29 101.31 101.31 101.31 101.32 101.34 101.34 101.34 101.34 101.34 101.34 101.34 101.34 101.39 102.16 102.19 102.31 102.32 102.32 102.32 102.36 102.36 102.37 102.37 102.37 102.37 103.45 103.8 103.81 103.81 103.81 103.84 103.9 103.91 103.92 103.92 103.93 104 104.51 105 105.01 105.01 105.01 105.01 105.13 105.14 105.15 105.22 105.23 105.23 105.57 106.05 106.09 106.09 106.19 106.2 106.2 106.22 106.22 106.23 106.23 106.61 106.95 107.74 107.8 107.8
 
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'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
1101.22NANA1.00109775315131NA
2101.25NANA1.00037964963614NA
3101.25NANA1.00008361516197NA
4101.26NANA0.999223613556161NA
5101.26NANA0.998338022513017NA
6101.26NANA0.99754716636901NA
7101.29100.945513216978101.2866666666670.9966318029715441.00341260123451
8101.31100.885197375769101.2954166666670.9959502679943751.0042107527693
9101.31101.456114473598101.3029166666671.001512274394190.998559825848284
10101.31101.691037934657101.311.003761108821010.996252984113493
11101.32101.642484113857101.3166666666671.003215832675010.996827270440424
12101.34101.552211877040101.3233333333331.002258892756260.997910317529108
13101.34101.439983954630101.328751.001097753151310.999014353603654
14101.34101.372638146171101.3341666666671.000379649636140.99967803791272
15101.34101.381392979513101.3729166666671.000083615161970.999591710290253
16101.34101.366239477205101.4450.9992236135561610.999741141850185
17101.34101.354187864754101.5229166666670.9983380225130170.999860016985458
18101.34101.355779838923101.6050.997547166369010.999844312391968
19101.34101.344165938166101.6866666666670.9966318029715440.999958893162445
20101.39101.356198856674101.7683333333330.9959502679943751.00033348866381
21102.16102.005694334172101.8516666666671.001512274394191.00151271619526
22102.19102.320061562851101.9366666666671.003761108821010.99872887524827
23102.31102.350169282490102.0220833333331.003215832675010.999607530864178
24102.32102.338567499981102.1079166666671.002258892756260.99981856791203
25102.32102.305933511106102.193751.001097753151311.00013749436041
26102.32102.316329615661102.27751.000379649636141.00003587290859
27102.36102.380643191663102.3720833333331.000083615161970.999798368216694
28102.36102.413342555577102.4929166666670.9992236135561610.99947914447233
29102.37102.451943715342102.62250.9983380225130170.99920017412681
30102.37102.495061831847102.7470833333330.997547166369010.998779825782705
31102.37102.524759361436102.871250.9966318029715440.998490517194087
32102.37102.579557769194102.9966666666670.9959502679943750.997957119588432
33103.45103.280118703339103.1241666666671.001512274394191.00164485961862
34103.8103.641262122337103.2529166666671.003761108821011.00153160888253
35103.81103.714542814928103.3820833333331.003215832675011.00092038380040
36103.81103.745070812816103.511251.002258892756261.00062585322537
37103.81103.754605384729103.6408333333331.001097753151311.00053390030318
38103.84103.813147666429103.773751.000379649636141.00025866023885
39103.9103.894519764114103.8858333333331.000083615161971.00005274807467
40103.91103.899271337570103.980.9992236135561611.00010326022784
41103.92103.907021383155104.080.9983380225130171.00012490606190
42103.92103.924463792324104.180.997547166369010.999957047723311
43103.93103.928764413873104.280.9966318029715441.00001188877915
44104103.956044035418104.378750.9959502679943751.00042283221712
45104.51104.636750538362104.478751.001512274394190.998788661366969
46105104.974591461887104.581251.003761108821011.0002420446487
47105.01105.020395423793104.683751.003215832675010.999901015190897
48105.01105.025874156184104.7891666666671.002258892756260.999848854805431
49105.01105.012651561189104.89751.001097753151310.999974750078685
50105.01105.042780985773105.0029166666671.000379649636140.999687927285764
51105.13105.107121147498105.0983333333331.000083615161971.00021767176431
52105.14105.104584821422105.186250.9992236135561611.00033695179557
53105.15105.100035320058105.2750.9983380225130171.00047540117175
54105.22105.106557184471105.3650.997547166369011.00107931244794
55105.23105.103959414877105.4591666666670.9966318029715441.00119919921024
56105.23105.130435393095105.5579166666670.9959502679943751.00094705787656
57105.57105.811858273651105.6520833333331.001512274394190.99771426116508
58106.05106.139372581915105.7416666666671.003761108821010.99915796956642
59106.09106.171585591787105.831251.003215832675010.999231568490451
60106.09106.157173881383105.9179166666671.002258892756260.999367222403096
61106.19106.118030330294106.0016666666671.001097753151311.00067820397233
62106.2106.141114476103106.1008333333331.000379649636141.00055478524215
63106.2106.224714587442106.2158333333331.000083615161970.999767336748914
64106.22106.261186154113106.343750.9992236135561610.999612406414763
65106.22106.308440301475106.4854166666670.9983380225130170.99916807827089
66106.23106.366376126664106.6279166666670.997547166369010.998717864313607
67106.23NANA0.996631802971544NA
68106.61NANA0.995950267994375NA
69106.95NANA1.00151227439419NA
70107.74NANA1.00376110882101NA
71107.8NANA1.00321583267501NA
72107.8NANA1.00225889275626NA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/22/t1211477206mzwfzahlilkus93/1ii4r1211477121.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/22/t1211477206mzwfzahlilkus93/1ii4r1211477121.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/22/t1211477206mzwfzahlilkus93/2wn4g1211477121.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/22/t1211477206mzwfzahlilkus93/2wn4g1211477121.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/22/t1211477206mzwfzahlilkus93/3vect1211477121.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/22/t1211477206mzwfzahlilkus93/3vect1211477121.ps (open in new window)


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