Home » date » 2009 » Nov » 26 »

*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: Thu, 26 Nov 2009 03:35:41 -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/Nov/26/t1259231889mukocaqv71np88l.htm/, Retrieved Thu, 26 Nov 2009 11:38:12 +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/Nov/26/t1259231889mukocaqv71np88l.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 «
785.8 819.3 849.4 880.4 900.1 937.2 948.9 952.6 947.3 974.2 1000.8 1032.8 1050.7 1057.3 1075.4 1118.4 1179.8 1227 1257.8 1251.5 1236.3 1170.6 1213.1 1265.5 1300.8 1348.4 1371.9 1403.3 1451.8 1474.2 1438.2 1513.6 1562.2 1546.2 1527.5 1418.7 1448.5 1492.1 1395.4 1403.7 1316.6 1274.5 1264.4 1323.9 1332.1 1250.2 1096.7 1080.8 1039.2 792 746.6 688.8 715.8 672.9 629.5 681.2 755.4 760.6 765.9 836.8 904.9
 
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'Gwilym Jenkins' @ 72.249.127.135


Autocorrelation Function
Time lag kACF(k)T-STATP-value
1-0.370752-2.84780.003025
2-0.194303-1.49250.070452
30.0605620.46520.321757
4-0.000143-0.00110.499563
50.1969161.51250.067867
6-0.177961-1.36690.088415
7-0.121244-0.93130.177748
80.1990161.52870.065845
90.07250.55690.289857
10-0.33276-2.5560.006592
110.3007962.31050.012189
12-0.10409-0.79950.213596
13-0.053592-0.41170.341043
140.1199230.92110.180362
15-0.121027-0.92960.178176
160.1673271.28530.101862
17-0.091669-0.70410.242063
18-0.181354-1.3930.084422
190.2149191.65080.052044
20-0.000473-0.00360.498557
21-0.042045-0.3230.373935
22-0.048768-0.37460.354654
23-0.00241-0.01850.492646
24-0.021978-0.16880.433258
250.0862550.66250.255103
26-0.103109-0.7920.215768
27-0.00811-0.06230.475271
280.1486361.14170.129096
29-0.083559-0.64180.261736
300.0239420.18390.427362
31-0.052765-0.40530.343364
320.0403640.310.378811
330.0014420.01110.495599
340.0125960.09680.461626
35-0.063373-0.48680.314111
360.0265740.20410.41948
370.0114720.08810.46504
380.0034480.02650.48948
390.002370.01820.492767
40-0.022158-0.17020.432719
410.0201870.15510.438653
42-0.001618-0.01240.495063
430.013210.10150.459761
44-0.0318-0.24430.403937
450.0269810.20720.418267
46-0.008649-0.06640.47363
470.0120760.09280.463206
48-0.021783-0.16730.433847
49-0.004372-0.03360.486661
500.0124780.09580.461985
510.0022740.01750.493061
52-0.007144-0.05490.478211
53-0.004532-0.03480.486175
540.0040320.0310.487699
55-0.002067-0.01590.493693
560.0002340.00180.499286
57-0.000974-0.00750.497029
585.1e-054e-040.499846
59NANANA
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.370752-2.84780.003025
2-0.384631-2.95440.002247
3-0.247351-1.89990.031166
4-0.223785-1.71890.045436
50.1178640.90530.184487
6-0.028375-0.21790.41411
7-0.15525-1.19250.11892
80.0081610.06270.475114
90.1456741.11890.133849
10-0.300691-2.30960.012213
110.1797061.38030.086344
12-0.021334-0.16390.435198
13-0.126134-0.96890.168287
140.0370890.28490.388364
150.089660.68870.246859
160.0516450.39670.346513
170.017070.13110.448064
18-0.113818-0.87420.192764
190.0066950.05140.47958
20-0.110524-0.8490.199669
210.1666351.27990.102786
22-0.094183-0.72340.236135
23-0.002589-0.01990.492101
24-0.18052-1.38660.085391
25-0.066198-0.50850.306508
26-0.104216-0.80050.213316
27-0.110248-0.84680.200257
280.0109440.08410.466646
290.1488281.14320.128793
30-0.071283-0.54750.293038
310.0790580.60730.273006
320.0156980.12060.452218
33-0.008532-0.06550.473983
34-0.022464-0.17260.431798
350.013970.10730.457455
36-0.096095-0.73810.231684
37-0.069993-0.53760.296427
380.1266550.97290.167299
390.0035250.02710.489246
40-0.060209-0.46250.322722
410.0568860.43690.331872
42-0.079811-0.6130.271104
43-0.026692-0.2050.419128
44-0.021293-0.16360.43532
450.0255240.19610.42262
46-0.009616-0.07390.470686
470.0064780.04980.480242
48-0.033887-0.26030.397773
49-0.08392-0.64460.260842
50-0.024998-0.1920.424196
510.0223120.17140.432254
520.0104960.08060.468009
530.0225350.17310.431585
54-0.030961-0.23780.406424
550.0428290.3290.37167
56-0.009012-0.06920.472523
57-0.080074-0.61510.27044
58-0.011968-0.09190.463532
59NANANA
60NANANA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Nov/26/t1259231889mukocaqv71np88l/1iysb1259231739.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/26/t1259231889mukocaqv71np88l/1iysb1259231739.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/26/t1259231889mukocaqv71np88l/2dr5x1259231739.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/26/t1259231889mukocaqv71np88l/2dr5x1259231739.ps (open in new window)


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