Home » date » 2009 » Jun » 04 »

autocorrelation-financiële situatie van de Belgische gezinnen-Robin Sluyts

*Unverified author*
R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Thu, 04 Jun 2009 11:11:44 -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/04/t1244135673cetz1ldm6vbprz9.htm/, Retrieved Thu, 04 Jun 2009 19:14:33 +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/04/t1244135673cetz1ldm6vbprz9.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'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Autocorrelation Function
Time lag kACF(k)T-STATP-value
1-0.339707-2.86240.002761
20.0121820.10260.459265
3-0.166371-1.40190.082656
40.1170390.98620.163695
50.0777730.65530.257188
6-0.026727-0.22520.411234
70.0596350.50250.308437
8-0.096316-0.81160.209875
90.0382510.32230.374082
10-0.074946-0.63150.26487
110.0950250.80070.212989
120.0207230.17460.430939
130.0035690.03010.488047
14-0.144419-1.21690.113836
150.0300230.2530.400508
160.147441.24230.109098
17-0.213522-1.79920.038121
180.1039440.87580.192034
19-0.156748-1.32080.095407
200.0562220.47370.318573
21-0.052137-0.43930.330885
220.1302681.09770.138031
23-0.08718-0.73460.232505
24-0.113154-0.95350.171798
250.1085140.91440.181814
260.030720.25890.398249
270.0569320.47970.31645
28-0.06533-0.55050.291859
29-0.095531-0.8050.211766
300.0394040.3320.370425
310.1266231.06690.144805
32-0.074164-0.62490.267014
330.0913350.76960.222044
34-0.052304-0.44070.330377
350.0520660.43870.3311
36-0.143638-1.21030.115087
370.086850.73180.233346
380.1389111.17050.12286
39-0.069594-0.58640.279729
400.0079470.0670.473399
41-0.117929-0.99370.161875
420.1213791.02280.154947
430.0302940.25530.39963
44-0.052829-0.44510.328786
45-0.026616-0.22430.411595
46-0.100061-0.84310.200995
470.0650710.54830.292603
48-0.034834-0.29350.384991


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.339707-2.86240.002761
2-0.116684-0.98320.164425
3-0.230802-1.94480.027882
4-0.032044-0.270.393968
50.1008270.84960.199206
60.0294940.24850.402223
70.1219611.02770.153799
8-0.002094-0.01760.492987
9-0.004717-0.03970.484204
10-0.081371-0.68560.247584
110.0044220.03730.48519
120.0524650.44210.329889
130.0450380.37950.352726
14-0.114398-0.96390.169176
15-0.04938-0.41610.339302
160.1227341.03420.152282
17-0.20376-1.71690.045177
18-0.018561-0.15640.438083
19-0.115981-0.97730.165876
20-0.141664-1.19370.118288
21-0.07049-0.5940.277214
220.0942520.79420.214869
23-0.030114-0.25370.400211
24-0.129708-1.09290.139057
250.074090.62430.267218
260.1122560.94590.173707
270.0481660.40590.343036
280.0433730.36550.357923
29-0.102509-0.86380.195315
30-0.007258-0.06120.475702
310.0879730.74130.230487
32-0.048722-0.41050.341323
330.1316331.10920.135552
34-0.005887-0.04960.480288
350.0892380.75190.227288
36-0.112282-0.94610.173651
37-0.090252-0.76050.224744
380.0439110.370.356242
390.0333130.28070.389879
400.0575410.48490.314637
41-0.074304-0.62610.266628
420.0581850.49030.312724
430.0532560.44870.327493
44-0.063611-0.5360.296818
450.0466520.39310.347713
46-0.204805-1.72570.044374
47-0.084739-0.7140.238776
48-0.023892-0.20130.420513
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/04/t1244135673cetz1ldm6vbprz9/1zo421244135499.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/04/t1244135673cetz1ldm6vbprz9/1zo421244135499.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/04/t1244135673cetz1ldm6vbprz9/2na2g1244135499.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/04/t1244135673cetz1ldm6vbprz9/2na2g1244135499.ps (open in new window)


 
Parameters (Session):
par1 = 48 ; par2 = 1 ; par3 = 1 ; par4 = 0 ; par5 = 12 ;
 
Parameters (R input):
par1 = 48 ; par2 = 1 ; par3 = 1 ; par4 = 0 ; par5 = 12 ;
 
R code (references can be found in the software module):
if (par1 == 'Default') {
par1 = 10*log10(length(x))
} else {
par1 <- as.numeric(par1)
}
par2 <- as.numeric(par2)
par3 <- as.numeric(par3)
par4 <- as.numeric(par4)
par5 <- as.numeric(par5)
if (par2 == 0) {
x <- log(x)
} else {
x <- (x ^ par2 - 1) / par2
}
if (par3 > 0) x <- diff(x,lag=1,difference=par3)
if (par4 > 0) x <- diff(x,lag=par5,difference=par4)
bitmap(file='pic1.png')
racf <- acf(x,par1,main='Autocorrelation',xlab='lags',ylab='ACF')
dev.off()
bitmap(file='pic2.png')
rpacf <- pacf(x,par1,main='Partial Autocorrelation',xlab='lags',ylab='PACF')
dev.off()
(myacf <- c(racf$acf))
(mypacf <- c(rpacf$acf))
lengthx <- length(x)
sqrtn <- sqrt(lengthx)
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Autocorrelation Function',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Time lag k',header=TRUE)
a<-table.element(a,hyperlink('http://www.xycoon.com/basics.htm','ACF(k)','click here for more information about the Autocorrelation Function'),header=TRUE)
a<-table.element(a,'T-STAT',header=TRUE)
a<-table.element(a,'P-value',header=TRUE)
a<-table.row.end(a)
for (i in 2:(par1+1)) {
a<-table.row.start(a)
a<-table.element(a,i-1,header=TRUE)
a<-table.element(a,round(myacf[i],6))
mytstat <- myacf[i]*sqrtn
a<-table.element(a,round(mytstat,4))
a<-table.element(a,round(1-pt(abs(mytstat),lengthx),6))
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Partial Autocorrelation Function',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Time lag k',header=TRUE)
a<-table.element(a,hyperlink('http://www.xycoon.com/basics.htm','PACF(k)','click here for more information about the Partial Autocorrelation Function'),header=TRUE)
a<-table.element(a,'T-STAT',header=TRUE)
a<-table.element(a,'P-value',header=TRUE)
a<-table.row.end(a)
for (i in 1:par1) {
a<-table.row.start(a)
a<-table.element(a,i,header=TRUE)
a<-table.element(a,round(mypacf[i],6))
mytstat <- mypacf[i]*sqrtn
a<-table.element(a,round(mytstat,4))
a<-table.element(a,round(1-pt(abs(mytstat),lengthx),6))
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable1.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