Home » date » 2010 » Dec » 18 »

Paper Decomposition - Inschrijvingen voertuigen

*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, 18 Dec 2010 19:04:54 +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/18/t1292699076wr8o852fklb8tz6.htm/, Retrieved Sat, 18 Dec 2010 20:04:37 +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/18/t1292699076wr8o852fklb8tz6.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 «
130.678 120.877 137.114 134.406 120.262 130.846 120.343 98.881 115.678 120.796 94.261 89.151 119.880 131.468 155.089 149.581 122.788 143.900 112.115 109.600 117.446 118.456 101.901 89.940 129.143 126.102 143.048 142.258 131.011 146.471 114.073 114.642 118.226 111.338 108.701 80.512 146.865 137.179 166.536 137.070 127.090 139.966 122.243 109.097 116.591 111.964 109.754 77.609 138.445 127.901 156.615 133.264 143.521 152.139 131.523 113.925 86.495 127.877 107.017 78.716 138.278 144.238 143.679 159.932 136.781 148.173 125.673 105.573 122.405 128.045 94.467 85.573 121.501 125.074 144.979 142.120 124.213 144.407 125.170 109.267 122.354 122.589 104.982 90.542
 
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'RServer@AstonUniversity' @ vre.aston.ac.uk


Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
1130.678NANA8.5238420138889NA
2120.877NANA8.05986284722222NA
3137.114NANA27.6053767361111NA
4134.406NANA19.9263975694444NA
5120.262NANA6.70266145833333NA
6130.846NANA21.5605503472222NA
7120.343114.979022569444117.3245-2.345477430555565.36397743055556
898.881102.629647569444117.315875-14.6862274305556-3.74864756944444
9115.678107.923300347222118.506125-10.58282465277787.75469965277779
10120.796116.135529513889119.887375-3.751845486111114.66047048611112
1194.26199.729564236111120.624916666667-20.8953524305556-5.46856423611109
1289.15181.1571197916666121.274083333333-40.11696354166677.99388020833335
13119.88129.999008680556121.4751666666678.5238420138889-10.1190086805556
14131.468129.638821180556121.5789583333338.059862847222221.82917881944445
15155.089149.704626736111122.0992527.60537673611115.38437326388889
16149.581142.001814236111122.07541666666719.92639756944447.57918576388889
17122.788128.998911458333122.296256.70266145833333-6.21091145833333
18143.9144.208008680556122.64745833333321.5605503472222-0.30800868055556
19112.115120.720814236111123.066291666667-2.34547743055556-8.60581423611112
20109.6108.542439236111123.228666666667-14.68622743055561.05756076388889
21117.446111.920550347222122.503375-10.58282465277785.52544965277778
22118.456117.944696180556121.696541666667-3.751845486111110.511303819444436
23101.901100.838689236111121.734041666667-20.89535243055561.06231076388887
2489.9482.066828125122.183791666667-40.11696354166677.873171875
25129.143130.896342013889122.37258.5238420138889-1.7533420138889
26126.102130.724029513889122.6641666666678.05986284722222-4.62202951388886
27143.048150.512126736111122.9067527.6053767361111-7.4641267361111
28142.258142.569064236111122.64266666666719.9263975694444-0.311064236111093
29131.011129.332078125122.6294166666676.702661458333331.67892187500001
30146.471144.080467013889122.51991666666721.56055034722222.39053298611113
31114.073120.520022569444122.8655-2.34547743055556-6.44702256944443
32114.642109.379230902778124.065458333333-14.68622743055565.26276909722223
33118.226114.922842013889125.505666666667-10.58282465277783.30315798611113
34111.338122.516321180556126.268166666667-3.75184548611111-11.1783211805556
35108.701104.993272569444125.888625-20.89535243055563.70772743055556
3680.51285.3372447916666125.454208333333-40.1169635416667-4.82524479166665
37146.865134.047425347222125.5235833333338.523842013888912.8175746527778
38137.179133.692821180556125.6329583333338.059862847222223.48617881944443
39166.536152.939168402778125.33379166666727.605376736111113.5968315972222
40137.07145.218147569444125.2917519.9263975694444-8.14814756944443
41127.09132.064369791667125.3617083333336.70266145833333-4.97436979166665
42139.966146.845175347222125.28462521.5605503472222-6.8791753472222
43122.243122.467355902778124.812833333333-2.34547743055556-0.224355902777774
44109.097109.389189236111124.075416666667-14.6862274305556-0.292189236111085
45116.591112.692633680556123.275458333333-10.58282465277783.89836631944446
46111.964118.951654513889122.7035-3.75184548611111-6.98765451388888
47109.754102.334189236111123.229541666667-20.89535243055567.41981076388892
4877.60984.3044114583333124.421375-40.1169635416667-6.69541145833331
49138.445133.839092013889125.315258.52384201388894.60590798611112
50127.901133.962946180556125.9030833333338.05986284722222-6.06194618055552
51156.615152.455626736111124.8502527.60537673611114.15937326388891
52133.264144.185689236111124.25929166666719.9263975694444-10.9216892361111
53143.521131.510953125124.8082916666676.7026614583333312.010046875
54152.139146.300925347222124.74037521.56055034722225.83807465277778
55131.523122.434064236111124.779541666667-2.345477430555569.08893576388891
56113.925110.767064236111125.453291666667-14.68622743055563.15793576388893
5786.495115.012175347222125.595-10.5828246527778-28.5171753472222
58127.877122.415321180556126.167166666667-3.751845486111115.46167881944447
59107.017106.102147569444126.9975-20.89535243055560.91485243055557
6078.71686.434453125126.551416666667-40.1169635416667-7.718453125
61138.278134.666258680556126.1424166666678.52384201388893.61174131944445
62144.238133.610529513889125.5506666666678.0598628472222210.6274704861111
63143.679154.304293402778126.69891666666727.6053767361111-10.6252934027778
64159.932148.128564236111128.20216666666719.926397569444411.8034357638889
65136.781134.388911458333127.686256.702661458333332.39208854166668
66148.173149.009592013889127.44904166666721.5605503472222-0.83659201388889
67125.673124.690230902778127.035708333333-2.345477430555560.982769097222246
68105.573110.851939236111125.538166666667-14.6862274305556-5.27893923611113
69122.405114.211008680556124.793833333333-10.58282465277788.19399131944445
70128.045120.353987847222124.105833333333-3.751845486111117.69101215277777
7194.467101.944647569444122.84-20.8953524305556-7.47764756944446
7285.57382.042453125122.159416666667-40.11696354166673.530546875
73121.501130.505383680556121.9815416666678.5238420138889-9.00438368055555
74125.074130.174362847222122.11458.05986284722222-5.10036284722223
75144.979149.871668402778122.26629166666727.6053767361111-4.89266840277774
76142.12141.963230902778122.03683333333319.92639756944440.156769097222238
77124.213128.950286458333122.2476256.70266145833333-4.73728645833333
78144.407144.453342013889122.89279166666721.5605503472222-0.0463420138888893
79125.17NANA-2.34547743055556NA
80109.267NANA-14.6862274305556NA
81122.354NANA-10.5828246527778NA
82122.589NANA-3.75184548611111NA
83104.982NANA-20.8953524305556NA
8490.542NANA-40.1169635416667NA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/18/t1292699076wr8o852fklb8tz6/1dcwq1292699090.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/18/t1292699076wr8o852fklb8tz6/1dcwq1292699090.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/18/t1292699076wr8o852fklb8tz6/2dcwq1292699090.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/18/t1292699076wr8o852fklb8tz6/2dcwq1292699090.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/18/t1292699076wr8o852fklb8tz6/3dcwq1292699090.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/18/t1292699076wr8o852fklb8tz6/3dcwq1292699090.ps (open in new window)


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