Home » date » 2008 » May » 18 » attachments

Quinten Bollaerts - Bier - Multi

R Software Module: rwasp_decompose.wasp (opens new window with default values)
Title produced by software: Classical Decomposition
Date of computation: Sun, 18 May 2008 14:22:02 -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/18/t1211142206g1ie0wislsevu2j.htm/, Retrieved Sun, 18 May 2008 22:23:31 +0200
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
0,41 0,41 0,41 0,41 0,41 0,41 0,41 0,41 0,41 0,41 0,41 0,41 0,41 0,41 0,41 0,41 0,41 0,41 0,41 0,41 0,41 0,42 0,42 0,42 0,42 0,42 0,42 0,42 0,42 0,42 0,42 0,42 0,42 0,42 0,42 0,43 0,43 0,43 0,44 0,44 0,44 0,44 0,44 0,44 0,44 0,44 0,44 0,44 0,44 0,44 0,44 0,45 0,45 0,46 0,46 0,46 0,46 0,46 0,46 0,46 0,46 0,47 0,47 0,47 0,47 0,47 0,47 0,47 0,47 0,47 0,47 0,47
 
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 time2 seconds
R Server'George Udny Yule' @ 72.249.76.132


Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
10.41NANA-0.00030381944444447NA
20.41NANA-0.00134548611111113NA
30.41NANA0.000112847222222206NA
40.41NANA0.00157118055555553NA
50.41NANA0.000529513888888869NA
60.41NANA0.00198784722222224NA
70.410.4109461805555560.410.000946180555555559-0.000946180555555676
80.410.4098003472222220.41-0.0001996527777777730.000199652777777670
90.410.4085503472222220.41-0.001449652777777760.00144965277777764
100.410.4098003472222220.41-0.0001996527777777450.000199652777777615
110.410.4085503472222220.41-0.001449652777777770.00144965277777764
120.410.4098003472222220.41-0.0001996527777777450.000199652777777615
130.410.4096961805555560.41-0.000303819444444470.000303819444444353
140.410.4086545138888890.41-0.001345486111111130.00134548611111102
150.410.4101128472222220.410.000112847222222206-0.000112847222222323
160.410.4119878472222220.4104166666666670.00157118055555553-0.00198784722222234
170.410.4117795138888890.411250.000529513888888869-0.00177951388888897
180.410.4140711805555560.4120833333333330.00198784722222224-0.00407118055555566
190.410.4138628472222220.4129166666666670.000946180555555559-0.00386284722222235
200.410.4135503472222220.41375-0.000199652777777773-0.00355034722222231
210.410.4131336805555560.414583333333333-0.00144965277777776-0.00313368055555568
220.420.4152170138888890.415416666666667-0.0001996527777777450.004782986111111
230.420.4148003472222220.41625-0.001449652777777770.00519965277777767
240.420.4168836805555560.417083333333333-0.0001996527777777450.00311631944444435
250.420.4176128472222220.417916666666667-0.000303819444444470.00238715277777779
260.420.4174045138888890.41875-0.001345486111111130.00259548611111116
270.420.4196961805555550.4195833333333330.0001128472222222060.000303819444444520
280.420.4215711805555550.420.00157118055555553-0.00157118055555550
290.420.4205295138888890.420.000529513888888869-0.000529513888888833
300.420.4224045138888890.4204166666666670.00198784722222224-0.00240451388888879
310.420.4221961805555550.421250.000946180555555559-0.00219618055555548
320.420.4218836805555550.422083333333333-0.000199652777777773-0.00188368055555549
330.420.4218836805555550.423333333333333-0.00144965277777776-0.00188368055555549
340.420.4248003472222220.425-0.000199652777777745-0.00480034722222217
350.420.4252170138888890.426666666666667-0.00144965277777777-0.00521701388888884
360.430.4281336805555560.428333333333333-0.0001996527777777450.00186631944444449
370.430.4296961805555550.43-0.000303819444444470.000303819444444520
380.430.4303211805555560.431666666666667-0.00134548611111113-0.000321180555555522
390.440.4334461805555560.4333333333333330.0001128472222222060.00655381944444444
400.440.4365711805555560.4350.001571180555555530.0034288194444444
410.440.4371961805555560.4366666666666670.0005295138888888690.00280381944444436
420.440.4399045138888890.4379166666666670.001987847222222249.54861111110428e-05
430.440.4396961805555560.438750.0009461805555555590.000303819444444353
440.440.4393836805555560.439583333333333-0.0001996527777777730.000616319444444346
450.440.4385503472222220.44-0.001449652777777760.00144965277777764
460.440.4402170138888890.440416666666667-0.000199652777777745-0.000217013888889006
470.440.4398003472222220.44125-0.001449652777777770.000199652777777670
480.440.4423003472222220.4425-0.000199652777777745-0.00230034722222233
490.440.4438628472222220.444166666666667-0.00030381944444447-0.0038628472222223
500.440.4444878472222220.445833333333333-0.00134548611111113-0.00448784722222229
510.440.4476128472222220.44750.000112847222222206-0.00761284722222227
520.450.4507378472222220.4491666666666670.00157118055555553-0.000737847222222254
530.450.4513628472222220.4508333333333330.000529513888888869-0.00136284722222224
540.460.4544878472222220.45250.001987847222222240.00551215277777783
550.460.4551128472222220.4541666666666670.0009461805555555590.00488715277777785
560.460.4560503472222220.45625-0.0001996527777777730.00394965277777787
570.460.4573003472222220.45875-0.001449652777777760.00269965277777789
580.460.4606336805555560.460833333333333-0.000199652777777745-0.000633680555555516
590.460.4610503472222220.4625-0.00144965277777777-0.00105034722222219
600.460.4635503472222220.46375-0.000199652777777745-0.00355034722222219
610.460.4642795138888890.464583333333333-0.00030381944444447-0.00427951388888875
620.470.4640711805555550.465416666666667-0.001345486111111130.00592881944444451
630.470.4663628472222220.466250.0001128472222222060.00363715277777782
640.470.4686545138888890.4670833333333330.001571180555555530.00134548611111113
650.470.4684461805555560.4679166666666670.0005295138888888690.00155381944444444
660.470.4707378472222220.468750.00198784722222224-0.000737847222222254
670.47NANA0.000946180555555559NA
680.47NANA-0.000199652777777773NA
690.47NANA-0.00144965277777776NA
700.47NANA-0.000199652777777745NA
710.47NANA-0.00144965277777777NA
720.47NANA-0.000199652777777745NA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/18/t1211142206g1ie0wislsevu2j/1bx9b1211142119.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/18/t1211142206g1ie0wislsevu2j/1bx9b1211142119.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/18/t1211142206g1ie0wislsevu2j/294bk1211142119.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/18/t1211142206g1ie0wislsevu2j/294bk1211142119.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/18/t1211142206g1ie0wislsevu2j/32xi11211142119.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/18/t1211142206g1ie0wislsevu2j/32xi11211142119.ps (open in new window)


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