Home » date » 2010 » Aug » 16 »

Aantal bezoekers

*Unverified author*
R Software Module: /rwasp_decompose.wasp (opens new window with default values)
Title produced by software: Classical Decomposition
Date of computation: Mon, 16 Aug 2010 11:34:53 +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/Aug/16/t1281958976bvarsv25dyt342i.htm/, Retrieved Mon, 16 Aug 2010 13:43:01 +0200
 
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/Aug/16/t1281958976bvarsv25dyt342i.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 «
556 555 554 552 572 571 556 546 547 547 548 550 555 549 555 550 566 573 543 535 542 541 535 536 548 546 548 548 561 563 527 527 541 534 522 527 539 533 532 519 538 542 503 502 522 511 492 500 509 511 505 493 518 518 474 471 483 461 439 446 461 449 441 424 447 448 404 403 411 386 359 370 385 369 368 352 378 383 334 323 330 303 275 284 301 281 284 272 297 300 240 236 247 218 192 201 223 197 195 175 197 204 142 142 151 127 100 114 139 112 123 108 132 140 76 71 81 57 38 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
1556NANA7.31211419753087NA
2555NANA-0.822145061728389NA
3554NANA3.97878086419752NA
4552NANA-3.81751543209876NA
5572NANA22.2565586419753NA
6571NANA31.0621141975309NA
7556544.349151234568554.458333333333-10.109182098765411.6508487654322
8546543.816743827161554.166666666667-10.34992283950622.18325617283961
9547557.543595679012553.9583333333333.585262345679-10.5435956790124
10547545.330632716049553.916666666667-8.586033950617291.66936728395069
11548530.645447530864553.583333333333-22.937885802469117.3545524691358
12550541.844521604938553.416666666667-11.57214506172848.15547839506178
13555560.270447530864552.9583333333337.31211419753087-5.27044753086409
14549551.136188271605551.958333333333-0.822145061728389-2.13618827160485
15555555.270447530864551.2916666666673.97878086419752-0.270447530864203
16550547.015817901235550.833333333333-3.817515432098762.98418209876547
17566572.298225308642550.04166666666722.2565586419753-6.29822530864203
18573579.978780864197548.91666666666731.0621141975309-6.97878086419746
19543537.932484567901548.041666666667-10.10918209876545.06751543209884
20535537.275077160494547.625-10.3499228395062-2.27507716049377
21542550.793595679012547.2083333333333.585262345679-8.79359567901236
22541538.247299382716546.833333333333-8.586033950617292.75270061728406
23535523.603780864197546.541666666667-22.937885802469111.3962191358025
24536534.344521604938545.916666666667-11.57214506172841.65547839506178
25548552.145447530864544.8333333333337.31211419753087-4.1454475308642
26546543.011188271605543.833333333333-0.8221450617283892.98881172839515
27548547.437114197531543.4583333333333.978780864197520.562885802469054
28548539.307484567901543.125-3.817515432098768.69251543209873
29561564.548225308642542.29166666666722.2565586419753-3.54822530864192
30563572.437114197531541.37531.0621141975309-9.43711419753083
31527530.515817901235540.625-10.1091820987654-3.51581790123464
32527529.358410493827539.708333333333-10.3499228395062-2.35841049382714
33541542.085262345679538.53.585262345679-1.08526234567910
34534528.038966049383536.625-8.586033950617295.96103395061721
35522511.520447530864534.458333333333-22.937885802469110.4795524691358
36527521.052854938272532.625-11.57214506172845.94714506172841
37539538.062114197531530.757.312114197530870.937885802469168
38533527.886188271605528.708333333333-0.8221450617283895.11381172839504
39532530.853780864198526.8753.978780864197521.14621913580243
40519521.307484567901525.125-3.81751543209876-2.30748456790127
41538545.173225308642522.91666666666722.2565586419753-7.17322530864203
42542551.603780864197520.54166666666731.0621141975309-9.60378086419752
43503508.057484567901518.166666666667-10.1091820987654-5.05748456790116
44502505.650077160494516-10.3499228395062-3.65007716049377
45522517.543595679012513.9583333333333.5852623456794.45640432098776
46511503.163966049383511.75-8.586033950617297.83603395061738
47492486.895447530864509.833333333333-22.93788580246915.10455246913585
48500496.427854938272508-11.57214506172843.57214506172846
49509513.103780864197505.7916666666677.31211419753087-4.10378086419752
50511502.469521604938503.291666666667-0.8221450617283898.53047839506178
51505504.353780864197500.3753.978780864197520.646219135802539
52493492.849151234568496.666666666667-3.817515432098760.150848765432158
53518514.631558641975492.37522.25655864197533.36844135802477
54518518.978780864197487.91666666666731.0621141975309-0.97878086419746
55474473.557484567901483.666666666667-10.10918209876540.442515432098787
56471468.733410493827479.083333333333-10.34992283950622.26658950617286
57483477.418595679012473.8333333333333.5852623456795.58140432098764
58461459.705632716049468.291666666667-8.586033950617291.29436728395058
59439439.520447530864462.458333333333-22.9378858024691-0.520447530864146
60446445.011188271605456.583333333333-11.57214506172840.988811728395092
61461458.062114197531450.757.312114197530872.93788580246911
62449444.177854938272445-0.8221450617283894.82214506172841
63441443.145447530864439.1666666666673.97878086419752-2.14544753086420
64424429.224151234568433.041666666667-3.81751543209876-5.22415123456784
65447448.839891975309426.58333333333322.2565586419753-1.83989197530866
66448451.145447530864420.08333333333331.0621141975309-3.1454475308642
67404403.640817901235413.75-10.10918209876540.359182098765473
68403396.900077160494407.25-10.34992283950626.09992283950623
69411404.460262345679400.8753.5852623456796.53973765432107
70386386.247299382716394.833333333333-8.58603395061729-0.247299382716051
71359366.020447530864388.958333333333-22.9378858024691-7.02044753086415
72370371.802854938272383.375-11.5721450617284-1.80285493827159
73385385.062114197531377.757.31211419753087-0.0621141975308319
74369370.677854938272371.5-0.822145061728389-1.67785493827159
75368368.770447530864364.7916666666673.97878086419752-0.770447530864203
76352354.140817901235357.958333333333-3.81751543209876-2.14081790123453
77378373.25655864197535122.25655864197534.74344135802477
78383374.978780864198343.91666666666731.06211419753098.02121913580243
79334326.724151234568336.833333333333-10.10918209876547.27584876543204
80323319.316743827161329.666666666667-10.34992283950623.68325617283949
81330326.085262345679322.53.5852623456793.91473765432107
82303307.080632716049315.666666666667-8.58603395061729-4.08063271604942
83275286.020447530864308.958333333333-22.9378858024691-11.0204475308641
84284290.552854938272302.125-11.5721450617284-6.55285493827154
85301302.062114197531294.757.31211419753087-1.06211419753089
86281286.386188271605287.208333333333-0.822145061728389-5.38618827160491
87284284.103780864198280.1253.97878086419752-0.103780864197518
88272269.307484567901273.125-3.817515432098762.69251543209879
89297288.381558641975266.12522.25655864197538.61844135802477
90300290.270447530864259.20833333333331.06211419753099.7295524691358
91240242.390817901235252.5-10.1091820987654-2.39081790123453
92236235.400077160494245.75-10.34992283950620.599922839506206
93247242.126929012346238.5416666666673.5852623456794.87307098765436
94218222.205632716049230.791666666667-8.58603395061729-4.20563271604937
95192199.645447530864222.583333333333-22.9378858024691-7.64544753086417
96201202.844521604938214.416666666667-11.5721450617284-1.84452160493828
97223213.645447530864206.3333333333337.312114197530879.35455246913585
98197197.511188271605198.333333333333-0.822145061728389-0.511188271604965
99195194.395447530864190.4166666666673.978780864197520.604552469135825
100175178.807484567901182.625-3.81751543209876-3.80748456790124
101197197.25655864197517522.2565586419753-0.256558641975289
102204198.603780864198167.54166666666731.06211419753095.39621913580248
103142150.307484567901160.416666666667-10.1091820987654-8.30748456790121
104142143.025077160494153.375-10.3499228395062-1.02507716049382
105151150.418595679012146.8333333333333.5852623456790.581404320987701
106127132.455632716049141.041666666667-8.58603395061729-5.45563271604934
107100112.603780864197135.541666666667-22.9378858024691-12.6037808641975
108114118.594521604938130.166666666667-11.5721450617284-4.59452160493825
109139132.062114197531124.757.312114197530876.93788580246917
110112118.219521604938119.041666666667-0.822145061728389-6.21952160493825
111123117.145447530864113.1666666666673.978780864197525.85455246913583
112108103.515817901235107.333333333333-3.817515432098764.48418209876543
113132124.089891975309101.83333333333322.25655864197537.91010802469138
114140127.47878086419896.416666666666731.062114197530912.5212191358025
11576NANA-10.1091820987654NA
11671NANA-10.3499228395062NA
11781NANA3.585262345679NA
11857NANA-8.58603395061729NA
11938NANA-22.9378858024691NA
12046NANA-11.5721450617284NA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Aug/16/t1281958976bvarsv25dyt342i/1k6oj1281958489.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Aug/16/t1281958976bvarsv25dyt342i/1k6oj1281958489.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Aug/16/t1281958976bvarsv25dyt342i/2k6oj1281958489.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Aug/16/t1281958976bvarsv25dyt342i/2k6oj1281958489.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Aug/16/t1281958976bvarsv25dyt342i/3vfn41281958489.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Aug/16/t1281958976bvarsv25dyt342i/3vfn41281958489.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Aug/16/t1281958976bvarsv25dyt342i/4vfn41281958489.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Aug/16/t1281958976bvarsv25dyt342i/4vfn41281958489.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