Home » date » 2009 » Jun » 01 »

decompositie-financiële situatie Belgische gezinnen-Robin Sluyts

*Unverified author*
R Software Module: rwasp_decompose.wasp (opens new window with default values)
Title produced by software: Classical Decomposition
Date of computation: Mon, 01 Jun 2009 11:49:12 -0600
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2009/Jun/01/t12438786004cpw6yy638zcqnc.htm/, Retrieved Mon, 01 Jun 2009 19:50:04 +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/2009/Jun/01/t12438786004cpw6yy638zcqnc.htm/},
    year = {2009},
}
@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 = {2009},
    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 «
1 -1 3 4 3 2 1 4 3 5 6 6 6 6 6 5 6 5 6 5 7 4 5 6 6 5 3 2 3 3 2 0 4 4 5 6 6 5 5 3 5 5 5 3 6 6 4 6 5 4 5 5 4 3 2 3 2 -1 0 -2 1 -2 -2 -2 -6 -4 -2 0 -5 -4 -5 -1
 
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
11NANA1.34652777777778NA
2-1NANA0.204861111111111NA
33NANA0.104861111111111NA
44NANA-0.553472222222222NA
53NANA-0.586805555555556NA
62NANA-0.436805555555556NA
712.563194444444443.29166666666667-0.728472222222222-1.56319444444444
842.871527777777783.79166666666667-0.9201388888888891.12847222222222
934.738194444444444.208333333333330.529861111111111-1.73819444444444
1054.196527777777784.375-0.1784722222222220.803472222222222
1164.888194444444444.541666666666670.3465277777777781.11180555555556
1265.663194444444444.791666666666670.8715277777777780.336805555555556
1366.471527777777785.1251.34652777777778-0.471527777777778
1465.579861111111115.3750.2048611111111110.420138888888888
1565.688194444444445.583333333333330.1048611111111110.311805555555556
1655.154861111111115.70833333333333-0.553472222222222-0.154861111111111
1765.038194444444445.625-0.5868055555555560.961805555555555
1855.146527777777785.58333333333333-0.436805555555556-0.146527777777777
1964.854861111111115.58333333333333-0.7284722222222221.14513888888889
2054.621527777777785.54166666666667-0.9201388888888890.378472222222222
2175.904861111111115.3750.5298611111111111.09513888888889
2244.946527777777785.125-0.178472222222222-0.946527777777777
2355.221527777777784.8750.346527777777778-0.221527777777778
2465.538194444444444.666666666666670.8715277777777780.461805555555557
2565.763194444444444.416666666666671.346527777777780.236805555555555
2654.246527777777784.041666666666670.2048611111111110.753472222222222
2733.813194444444443.708333333333330.104861111111111-0.813194444444444
2823.029861111111113.58333333333333-0.553472222222222-1.02986111111111
2932.996527777777783.58333333333333-0.5868055555555560.00347222222222232
3033.146527777777783.58333333333333-0.436805555555556-0.146527777777778
3122.854861111111113.58333333333333-0.728472222222222-0.85486111111111
3202.663194444444443.58333333333333-0.920138888888889-2.66319444444444
3344.196527777777783.666666666666670.529861111111111-0.196527777777778
3443.613194444444443.79166666666667-0.1784722222222220.386805555555555
3554.263194444444443.916666666666670.3465277777777780.736805555555556
3664.954861111111114.083333333333330.8715277777777781.04513888888889
3765.638194444444444.291666666666671.346527777777780.361805555555556
3854.746527777777784.541666666666670.2048611111111110.253472222222222
3954.854861111111114.750.1048611111111110.145138888888889
4034.363194444444444.91666666666667-0.553472222222222-1.36319444444444
4154.371527777777784.95833333333333-0.5868055555555560.628472222222223
4254.479861111111114.91666666666667-0.4368055555555560.52013888888889
4354.146527777777784.875-0.7284722222222220.853472222222222
4433.871527777777784.79166666666667-0.920138888888889-0.871527777777777
4565.279861111111114.750.5298611111111110.72013888888889
4664.654861111111114.83333333333333-0.1784722222222221.34513888888889
4745.221527777777784.8750.346527777777778-1.22152777777778
4865.621527777777784.750.8715277777777780.378472222222222
4955.888194444444444.541666666666671.34652777777778-0.888194444444445
5044.621527777777784.416666666666670.204861111111111-0.621527777777777
5154.354861111111114.250.1048611111111110.645138888888889
5253.238194444444443.79166666666667-0.5534722222222221.76180555555556
5342.746527777777783.33333333333333-0.5868055555555561.25347222222222
5432.396527777777782.83333333333333-0.4368055555555560.603472222222222
5521.604861111111112.33333333333333-0.7284722222222220.395138888888889
5630.9965277777777771.91666666666667-0.9201388888888892.00347222222222
5721.904861111111111.3750.5298611111111110.0951388888888889
58-10.6131944444444440.791666666666667-0.178472222222222-1.61319444444444
5900.4298611111111110.08333333333333340.346527777777778-0.429861111111111
60-20.246527777777778-0.6250.871527777777778-2.24652777777778
6110.263194444444444-1.083333333333331.346527777777780.736805555555556
62-2-1.17013888888889-1.3750.204861111111111-0.829861111111111
63-2-1.68680555555556-1.791666666666670.104861111111111-0.313194444444444
64-2-2.76180555555556-2.20833333333333-0.5534722222222220.761805555555555
65-6-3.12847222222222-2.54166666666667-0.586805555555556-2.87152777777778
66-4-3.14513888888889-2.70833333333333-0.436805555555556-0.854861111111112
67-2NANA-0.728472222222222NA
680NANA-0.920138888888889NA
69-5NANA0.529861111111111NA
70-4NANA-0.178472222222222NA
71-5NANA0.346527777777778NA
72-1NANA0.871527777777778NA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/01/t12438786004cpw6yy638zcqnc/1jd1f1243878549.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/01/t12438786004cpw6yy638zcqnc/1jd1f1243878549.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/01/t12438786004cpw6yy638zcqnc/2oruu1243878549.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/01/t12438786004cpw6yy638zcqnc/2oruu1243878549.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/01/t12438786004cpw6yy638zcqnc/3tvrs1243878549.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/01/t12438786004cpw6yy638zcqnc/3tvrs1243878549.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/01/t12438786004cpw6yy638zcqnc/4nirs1243878549.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/01/t12438786004cpw6yy638zcqnc/4nirs1243878549.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