Home » date » 2008 » May » 17 » attachments

werkloosheid voor jongeren -25jaar (kwartalen, 20 jaar), Jonas Janssens, MAR 202 B

R Software Module: rwasp_decompose.wasp (opens new window with default values)
Title produced by software: Classical Decomposition
Date of computation: Sat, 17 May 2008 12:04:05 -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/17/t1211047531tphrobtu1ky05cu.htm/, Retrieved Sat, 17 May 2008 20:05:38 +0200
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
18,3 15,3 18,6 18,2 16,1 13,1 16,5 16,5 14,7 12,1 15,7 15,7 14 11,7 15,2 15,6 14,3 12,5 16,6 18,1 18,5 17,6 22,6 23,9 23,2 20,6 24,2 24,5 22,9 20,4 23,9 24,1 22,3 19,5 23,3 23,4 21,8 19,8 23,3 23,2 21,2 19 23,8 24,3 23,1 21,6 22,2 17,4 15,6 14,5 20,3 16,1 14,1 15,3 17,8 19,6 17,8 15,7 18,9 18,4 20,8 19 24,5 22,6 19,6 17,5 25 22,3 20,5 19,9 23,4 22,1 20 18,9 23 20 18,6 19,2 20,3 17,8
 
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 time2 seconds
R Server'George Udny Yule' @ 72.249.76.132


Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
118.3NANA-0.426736111111112NA
215.3NANA-2.23645833333333NA
318.619.030902777777817.3251.70590277777778-0.430902777777778
418.217.732291666666716.7750.9572916666666670.467708333333331
516.115.810763888888916.2375-0.4267361111111120.289236111111112
613.113.526041666666715.7625-2.23645833333333-0.426041666666668
716.517.080902777777815.3751.70590277777778-0.580902777777778
816.516.032291666666715.0750.9572916666666670.467708333333334
914.714.423263888888914.85-0.4267361111111120.276736111111111
1012.112.413541666666714.65-2.23645833333333-0.313541666666666
1115.716.168402777777814.46251.70590277777778-0.468402777777779
1215.715.282291666666714.3250.9572916666666670.417708333333334
131413.785763888888914.2125-0.4267361111111120.214236111111111
1411.711.901041666666714.1375-2.23645833333333-0.201041666666669
1515.215.868402777777814.16251.70590277777778-0.66840277777778
1615.615.257291666666714.30.9572916666666670.342708333333334
1714.314.148263888888914.575-0.4267361111111120.151736111111111
1812.512.826041666666715.0625-2.23645833333333-0.326041666666667
1916.617.605902777777815.91.70590277777778-1.00590277777778
2018.118.019791666666717.06250.9572916666666670.080208333333335
2118.518.023263888888918.45-0.4267361111111120.476736111111112
2217.617.688541666666719.925-2.23645833333333-0.0885416666666643
2322.622.943402777777821.23751.70590277777778-0.343402777777776
2423.923.157291666666722.20.9572916666666670.742708333333333
2523.222.348263888888922.775-0.4267361111111120.851736111111109
2620.620.813541666666723.05-2.23645833333333-0.213541666666664
2724.224.793402777777823.08751.70590277777778-0.593402777777776
2824.523.982291666666723.0250.9572916666666670.517708333333335
2922.922.535763888888922.9625-0.4267361111111120.364236111111111
3020.420.638541666666722.875-2.23645833333333-0.238541666666666
3123.924.455902777777822.751.70590277777778-0.555902777777778
3224.123.519791666666722.56250.9572916666666670.580208333333335
3322.321.948263888888922.375-0.4267361111111120.351736111111109
3419.519.976041666666722.2125-2.23645833333333-0.476041666666664
3523.323.768402777777822.06251.70590277777778-0.468402777777776
3623.422.994791666666722.03750.9572916666666670.405208333333331
3721.821.648263888888922.075-0.4267361111111120.151736111111109
3819.819.813541666666722.05-2.23645833333333-0.013541666666665
3923.323.655902777777821.951.70590277777778-0.355902777777775
4023.222.732291666666721.7750.9572916666666670.467708333333331
4121.221.310763888888921.7375-0.426736111111112-0.11076388888889
421919.701041666666721.9375-2.23645833333333-0.701041666666665
4323.824.018402777777822.31251.70590277777778-0.218402777777776
4424.323.832291666666722.8750.9572916666666670.467708333333334
4523.122.573263888888923-0.4267361111111120.526736111111109
4621.619.701041666666721.9375-2.236458333333331.89895833333334
4722.221.843402777777820.13751.705902777777780.356597222222224
4817.419.269791666666718.31250.957291666666667-1.86979166666667
4915.616.760763888888917.1875-0.426736111111112-1.16076388888889
5014.514.551041666666716.7875-2.23645833333333-0.0510416666666664
5120.318.143402777777816.43751.705902777777782.15659722222222
5216.117.307291666666716.350.957291666666667-1.20729166666667
5314.115.710763888888916.1375-0.426736111111112-1.61076388888889
5415.314.026041666666716.2625-2.236458333333331.27395833333333
5517.818.868402777777817.16251.70590277777778-1.06840277777777
5619.618.632291666666717.6750.9572916666666670.967708333333334
5717.817.435763888888917.8625-0.4267361111111120.364236111111111
5815.715.613541666666717.85-2.236458333333330.0864583333333364
5918.919.780902777777818.0751.70590277777778-0.880902777777777
6018.419.819791666666718.86250.957291666666667-1.41979166666667
6120.819.548263888888919.975-0.4267361111111121.25173611111111
621918.963541666666721.2-2.236458333333330.0364583333333357
6324.523.280902777777821.5751.705902777777781.21909722222222
6422.622.194791666666721.23750.9572916666666670.405208333333334
6519.620.685763888888921.1125-0.426736111111112-1.08576388888889
6617.518.901041666666721.1375-2.23645833333333-1.40104166666666
672522.918402777777821.21251.705902777777782.08159722222222
6822.322.582291666666721.6250.957291666666667-0.282291666666666
6920.521.298263888888921.725-0.426736111111112-0.798263888888886
7019.919.263541666666721.5-2.236458333333330.636458333333334
7123.423.118402777777821.41251.705902777777780.281597222222221
7222.122.182291666666721.2250.957291666666667-0.0822916666666629
732020.623263888888921.05-0.426736111111112-0.623263888888889
7418.918.501041666666720.7375-2.236458333333330.398958333333333
752322.005902777777820.31.705902777777780.994097222222226
762021.119791666666720.16250.957291666666667-1.11979166666667
7718.619.435763888888919.8625-0.426736111111112-0.835763888888888
7819.217.013541666666719.25-2.236458333333332.18645833333333
7920.3NANA1.70590277777778NA
8017.8NANA0.957291666666667NA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/17/t1211047531tphrobtu1ky05cu/1bs5o1211047443.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/17/t1211047531tphrobtu1ky05cu/1bs5o1211047443.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/17/t1211047531tphrobtu1ky05cu/20t1o1211047443.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/17/t1211047531tphrobtu1ky05cu/20t1o1211047443.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/17/t1211047531tphrobtu1ky05cu/327gx1211047443.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/17/t1211047531tphrobtu1ky05cu/327gx1211047443.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/17/t1211047531tphrobtu1ky05cu/47e7e1211047443.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/17/t1211047531tphrobtu1ky05cu/47e7e1211047443.ps (open in new window)


 
Parameters (Session):
par1 = additive ; par2 = 4 ;
 
Parameters (R input):
par1 = additive ; par2 = 4 ;
 
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