Home » date » 2008 » May » 21 »

inschrijvingsgeld studenten-additief model-Natalie Van Nylen

R Software Module: rwasp_decompose.wasp (opens new window with default values)
Title produced by software: Classical Decomposition
Date of computation: Wed, 21 May 2008 07:15:25 -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/21/t1211375814gh7tngdezfa1oe3.htm/, Retrieved Wed, 21 May 2008 15:16:54 +0200
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
513,13 513,13 513,13 513,13 513,13 513,13 513,13 513,13 513,13 527,96 527,96 527,96 527,96 527,96 527,96 527,96 527,96 527,96 527,96 527,96 527,96 536,61 536,61 536,61 536,61 536,61 536,61 536,61 536,61 536,61 536,61 536,61 536,61 545,06 545,06 545,06 545,06 545,06 545,06 545,06 545,06 545,06 545,06 545,06 545,06 564,24 564,24 564,24 564,24 564,24 564,24 564,24 564,24 564,24 564,24 564,24 564,24 573,68 573,68 573,68 573,68 573,68 573,68 573,68 573,68 573,68 573,68 573,68 573,68 576,3 576,29 576,29 576,29 576,29 576,29 576,29 576,29 576,3 576,29 576,3 576,29 589,85 589,85 589,85 589,85 589,85 589,85 589,85 589,85 589,85 589,85 589,85 589,85 599,12 599,12 599,12
 
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 time3 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
1513.13NANA2.18614583333334NA
2513.13NANA1.30885416666666NA
3513.13NANA0.431562500000003NA
4513.13NANA-0.436840277777776NA
5513.13NANA-1.29642361111109NA
6513.13NANA-2.15434027777775NA
7513.13514.439826388889517.455416666667-3.01559027777777-1.30982638888884
8513.13514.817743055556518.69125-3.87350694444446-1.68774305555553
9513.13515.192326388889519.927083333333-4.73475694444445-2.06232638888878
10527.96525.885243055556521.1629166666674.722326388888882.07475694444452
11527.96526.259826388889522.398753.861076388888891.70017361111115
12527.96526.636076388889523.6345833333333.001493055555521.32392361111113
13527.96527.0565625524.8704166666672.186145833333340.90343750000011
14527.96527.415104166667526.106251.308854166666660.544895833333385
15527.96527.773645833333527.3420833333330.4315625000000030.186354166666661
16527.96527.883576388889528.320416666667-0.4368402777777760.0764236111110677
17527.96527.744826388889529.04125-1.296423611111090.215173611111140
18527.96527.607743055556529.762083333333-2.154340277777750.352256944444434
19527.96527.467326388889530.482916666667-3.015590277777770.492673611111059
20527.96527.330243055556531.20375-3.873506944444460.629756944444466
21527.96527.189826388889531.924583333333-4.734756944444450.77017361111109
22536.61537.367743055556532.6454166666674.72232638888888-0.75774305555558
23536.61537.227326388889533.366253.86107638888889-0.617326388888955
24536.61537.088576388889534.0870833333333.00149305555552-0.478576388888882
25536.61536.9940625534.8079166666672.18614583333334-0.384062500000027
26536.61536.837604166667535.528751.30885416666666-0.227604166666652
27536.61536.681145833333536.2495833333330.431562500000003-0.0711458333332757
28536.61536.525243055555536.962083333333-0.4368402777777760.0847569444446208
29536.61536.369826388889537.66625-1.296423611111090.240173611111231
30536.61536.216076388889538.370416666667-2.154340277777750.393923611111290
31536.61536.058993055555539.074583333333-3.015590277777770.551006944444566
32536.61535.905243055555539.77875-3.873506944444460.704756944444625
33536.61535.748159722222540.482916666666-4.734756944444450.861840277778015
34545.06545.909409722222541.1870833333334.72232638888888-0.849409722222049
35545.06545.752326388889541.891253.86107638888889-0.692326388888887
36545.06545.596909722222542.5954166666673.00149305555552-0.536909722222163
37545.06545.485729166667543.2995833333332.18614583333334-0.425729166666656
38545.06545.312604166667544.003751.30885416666666-0.252604166666629
39545.06545.139479166667544.7079166666670.431562500000003-0.0794791666667152
40545.06545.422326388889545.859166666667-0.436840277777776-0.362326388888960
41545.06546.161076388889547.4575-1.29642361111109-1.10107638888894
42545.06546.901493055556549.055833333333-2.15434027777775-1.84149305555570
43545.06547.638576388889550.654166666667-3.01559027777777-2.57857638888902
44545.06548.378993055556552.2525-3.87350694444446-3.31899305555567
45545.06549.116076388889553.850833333333-4.73475694444445-4.05607638888887
46564.24560.171493055556555.4491666666674.722326388888884.06850694444449
47564.24560.908576388889557.04753.861076388888893.33142361111118
48564.24561.647326388889558.6458333333333.001493055555522.59267361111119
49564.24562.4303125560.2441666666672.186145833333341.80968750000022
50564.24563.151354166667561.84251.308854166666661.08864583333354
51564.24563.872395833333563.4408333333330.4315625000000030.367604166666752
52564.24564.196493055555564.633333333333-0.4368402777777760.0435069444445162
53564.24564.123576388889565.42-1.296423611111090.116423611111259
54564.24564.052326388889566.206666666666-2.154340277777750.187673611111222
55564.24563.977743055555566.993333333333-3.015590277777770.262256944444516
56564.24563.906493055555567.78-3.873506944444460.333506944444594
57564.24563.831909722222568.566666666666-4.734756944444450.408090277778001
58573.68574.075659722222569.3533333333334.72232638888888-0.395659722222149
59573.68574.001076388889570.143.86107638888889-0.321076388888855
60573.68573.928159722222570.9266666666673.00149305555552-0.248159722222226
61573.68573.899479166667571.7133333333332.18614583333334-0.219479166666702
62573.68573.808854166667572.51.30885416666666-0.128854166666770
63573.68573.718229166667573.2866666666670.431562500000003-0.0382291666667243
64573.68573.352326388889573.789166666667-0.4368402777777760.327673611111209
65573.68572.710659722222574.007083333333-1.296423611111090.969340277777746
66573.68572.070243055555574.224583333333-2.154340277777751.60975694444448
67573.68571.426493055556574.442083333333-3.015590277777772.25350694444444
68573.68570.786076388889574.659583333333-3.873506944444462.89392361111106
69573.68570.142326388889574.877083333333-4.734756944444453.53767361111113
70576.3579.816909722222575.0945833333334.72232638888888-3.51690972222218
71576.29579.173159722222575.3120833333333.86107638888889-2.88315972222222
72576.29578.531493055555575.533.00149305555552-2.24149305555545
73576.29577.9340625575.7479166666662.18614583333334-1.64406249999979
74576.29577.2746875575.9658333333331.30885416666666-0.984687499999723
75576.29576.6153125576.183750.431562500000003-0.325312499999882
76576.29576.420243055555576.857083333333-0.436840277777776-0.130243055555525
77576.29576.690243055555577.986666666666-1.29642361111109-0.400243055555393
78576.3576.962326388889579.116666666666-2.15434027777775-0.6623263888888
79576.29577.231076388889580.246666666666-3.01559027777777-0.941076388888746
80576.3577.503159722222581.376666666667-3.87350694444446-1.20315972222215
81576.29577.771909722222582.506666666667-4.73475694444445-1.4819097222221
82589.85588.358993055555583.6366666666674.722326388888881.49100694444462
83589.85588.627743055555584.7666666666673.861076388888891.22225694444455
84589.85588.897743055556585.896253.001493055555520.952256944444343
85589.85589.211979166667587.0258333333332.186145833333340.638020833333258
86589.85589.464270833334588.1554166666671.308854166666660.385729166666465
87589.85589.7165625589.2850.4315625000000030.1334374999999
88589.85589.799409722222590.23625-0.4368402777777760.050590277777701
89589.85589.712326388889591.00875-1.296423611111090.137673611110927
90589.85589.626909722222591.78125-2.154340277777750.223090277777715
91589.85NANA-3.01559027777777NA
92589.85NANA-3.87350694444446NA
93589.85NANA-4.73475694444445NA
94599.12NANA4.72232638888888NA
95599.12NANA3.86107638888889NA
96599.12NANA3.00149305555552NA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/21/t1211375814gh7tngdezfa1oe3/14r4w1211375720.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/21/t1211375814gh7tngdezfa1oe3/14r4w1211375720.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/21/t1211375814gh7tngdezfa1oe3/2sym71211375720.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/21/t1211375814gh7tngdezfa1oe3/2sym71211375720.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/21/t1211375814gh7tngdezfa1oe3/39aj11211375720.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/21/t1211375814gh7tngdezfa1oe3/39aj11211375720.ps (open in new window)


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