Home » date » 2008 » May » 20 » attachments

Classical Deposition - huurprijzen - Charlotte Van Opstal

R Software Module: rwasp_decompose.wasp (opens new window with default values)
Title produced by software: Classical Decomposition
Date of computation: Tue, 20 May 2008 06:13:06 -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/20/t1211285672ct1lc51f9y18g20.htm/, Retrieved Tue, 20 May 2008 14:14:37 +0200
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
103,6 103,7 103,8 104 104 104,1 104,2 104,3 104,4 104,5 104,7 104,7 104,9 105 105,2 105,3 105,4 105,5 105,7 105,8 105,9 106 106,1 106,2 106,6 106,8 107 107,1 107,3 107,4 107,6 107,7 107,9 108,2 108,3 108,5 108,92 109,23 109,41 109,65 109,91 110,01 110,2 110,49 110,57 110,72 110,94 111,09 111,28 111,41 111,62 111,76 111,89 112,04 112,12 112,3 112,47 112,59 112,78 112,73 112,99 113,1 113,33 113,38 113,68 113,65 113,81 113,88 114,02 114,25 114,28 114,38 114,73 114,97 115,05 115,29 115,37 115,54 115,76 115,92 116,02 116,21 116,26 116,51
 
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'Gwilym Jenkins' @ 72.249.127.135


Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
1103.6NANA0.0233819444444459NA
2103.7NANA0.0334652777777814NA
3103.8NANA0.077465277777784NA
4104NANA0.0420486111111127NA
5104NANA0.0789652777777855NA
6104.1NANA0.00246527777778690NA
7104.2104.226715277778104.2208333333330.00588194444444194-0.0267152777777824
8104.3104.318048611111104.329166666667-0.0111180555555653-0.0180486111111122
9104.4104.403381944444104.441666666667-0.03828472222223-0.00338194444444184
10104.5104.530548611111104.554166666667-0.0236180555555568-0.0305486111111009
11104.7104.604715277778104.666666666667-0.06195138888889790.095284722222246
12104.7104.654631944444104.783333333333-0.1287013888888880.0453680555555565
13104.9104.927548611111104.9041666666670.0233819444444459-0.0275486111111007
14105105.062631944444105.0291666666670.0334652777777814-0.0626319444444192
15105.2105.231631944444105.1541666666670.077465277777784-0.0316319444444417
16105.3105.321215277778105.2791666666670.0420486111111127-0.0212152777777703
17105.4105.478965277778105.40.0789652777777855-0.078965277777769
18105.5105.523298611111105.5208333333330.00246527777778690-0.0232986111111160
19105.7105.660048611111105.6541666666670.005881944444441940.0399513888888805
20105.8105.788881944444105.8-0.01111805555556530.0111180555555705
21105.9105.911715277778105.95-0.03828472222223-0.0117152777777534
22106106.076381944444106.1-0.0236180555555568-0.0763819444444351
23106.1106.192215277778106.254166666667-0.0619513888888979-0.0922152777777683
24106.2106.283798611111106.4125-0.128701388888888-0.0837986111111064
25106.6106.594215277778106.5708333333330.02338194444444590.00578472222221649
26106.8106.762631944444106.7291666666670.03346527777778140.0373680555555609
27107106.969131944444106.8916666666670.0774652777777840.0308680555555725
28107.1107.108715277778107.0666666666670.0420486111111127-0.00871527777776748
29107.3107.328965277778107.250.0789652777777855-0.0289652777777718
30107.4107.439965277778107.43750.00246527777778690-0.0399652777777675
31107.6107.635881944444107.630.00588194444444194-0.0358819444444407
32107.7107.816798611111107.827916666667-0.0111180555555653-0.116798611111093
33107.9107.991298611111108.029583333333-0.03828472222223-0.0912986111110854
34108.2108.212631944444108.23625-0.0236180555555568-0.0126319444444363
35108.3108.389298611111108.45125-0.0619513888888979-0.0892986111111043
36108.5108.540048611111108.66875-0.128701388888888-0.0400486111111036
37108.92108.909215277778108.8858333333330.02338194444444590.0107847222222404
38109.23109.143881944444109.1104166666670.03346527777778140.0861180555555592
39109.41109.415381944444109.3379166666670.077465277777784-0.00538194444445139
40109.65109.596215277778109.5541666666670.04204861111111270.0537847222222183
41109.91109.848131944444109.7691666666670.07896527777778550.06186805555555
42110.01109.989548611111109.9870833333330.002465277777786900.0204513888889011
43110.2110.199215277778110.1933333333330.005881944444441940.000784722222235246
44110.49110.371381944444110.3825-0.01111805555556530.118618055555558
45110.57110.527131944444110.565416666667-0.038284722222230.0428680555555445
46110.72110.721798611111110.745416666667-0.0236180555555568-0.00179861111109858
47110.94110.853881944444110.915833333333-0.06195138888889790.0861180555555592
48111.09110.954215277778111.082916666667-0.1287013888888880.135784722222212
49111.28111.270881944444111.24750.02338194444444590.009118055555561
50111.41111.436381944444111.4029166666670.0334652777777814-0.026381944444438
51111.62111.634965277778111.55750.077465277777784-0.014965277777776
52111.76111.756631944444111.7145833333330.04204861111111270.00336805555556907
53111.89111.948131944444111.8691666666670.0789652777777855-0.0581319444444262
54112.04112.016631944444112.0141666666670.002465277777786900.0233680555555651
55112.12112.159631944444112.153750.00588194444444194-0.0396319444444231
56112.3112.284298611111112.295416666667-0.01111805555556530.0157013888888997
57112.47112.398798611111112.437083333333-0.038284722222230.0712013888888805
58112.59112.552215277778112.575833333333-0.02361805555555680.0377847222222272
59112.78112.655965277778112.717916666667-0.06195138888889790.124034722222234
60112.73112.730881944444112.859583333333-0.128701388888888-0.000881944444429905
61112.99113.020465277778112.9970833333330.0233819444444459-0.0304652777777932
62113.1113.166798611111113.1333333333330.0334652777777814-0.0667986111110963
63113.33113.341215277778113.263750.077465277777784-0.0112152777777794
64113.38113.439548611111113.39750.0420486111111127-0.0595486111110972
65113.68113.608131944444113.5291666666670.07896527777778550.0718680555555835
66113.65113.662881944444113.6604166666670.00246527777778690-0.0128819444444304
67113.81113.807548611111113.8016666666670.005881944444441940.00245138888891461
68113.88113.940965277778113.952083333333-0.0111180555555653-0.0609652777777541
69114.02114.063381944444114.101666666667-0.03828472222223-0.0433819444444339
70114.25114.229298611111114.252916666667-0.02361805555555680.0207013888889094
71114.28114.340965277778114.402916666667-0.0619513888888979-0.0609652777777541
72114.38114.423381944444114.552083333333-0.128701388888888-0.0433819444444339
73114.73114.735465277778114.7120833333330.0233819444444459-0.00546527777778749
74114.97114.911798611111114.8783333333330.03346527777778140.0582013888889037
75115.05115.124131944444115.0466666666670.077465277777784-0.0741319444444599
76115.29115.253715277778115.2116666666670.04204861111111270.0362847222222342
77115.37115.454798611111115.3758333333330.0789652777777855-0.0847986111111112
78115.54115.549548611111115.5470833333330.00246527777778690-0.00954861111110006
79115.76NANA0.00588194444444194NA
80115.92NANA-0.0111180555555653NA
81116.02NANA-0.03828472222223NA
82116.21NANA-0.0236180555555568NA
83116.26NANA-0.0619513888888979NA
84116.51NANA-0.128701388888888NA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/20/t1211285672ct1lc51f9y18g20/1pxor1211285584.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/20/t1211285672ct1lc51f9y18g20/1pxor1211285584.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/20/t1211285672ct1lc51f9y18g20/2qmv41211285584.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/20/t1211285672ct1lc51f9y18g20/2qmv41211285584.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/20/t1211285672ct1lc51f9y18g20/3cc5u1211285584.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/20/t1211285672ct1lc51f9y18g20/3cc5u1211285584.ps (open in new window)


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