Home » date » 2010 » Nov » 27 »

ws 8: productie

*The author of this computation has been verified*
R Software Module: /rwasp_decompose.wasp (opens new window with default values)
Title produced by software: Classical Decomposition
Date of computation: Sat, 27 Nov 2010 18:10:23 +0000
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2010/Nov/27/t1290881348y2vbaqfkpciykin.htm/, Retrieved Sat, 27 Nov 2010 19:09:08 +0100
 
BibTeX entries for LaTeX users:
@Manual{KEY,
    author = {{YOUR NAME}},
    publisher = {Office for Research Development and Education},
    title = {Statistical Computations at FreeStatistics.org, URL http://www.freestatistics.org/blog/date/2010/Nov/27/t1290881348y2vbaqfkpciykin.htm/},
    year = {2010},
}
@Manual{R,
    title = {R: A Language and Environment for Statistical Computing},
    author = {{R Development Core Team}},
    organization = {R Foundation for Statistical Computing},
    address = {Vienna, Austria},
    year = {2010},
    note = {{ISBN} 3-900051-07-0},
    url = {http://www.R-project.org},
}
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
94,6 95,9 104,7 102,8 98,1 113,9 80,9 95,7 113,2 105,9 108,8 102,3 99 100,7 115,5 100,7 109,9 114,6 85,4 100,5 114,8 116,5 112,9 102 106 105,3 118,8 106,1 109,3 117,2 92,5 104,2 112,5 122,4 113,3 100 110,7 112,8 109,8 117,3 109,1 115,9 96 99,8 116,8 115,7 99,4 94,3 91 93,2 103,1 94,1 91,8 102,7 82,6 89,1 104,5 105,1 95,1 88,7 86,3 91,8 111,5 99,7 97,5 111,7 86,2 95,4
 
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'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
194.6NANA-3.72673611111111NA
295.9NANA-2.35069444444444NA
3104.7NANA6.60868055555556NA
4102.8NANA-0.542361111111103NA
598.1NANA0.0836805555555561NA
6113.9NANA7.94305555555555NA
780.986.3253472222222101.583333333333-15.2579861111111-5.42534722222219
895.796.2086805555555101.966666666667-5.75798611111111-0.508680555555543
9113.2110.743055555556102.6166666666678.126388888888892.45694444444445
10105.9113.932638888889102.97916666666710.9534722222222-8.03263888888888
11108.8104.726388888889103.3833333333331.343055555555564.07361111111109
12102.396.4815972222222103.904166666667-7.422569444444445.81840277777778
1399100.394097222222104.120833333333-3.72673611111111-1.39409722222221
14100.7102.157638888889104.508333333333-2.35069444444444-1.45763888888888
15115.5111.383680555556104.7756.608680555555564.11631944444444
16100.7104.740972222222105.283333333333-0.542361111111103-4.04097222222219
17109.9105.979513888889105.8958333333330.08368055555555613.92048611111113
18114.6113.997222222222106.0541666666677.943055555555550.602777777777774
1985.491.0753472222222106.333333333333-15.2579861111111-5.6753472222222
20100.5101.058680555556106.816666666667-5.75798611111111-0.558680555555526
21114.8115.272222222222107.1458333333338.12638888888889-0.4722222222222
22116.5118.461805555556107.50833333333310.9534722222222-1.96180555555554
23112.9109.051388888889107.7083333333331.343055555555563.84861111111114
24102100.369097222222107.791666666667-7.422569444444441.63090277777778
25106104.469097222222108.195833333333-3.726736111111111.53090277777778
26105.3106.295138888889108.645833333333-2.35069444444444-0.995138888888874
27118.8115.312847222222108.7041666666676.608680555555563.48715277777778
28106.1108.311805555556108.854166666667-0.542361111111103-2.21180555555556
29109.3109.200347222222109.1166666666670.08368055555555610.099652777777763
30117.2116.993055555556109.057.943055555555550.20694444444446
3192.593.9045138888889109.1625-15.2579861111111-1.40451388888889
32104.2103.912847222222109.670833333333-5.757986111111110.287152777777777
33112.5117.734722222222109.6083333333338.12638888888889-5.23472222222222
34122.4120.653472222222109.710.95347222222221.7465277777778
35113.3111.501388888889110.1583333333331.343055555555561.79861111111113
36100102.673263888889110.095833333333-7.42256944444444-2.67326388888890
37110.7106.460763888889110.1875-3.726736111111114.23923611111111
38112.8107.799305555556110.15-2.350694444444445.00069444444445
39109.8116.754513888889110.1458333333336.60868055555556-6.95451388888888
40117.3109.503472222222110.045833333333-0.5423611111111037.7965277777778
41109.1109.271180555556109.18750.0836805555555561-0.171180555555551
42115.9116.313888888889108.3708333333337.94305555555555-0.413888888888891
439692.0545138888889107.3125-15.25798611111113.94548611111111
4499.899.9170138888889105.675-5.75798611111111-0.117013888888891
45116.8112.705555555556104.5791666666678.126388888888894.09444444444445
46115.7114.286805555556103.33333333333310.95347222222221.41319444444446
4799.4102.988888888889101.6458333333331.34305555555556-3.58888888888887
4894.392.9524305555556100.375-7.422569444444441.34756944444445
499195.539930555555699.2666666666667-3.72673611111111-4.53993055555556
5093.295.911805555555598.2625-2.35069444444444-2.71180555555554
51103.1103.91284722222297.30416666666666.60868055555556-0.812847222222217
5294.195.807638888888996.35-0.542361111111103-1.70763888888889
5391.895.812847222222295.72916666666670.0836805555555561-4.01284722222222
54102.7103.25972222222295.31666666666667.94305555555555-0.559722222222192
5582.679.629513888888994.8875-15.25798611111112.97048611111111
5689.188.875347222222294.6333333333333-5.757986111111110.224652777777763
57104.5103.05138888888994.9258.126388888888891.44861111111112
58105.1106.46180555555695.508333333333310.9534722222222-1.36180555555556
5995.197.322222222222295.97916666666671.34305555555556-2.22222222222223
6088.789.169097222222296.5916666666666-7.42256944444444-0.469097222222189
6186.3NA97.1166666666666NANA
6291.8NA97.5291666666667NANA
63111.5NANANANA
6499.7NANANANA
6597.5NANANANA
66111.7NANANANA
6786.2NANANANA
6895.4NANANANA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Nov/27/t1290881348y2vbaqfkpciykin/1lhli1290881420.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/27/t1290881348y2vbaqfkpciykin/1lhli1290881420.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/27/t1290881348y2vbaqfkpciykin/2lhli1290881420.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/27/t1290881348y2vbaqfkpciykin/2lhli1290881420.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/27/t1290881348y2vbaqfkpciykin/3w9ll1290881420.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/27/t1290881348y2vbaqfkpciykin/3w9ll1290881420.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/27/t1290881348y2vbaqfkpciykin/4w9ll1290881420.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/27/t1290881348y2vbaqfkpciykin/4w9ll1290881420.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])
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