Home » date » 2010 » Dec » 21 »

Autocorrelatie functie en partial autocorrelatie functie

*The author of this computation has been verified*
R Software Module: /rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Tue, 21 Dec 2010 20:43:18 +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/21/t1292964073bybe91bc83x9i8u.htm/, Retrieved Tue, 21 Dec 2010 21:41:15 +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/21/t1292964073bybe91bc83x9i8u.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 «
0.6923 0.6886 0.6855 0.6745 0.6769 0.6758 0.6896 0.6843 0.6818 0.6774 0.6821 0.6885 0.6829 0.6796 0.6976 0.6924 0.6849 0.6921 0.6839 0.6727 0.6776 0.6692 0.6738 0.6740 0.6635 0.6737 0.6788 0.6828 0.6795 0.6740 0.6744 0.6764 0.6987 0.6967 0.7116 0.7357 0.7455 0.7639 0.7958 0.7864 0.7853 0.7903 0.7866 0.8039 0.7916 0.7903 0.8242 0.9567 0.8850 0.8865 0.9258 0.8948 0.8762 0.8527 0.8536 0.8805 0.9155 0.8961 0.9127 0.8857
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Autocorrelation Function
Time lag kACF(k)T-STATP-value
1-0.176588-1.35640.09007
2-0.163802-1.25820.10664
30.1322711.0160.156891
4-0.023501-0.18050.428683
5-0.094231-0.72380.236024
6-0.021141-0.16240.435779
7-0.124737-0.95810.170956
80.0423620.32540.37302
90.3142432.41370.009456
10-0.108841-0.8360.203258
110.0949640.72940.234311
120.0192470.14780.441488
13-0.030211-0.23210.408648
14-0.080087-0.61520.270407
150.0931920.71580.238463
16-0.104855-0.80540.211909
17-0.049193-0.37790.353445
180.0212910.16350.435325
19-0.066048-0.50730.30691
200.0411260.31590.376599
210.0235750.18110.428463
22-0.025435-0.19540.422887
23-0.050118-0.3850.350825
240.0460470.35370.362415
25-0.030835-0.23690.406796
26-0.052096-0.40020.345242
27-0.007182-0.05520.478096
28-0.0631-0.48470.314849
29-0.005398-0.04150.483534
300.0430920.3310.370911
31-0.075004-0.57610.283364
320.0019140.01470.49416
330.0857490.65870.25634
34-0.091598-0.70360.242232
35-0.018958-0.14560.442359
360.0576420.44280.329782
37-0.035259-0.27080.393733
38-0.031589-0.24260.404562
39-0.006728-0.05170.479481
40-0.015477-0.11890.452886
410.0759570.58340.28091
42-0.031456-0.24160.404958
43-0.01809-0.1390.444979
44-0.015463-0.11880.452929
45-0.009264-0.07120.471755
46-0.011264-0.08650.465674
47-0.006231-0.04790.480995
480.0027580.02120.491586


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.176588-1.35640.09007
2-0.201262-1.54590.063736
30.0666790.51220.305222
4-0.01739-0.13360.447097
5-0.07178-0.55140.291738
6-0.07458-0.57290.284459
7-0.182329-1.40050.083301
8-0.022863-0.17560.430599
90.3089152.37280.010465
100.0497890.38240.351755
110.1896921.4570.075202
12-0.034213-0.26280.396811
130.0051340.03940.484337
14-0.085982-0.66040.25577
150.1443581.10880.136001
160.0163620.12570.450205
17-0.040947-0.31450.377117
18-0.160491-1.23280.111279
19-0.159784-1.22730.112288
20-0.113563-0.87230.193293
210.0285420.21920.41361
220.009570.07350.470825
23-0.045259-0.34760.364672
24-0.134331-1.03180.153185
25-0.044006-0.3380.368275
26-0.066146-0.50810.306646
270.0937840.72040.237071
280.007370.05660.477525
290.010090.07750.469243
30-0.041971-0.32240.374149
31-0.093343-0.7170.238108
320.0061020.04690.481389
330.1214450.93280.177352
34-0.009045-0.06950.472424
35-0.032489-0.24960.4019
36-0.079278-0.60890.272448
37-0.012859-0.09880.460827
38-0.013656-0.10490.458407
390.0230030.17670.430178
40-0.004561-0.0350.486087
410.0352580.27080.393737
42-0.105413-0.80970.210686
430.0252040.19360.42358
44-0.081879-0.62890.265913
45-0.037497-0.2880.38717
46-0.052137-0.40050.345127
47-0.015704-0.12060.452199
48-0.033924-0.26060.397664
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292964073bybe91bc83x9i8u/1i7361292964196.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292964073bybe91bc83x9i8u/1i7361292964196.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/21/t1292964073bybe91bc83x9i8u/2i7361292964196.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292964073bybe91bc83x9i8u/2i7361292964196.ps (open in new window)


 
Parameters (Session):
par1 = 48 ; par2 = 1 ; par3 = 1 ; par4 = 0 ; par5 = 12 ; par6 = White Noise ; par7 = 0.95 ;
 
Parameters (R input):
par1 = 48 ; par2 = 1 ; par3 = 1 ; par4 = 0 ; par5 = 12 ; par6 = White Noise ; par7 = 0.95 ;
 
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 (par6 == 'White Noise') par6 <- 'white' else par6 <- 'ma'
par7 <- as.numeric(par7)
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='time lag', ylab='ACF', ci.type=par6, ci=par7, sub=paste('(lambda=',par2,', d=',par3,', D=',par4,', CI=', par7, ', CI type=',par6,')',sep=''))
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