Home » date » 2010 » Nov » 29 »

Pageviews

*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, 29 Nov 2010 10:18:55 +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/Nov/29/t1291025861bbfebcxk9pbemh3.htm/, Retrieved Mon, 29 Nov 2010 11:17:41 +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/Nov/29/t1291025861bbfebcxk9pbemh3.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 «
15086 20559 39383 68032 42346 40184 29183 18049 24377 48033 61410 40637 37914 22481 17061 21921 34043 36152 38929 36713 27928 14178 19331 35030 37834 45257 39650 33001 22268 34283 63733 54548 31666 32654 28409 16234 19544 33375 30839 27581 28596 28542 14285 20799 28729 30278 31266 38341 24938 15700 17382 34229 29584 33909 29397 24644 14124 18770 32681 30518 34310 24217 15806 12362 13751 25312 23549 30305 30411 15593 17382 15806 29183 33348 33589 30198 23469 15593 16474 27341 26673 33268 26406 23656 15086 18316 27528 30305 34550 34710 23843 12362 21200 27261 31586 33322 32814 21974 17115 14445 26673 31746 28249 29103 21974 17622 21066 28382 32147 35885 40824 28622 24297 30465 47927 51665 57058 48407 30011 21413 30518 41171 37487 44456 41465 28409 34870 29557 44936 44028 45310 39302 28516 19865 30091 38101 44402 52359 71182 60796 43735 63947 89071 86321 90967 54441 36 etc...
 
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
10.77070827.08470
20.59716720.9860
30.44556315.65820
40.30219710.620
50.1561595.48780
60.0017180.06040.475938
7-0.185176-6.50760
8-0.162872-5.72370
9-0.171667-6.03280
10-0.187066-6.5740
11-0.175192-6.15670
12-0.154351-5.42430
13-0.144536-5.07940
14-0.117796-4.13971.9e-05
15-0.105502-3.70760.000109
16-0.09028-3.17270.000774
17-0.070405-2.47420.006743
18-0.073899-2.5970.004758
19-0.094454-3.31940.000464
20-0.111709-3.92574.6e-05
21-0.145841-5.12520
22-0.138895-4.88111e-06
23-0.117869-4.14221.8e-05
24-0.107479-3.77718.3e-05
25-0.092102-3.23670.000621
26-0.080607-2.83270.002345
27-0.058954-2.07180.019246
28-0.013244-0.46540.320854
290.0150930.53040.297963
300.0272750.95850.168993
310.0453561.59390.055605
320.0463441.62860.051822
330.0585632.05810.019897
340.0712792.50490.006188
350.0503241.76850.03861
360.0234450.82390.20507
370.0129150.45390.325005
38-0.003073-0.1080.457016
390.0062560.21990.41301
400.0097530.34280.365922
410.0152320.53530.296275
420.0408741.43640.075567
430.0775132.7240.00327
440.0771272.71040.003406
450.0889263.12510.000909
460.0860933.02550.001267
470.0837072.94170.001663
480.075832.66490.003901
490.0525731.84750.032453
500.0234310.82340.205215
510.0198530.69770.242748
520.003550.12470.450371
53-0.006929-0.24350.403823
54-0.014842-0.52160.301026
55-0.011888-0.41780.338092
56-0.009806-0.34460.365229
57-0.010933-0.38420.350442
58-0.020059-0.70490.240494
59-0.019656-0.69080.244922
60-0.008632-0.30330.38084


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.77070827.08470
20.0078230.27490.391705
3-0.042138-1.48080.069453
4-0.074273-2.61020.00458
5-0.111085-3.90385e-05
6-0.14748-5.18280
7-0.24223-8.51260
80.32512411.42570
9-0.054863-1.9280.02704
10-0.056825-1.9970.023023
110.01520.53420.296663
12-0.032749-1.15090.125004
13-0.102981-3.6190.000154
14-0.091375-3.21120.000678
150.1519685.34060
16-0.053189-1.86920.030917
17-0.035502-1.24760.1062
18-0.021865-0.76840.221204
19-0.076986-2.70550.003457
20-0.104229-3.66290.00013
21-0.114164-4.0123.2e-05
220.1554285.46210
230.0074670.26240.396523
24-0.034583-1.21530.112234
25-0.00383-0.13460.446477
26-0.074936-2.63350.004279
27-0.046742-1.64260.050356
28-0.018505-0.65030.257805
290.1168054.10482.2e-05
30-0.011858-0.41670.338482
31-0.013256-0.46590.320702
32-0.029782-1.04660.14774
33-0.02463-0.86560.193446
34-0.009146-0.32140.373977
35-0.074671-2.62410.004397
360.0403061.41640.078448
370.0187890.66030.254599
38-0.011126-0.3910.347932
390.0277970.97690.164413
40-0.013224-0.46470.32111
410.0227960.80110.211612
42-0.015895-0.55860.288276
430.0910113.19840.000709
44-0.0382-1.34240.089851
450.0053360.18750.425642
460.0051610.18140.428058
47-0.014795-0.51990.301603
480.0126270.44370.328651
49-0.029861-1.04940.147105
500.063222.22170.013242
51-0.011407-0.40090.344296
52-0.004385-0.15410.438772
530.0163790.57560.282497
54-0.003958-0.13910.444701
550.053631.88470.029852
56-0.043467-1.52750.06344
570.0141370.49680.309707
58-0.024367-0.85630.195993
59-0.005733-0.20150.420187
600.0559871.96750.024673
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Nov/29/t1291025861bbfebcxk9pbemh3/1ce231291025931.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/29/t1291025861bbfebcxk9pbemh3/1ce231291025931.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/29/t1291025861bbfebcxk9pbemh3/2ce231291025931.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/29/t1291025861bbfebcxk9pbemh3/2ce231291025931.ps (open in new window)


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