Home » date » 2009 » Dec » 28 »

acf

*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: Mon, 28 Dec 2009 06:23:40 -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/28/t1262006646umnpze439qy74mv.htm/, Retrieved Mon, 28 Dec 2009 14:24:08 +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/28/t1262006646umnpze439qy74mv.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 «
14.3 14.2 15.9 15.3 15.5 15.1 15 12.1 15.8 16.9 15.1 13.7 14.8 14.7 16 15.4 15 15.5 15.1 11.7 16.3 16.7 15 14.9 14.6 15.3 17.9 16.4 15.4 17.9 15.9 13.9 17.8 17.9 17.4 16.7 16 16.6 19.1 17.8 17.2 18.6 16.3 15.1 19.2 17.7 19.1 18 17.5 17.8 21.1 17.2 19.4 19.8 17.6 16.2 19.5 19.9 20 17.3 18.9 18.6 21.4 18.6 19.8 20.8 19.6 17.7 19.8 22.2 20.7 17.9
 
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.592816-4.55351.3e-05
2-0.041597-0.31950.375234
30.3122072.39810.009831
4-0.185668-1.42610.079548
5-0.05669-0.43540.332416
60.2875722.20890.01554
7-0.373639-2.870.002845
80.1562241.20.117471
90.1418261.08940.140206
10-0.210122-1.6140.055935
110.0786070.60380.274147
120.0002910.00220.499112
13-0.095825-0.7360.232309
140.1885511.44830.076416
15-0.077338-0.5940.277378
16-0.202424-1.55480.062666
170.30932.37580.010389
18-0.164929-1.26680.105095
190.0230790.17730.429949
20-0.034921-0.26820.394728
210.1583241.21610.114393
22-0.291343-2.23780.01451
230.3411742.62060.005572
24-0.155405-1.19370.118688
25-0.146325-1.12390.132795
260.2133491.63880.053292
27-0.03609-0.27720.391293
28-0.135671-1.04210.150807
290.1842281.41510.081151
30-0.16143-1.240.109948
310.0641890.4930.311904
320.1061680.81550.209036
33-0.199923-1.53560.064986
340.0782010.60070.275179
350.1232310.94660.173864
36-0.199617-1.53330.065275
370.1380321.06020.146678
380.0184820.1420.443798
39-0.191267-1.46920.073552
400.2489851.91250.030336
41-0.112316-0.86270.195894
42-0.0785-0.6030.274419
430.1316421.01120.158034
44-0.031631-0.2430.404438
45-0.073572-0.56510.287069
460.0886890.68120.249194
47-0.046874-0.360.36005
48-0.020699-0.1590.437108
490.0526140.40410.343786
50-0.037198-0.28570.388045
51-0.01271-0.09760.46128
520.0370850.28490.388376
53-0.033692-0.25880.398348
540.018920.14530.442475
55-0.010306-0.07920.468586
560.0089550.06880.472697
570.0006090.00470.498141
582e-0600.499993
59NANANA
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.592816-4.55351.3e-05
2-0.605993-4.65479e-06
3-0.211106-1.62150.055117
4-0.01837-0.14110.444134
5-0.055751-0.42820.33502
60.3101062.3820.010232
7-0.02466-0.18940.425209
8-0.201234-1.54570.063762
9-0.135895-1.04380.150411
10-0.006565-0.05040.479978
110.1153260.88580.189652
12-0.098956-0.76010.225112
13-0.282747-2.17180.01695
14-0.138624-1.06480.145655
150.1766131.35660.09004
16-0.001518-0.01170.495367
170.0055790.04290.482983
18-0.152522-1.17150.123045
190.0089580.06880.472687
20-0.214433-1.64710.052428
210.3260812.50470.007519
22-0.033871-0.26020.397819
23-0.025379-0.19490.423054
240.0100850.07750.469258
25-0.118524-0.91040.183159
26-0.024109-0.18520.426861
27-0.146182-1.12280.133026
28-0.004568-0.03510.486063
290.0246480.18930.425243
300.0049240.03780.484977
310.0476880.36630.357727
320.0338920.26030.397757
33-0.068168-0.52360.301255
34-0.166355-1.27780.103163
350.0630560.48430.314968
360.0380170.2920.385651
370.0882550.67790.250242
38-0.135369-1.03980.15134
390.0565030.4340.332932
40-0.017412-0.13370.44703
410.0861240.66150.255424
42-0.060841-0.46730.320993
430.0011930.00920.496358
44-0.043342-0.33290.37019
45-0.015584-0.11970.452563
460.0361750.27790.391045
470.0123540.09490.462362
480.043380.33320.37008
49-0.127133-0.97650.166395
50-0.094945-0.72930.234356
51-0.03271-0.25130.401246
52-0.065833-0.50570.307484
530.0161760.12420.45077
540.0177650.13650.445964
550.0053630.04120.483641
56-0.037364-0.2870.387558
570.1178620.90530.18449
58-0.12386-0.95140.172645
59NANANA
60NANANA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/28/t1262006646umnpze439qy74mv/1ktah1262006618.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/28/t1262006646umnpze439qy74mv/1ktah1262006618.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/28/t1262006646umnpze439qy74mv/235kp1262006618.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/28/t1262006646umnpze439qy74mv/235kp1262006618.ps (open in new window)


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