Home » date » 2009 » Dec » 04 »

ACF 2

*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: Fri, 04 Dec 2009 12:26:19 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2009/Dec/04/t1259954888c3d4vbxa8uj4d9v.htm/, Retrieved Fri, 04 Dec 2009 20:28:11 +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/2009/Dec/04/t1259954888c3d4vbxa8uj4d9v.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 «
96.2 96.8 109.9 88 91.1 106.4 68.6 100.1 108 106 108.6 91.5 99.2 98 96.6 102.8 96.9 110 70.5 101.9 109.6 107.8 113 93.8 108 102.8 116.3 89.2 106.7 112.1 74.2 108.8 111.5 118.8 118.9 97.6 116.4 107.9 121.2 97.9 113.4 117.6 79.6 115.9 115.7 129.1 123.3 96.7 121.2 118.2 102.1 125.4 116.7 121.3 85.3 114.2 124.4 131 118.3 99.6
 
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.471296-3.26520.001011
20.1011360.70070.24344
30.0614770.42590.336034
4-0.126845-0.87880.191941
50.0796610.55190.291786
6-0.026899-0.18640.426474
7-0.025534-0.17690.430163
80.0824790.57140.285187
90.0560480.38830.349752
10-0.014471-0.10030.460278
110.0519050.35960.360358
12-0.176713-1.22430.113406
130.1245940.86320.196157
14-0.064443-0.44650.328631
150.0488880.33870.368155
16-0.036745-0.25460.400069
17-0.052618-0.36450.358525
180.0763430.52890.29965
19-0.099453-0.6890.24706
200.027860.1930.423878
210.0202220.14010.444582
22-0.181911-1.26030.106823
230.252161.7470.043515
24-0.307352-2.12940.019189
250.0909770.63030.26574
26-0.038277-0.26520.395999
270.0110620.07660.469613
280.0389410.26980.394238
29-0.061081-0.42320.337026
300.0464640.32190.374459
31-0.008876-0.06150.47561
32-0.069289-0.48010.316686
330.0168790.11690.453697
34-0.00413-0.02860.488646
35-0.120335-0.83370.204288
360.2640941.82970.036755
37-0.128442-0.88990.188986
380.0032410.02250.491089
390.0180320.12490.450552
40-0.036225-0.2510.401453
410.0570590.39530.34718
42-0.039049-0.27050.393952
43-0.024845-0.17210.43203
440.0588720.40790.342588
450.0205740.14250.443624
460.0053280.03690.485354
470.0005360.00370.498527
48NANANA
49NANANA
50NANANA
51NANANA
52NANANA
53NANANA
54NANANA
55NANANA
56NANANA
57NANANA
58NANANA
59NANANA
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.471296-3.26520.001011
2-0.155531-1.07760.14331
30.0569830.39480.347374
4-0.071984-0.49870.310127
5-0.020405-0.14140.444086
6-0.004674-0.03240.48715
7-0.029243-0.20260.420152
80.0579730.40160.344863
90.1702571.17960.121991
100.1213630.84080.202306
110.1052540.72920.234706
12-0.154312-1.06910.145185
13-0.037584-0.26040.397839
14-0.026901-0.18640.426467
150.0606990.42050.337985
16-0.041117-0.28490.388486
17-0.139819-0.96870.168776
18-0.06646-0.46040.323638
19-0.113434-0.78590.217896
20-0.047912-0.33190.370687
210.054990.3810.352448
22-0.188404-1.30530.099006
230.0874730.6060.273675
24-0.258156-1.78860.039999
25-0.136169-0.94340.175098
26-0.143238-0.99240.162994
270.0629630.43620.332316
280.0556430.38550.350784
29-0.052659-0.36480.35842
300.0229930.15930.437051
310.0300010.20790.418111
32-0.029552-0.20470.41932
330.0579330.40140.344964
34-0.008487-0.05880.476677
35-0.087869-0.60880.272772
360.0493620.3420.366925
370.0960010.66510.25458
38-0.062334-0.43190.333886
39-0.054973-0.38090.352493
40-0.027654-0.19160.424436
41-0.032418-0.22460.411624
42-0.007997-0.05540.478024
43-0.093287-0.64630.260578
44-0.086195-0.59720.276599
450.009540.06610.473788
46-0.094704-0.65610.257437
470.0220070.15250.439729
48NANANA
49NANANA
50NANANA
51NANANA
52NANANA
53NANANA
54NANANA
55NANANA
56NANANA
57NANANA
58NANANA
59NANANA
60NANANA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/04/t1259954888c3d4vbxa8uj4d9v/1jn3s1259954778.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/04/t1259954888c3d4vbxa8uj4d9v/1jn3s1259954778.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/04/t1259954888c3d4vbxa8uj4d9v/23pa31259954778.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/04/t1259954888c3d4vbxa8uj4d9v/23pa31259954778.ps (open in new window)


 
Parameters (Session):
par1 = 60 ; par2 = 0.1 ; par3 = 0 ; par4 = 1 ; par5 = 12 ; par6 = MA ; par7 = 0.95 ;
 
Parameters (R input):
par1 = 60 ; par2 = 0.1 ; par3 = 0 ; par4 = 1 ; par5 = 12 ; par6 = MA ; 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