Home » date » 2010 » Dec » 12 »

Klassieke ontbinding

*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: Sun, 12 Dec 2010 17:12:29 +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/12/t1292173863pn84u7q1wnrcm99.htm/, Retrieved Sun, 12 Dec 2010 18:11:07 +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/12/t1292173863pn84u7q1wnrcm99.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 «
63.152 60.106 72.616 73.159 68.848 77.056 62.246 60.777 64.513 58.353 56.511 44.554 71.414 65.719 80.997 69.826 65.386 75.589 65.520 59.003 63.961 59.716 57.520 42.886 69.805 64.656 80.353 71.321 76.577 81.580 71.127 63.478 48.152 69.236 57.038 43.621 69.551 72.009 72.140 81.519 73.310 80.406 70.697 59.328 68.281 70.041 51.244 46.538 61.443 62.256 73.117 74.155 65.191 77.889 68.688 59.983 65.470 65.089 54.795 47.123
 
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
163.152NANA2.44608333333333NA
260.106NANA0.493999999999997NA
372.616NANA10.9840520833333NA
473.159NANA8.45741666666667NA
568.848NANA4.31587500000001NA
677.056NANA13.0569895833333NA
762.24665.691947916666763.83516666666671.85678125-3.44594791666666
860.77759.514479166666764.4132916666667-4.89881251.26252083333333
964.51360.650197916666764.996375-4.346177083333333.86280208333334
1058.35363.954687565.2067083333333-1.25202083333334-5.6016875
1156.51154.9410312564.9235833333333-9.982552083333341.56996875
1244.55443.586572916666764.7182083333333-21.13163541666670.967427083333334
1371.41467.239583333333364.79352.446083333333334.17441666666669
1465.71965.3564.8560.4939999999999970.369
1580.99775.743135416666764.759083333333310.98405208333335.25386458333334
1669.82673.250291666666764.7928758.45741666666667-3.42429166666667
1765.38669.207583333333364.89170833333334.31587500000001-3.82158333333334
1875.58977.921239583333364.8642513.0569895833333-2.33223958333332
1965.5266.584489583333364.72770833333331.85678125-1.06448958333333
2059.00359.717562564.616375-4.8988125-0.714562499999992
2163.96160.199072916666764.54525-4.346177083333333.76192708333333
2259.71663.328687564.5807083333333-1.25202083333334-3.61268749999999
2357.5255.126739583333365.1092916666667-9.982552083333342.39326041666668
2442.88644.693572916666765.8252083333333-21.1316354166667-1.80757291666666
2569.80568.754541666666766.30845833333332.446083333333331.05045833333334
2664.65667.222541666666766.72854166666670.493999999999997-2.56654166666667
2780.35377.2403437566.256291666666710.98405208333333.11265625
2871.32174.451666666666765.994258.45741666666667-3.13066666666666
2976.57770.686708333333366.37083333333334.315875000000015.89029166666667
3081.5879.438364583333366.38137513.05698958333332.14163541666667
3171.12768.258197916666766.40141666666671.856781252.86880208333334
3263.47861.798395833333366.6972083333333-4.89881251.67960416666668
3348.15262.315197916666766.661375-4.34617708333333-14.1631979166667
3469.23665.492062566.7440833333333-1.252020833333343.7439375
3557.03857.050322916666767.032875-9.98255208333334-0.0123229166666761
3643.62145.716197916666766.8478333333333-21.1316354166667-2.09519791666666
3769.55169.227083333333366.7812.446083333333330.323916666666662
3872.00967.084166666666766.59016666666670.4939999999999974.92483333333334
3972.1478.240010416666767.255958333333310.9840520833333-6.10001041666666
4081.51976.58562568.12820833333338.457416666666674.93337500000001
4173.3172.236208333333367.92033333333334.315875000000011.07379166666668
4280.40680.857447916666767.800458333333313.0569895833333-0.451447916666666
4370.69769.440947916666767.58416666666671.856781251.25605208333334
4459.32861.941145833333366.8399583333333-4.8988125-2.61314583333332
4568.28162.128114583333366.4742916666667-4.346177083333336.15288541666668
4670.04164.956145833333366.2081666666667-1.252020833333345.08485416666666
4751.24455.580489583333365.5630416666667-9.98255208333334-4.33648958333333
4846.53843.988239583333365.119875-21.13163541666672.54976041666667
4961.44367.37737564.93129166666672.44608333333333-5.934375
5062.25665.36887564.8748750.493999999999997-3.112875
5173.11775.7690937564.785041666666710.9840520833333-2.65209375000001
5274.15572.91964.46158333333338.457416666666671.23600000000000
5365.19168.719083333333364.40320833333334.31587500000001-3.52808333333333
5477.88977.6325312564.575541666666713.05698958333330.256468749999996
5568.688NANA1.85678125NA
5659.983NANA-4.8988125NA
5765.47NANA-4.34617708333333NA
5865.089NANA-1.25202083333334NA
5954.795NANA-9.98255208333334NA
6047.123NANA-21.1316354166667NA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/12/t1292173863pn84u7q1wnrcm99/1vd3q1292173946.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/12/t1292173863pn84u7q1wnrcm99/1vd3q1292173946.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/12/t1292173863pn84u7q1wnrcm99/2vd3q1292173946.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/12/t1292173863pn84u7q1wnrcm99/2vd3q1292173946.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/12/t1292173863pn84u7q1wnrcm99/3onkt1292173946.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/12/t1292173863pn84u7q1wnrcm99/3onkt1292173946.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/12/t1292173863pn84u7q1wnrcm99/4onkt1292173946.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/12/t1292173863pn84u7q1wnrcm99/4onkt1292173946.ps (open in new window)


 
Parameters (Session):
par1 = aantal aanvragen nieuwe kentekenplaten ; par4 = 12 ;
 
Parameters (R input):
par1 = additive ; par2 = 12 ; par4 = 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