Home » date » 2010 » Dec » 13 »

additief model eigen reeks

*Unverified author*
R Software Module: /rwasp_decompose.wasp (opens new window with default values)
Title produced by software: Classical Decomposition
Date of computation: Mon, 13 Dec 2010 13:11:59 +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/Dec/13/t1292245883mas1tapeqwpl3ax.htm/, Retrieved Mon, 13 Dec 2010 14:11:27 +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/Dec/13/t1292245883mas1tapeqwpl3ax.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:
KDGP2W92
 
Dataseries X:
» Textbox « » Textfile « » CSV «
96,92 99,06 99,65 99,82 99,99 100,33 99,31 101,1 101,1 100,93 100,85 100,93 99,6 101,88 101,81 102,38 102,74 102,82 101,72 103,47 102,98 102,68 102,9 103,03 101,29 103,69 103,68 104,2 104,08 104,16 103,05 104,66 104,46 104,95 105,85 106,23 104,86 107,44 108,23 108,45 109,39 110,15 109,13 110,28 110,17 109,99 109,26 109,11 107,06 109,53 108,92 109,24 109,12 109 107,23 109,49 109,04 109,02 109,23 109,46
 
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'George Udny Yule' @ 72.249.76.132


Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
196.92NANA-1.95264756944444NA
299.06NANA0.309956597222212NA
399.65NANA0.164852430555552NA
499.82NANA0.405373263888894NA
599.99NANA0.498810763888895NA
6100.33NANA0.522664930555561NA
799.3199.4246440972222100.110833333333-0.686189236111111-0.114644097222211
8101.1101.014123263889100.340.6741232638888950.0858767361111177
9101.1100.815998263889100.54750.2684982638888800.284001736111122
10100.93100.777977430556100.7441666666670.03381076388888770.152022569444455
11100.85100.883498263889100.965416666667-0.0819184027777874-0.0334982638888874
12100.93101.026414930556101.18375-0.157335069444439-0.0964149305555253
1399.699.4352690972222101.387916666667-1.952647569444440.164730902777777
14101.88101.897039930556101.5870833333330.309956597222212-0.0170399305555406
15101.81101.929019097222101.7641666666670.164852430555552-0.119019097222207
16102.38102.320789930556101.9154166666670.4053732638888940.059210069444461
17102.74102.572560763889102.073750.4988107638888950.167439236111107
18102.82102.769331597222102.2466666666670.5226649305555610.0506684027777737
19101.72101.718394097222102.404583333333-0.6861892361111110.00160590277776862
20103.47103.224539930556102.5504166666670.6741232638888950.245460069444434
21102.98102.972248263889102.703750.2684982638888800.00775173611110347
22102.68102.891310763889102.85750.0338107638888877-0.211310763888889
23102.9102.907248263889102.989166666667-0.0819184027777874-0.00724826388888289
24103.03102.943498263889103.100833333333-0.1573350694444390.0865017361111171
25101.29101.259435763889103.212083333333-1.952647569444440.0305642361111182
26103.69103.627039930556103.3170833333330.3099565972222120.0629600694444576
27103.68103.593185763889103.4283333333330.1648524305555520.0868142361111097
28104.2103.989956597222103.5845833333330.4053732638888940.210043402777785
29104.08104.300894097222103.8020833333330.498810763888895-0.220894097222214
30104.16104.580998263889104.0583333333330.522664930555561-0.42099826388889
31103.05103.654227430556104.340416666667-0.686189236111111-0.604227430555554
32104.66105.319539930556104.6454166666670.674123263888895-0.659539930555553
33104.46105.259748263889104.991250.268498263888880-0.799748263888901
34104.95105.391727430556105.3579166666670.0338107638888877-0.441727430555559
35105.85105.674331597222105.75625-0.08191840277778740.175668402777788
36106.23106.069748263889106.227083333333-0.1573350694444390.160251736111121
37104.86104.777352430556106.73-1.952647569444440.0826475694444468
38107.44107.527456597222107.21750.309956597222212-0.0874565972222143
39108.23107.854435763889107.6895833333330.1648524305555520.375564236111117
40108.45108.542873263889108.13750.405373263888894-0.092873263888876
41109.39108.988394097222108.4895833333330.4988107638888950.401605902777789
42110.15109.274331597222108.7516666666670.5226649305555610.87566840277779
43109.13108.277144097222108.963333333333-0.6861892361111110.852855902777776
44110.28109.816206597222109.1420833333330.6741232638888950.463793402777782
45110.17109.526414930556109.2579166666670.2684982638888800.643585069444455
46109.99109.353394097222109.3195833333330.03381076388888770.636605902777774
47109.26109.259331597222109.34125-0.08191840277778740.000668402777790789
48109.11109.124748263889109.282083333333-0.157335069444439-0.0147482638888903
49107.06107.202352430556109.155-1.95264756944444-0.142352430555547
50109.53109.352873263889109.0429166666670.3099565972222120.177126736111106
51108.92109.127769097222108.9629166666670.164852430555552-0.207769097222226
52109.24109.280789930556108.8754166666670.405373263888894-0.0407899305555475
53109.12109.332560763889108.833750.498810763888895-0.212560763888888
54109109.369748263889108.8470833333330.522664930555561-0.36974826388888
55107.23NANA-0.686189236111111NA
56109.49NANA0.674123263888895NA
57109.04NANA0.268498263888880NA
58109.02NANA0.0338107638888877NA
59109.23NANA-0.0819184027777874NA
60109.46NANA-0.157335069444439NA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/13/t1292245883mas1tapeqwpl3ax/1c7ec1292245916.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/13/t1292245883mas1tapeqwpl3ax/1c7ec1292245916.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/13/t1292245883mas1tapeqwpl3ax/25hvy1292245916.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/13/t1292245883mas1tapeqwpl3ax/25hvy1292245916.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/13/t1292245883mas1tapeqwpl3ax/35hvy1292245916.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/13/t1292245883mas1tapeqwpl3ax/35hvy1292245916.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/13/t1292245883mas1tapeqwpl3ax/4x8ui1292245916.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/13/t1292245883mas1tapeqwpl3ax/4x8ui1292245916.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