Home » date » 2009 » Dec » 16 »

Identifying Integration Processes 3

*Unverified author*
R Software Module: /rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Wed, 16 Dec 2009 13:20:13 -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/16/t1260994862lyz33msjxh1ry5i.htm/, Retrieved Wed, 16 Dec 2009 21:21:04 +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/16/t1260994862lyz33msjxh1ry5i.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 «
103.34 102.60 100.69 105.67 123.61 113.08 106.46 123.38 109.87 95.74 123.06 123.39 120.28 115.33 110.40 114.49 132.03 123.16 118.82 128.32 112.24 104.53 132.57 122.52 131.80 124.55 120.96 122.60 145.52 118.57 134.25 136.70 121.37 111.63 134.42 137.65 137.86 119.77 130.69 128.28 147.45 128.42 136.90 143.95 135.64 122.48 136.83 153.04 142.71 123.46 144.37 146.15 147.61 158.51 147.40 165.05 154.64 126.20 157.36 154.15 123.21 113.07 110.45 113.57 122.44 114.93 111.85 126.04 121.34 124.36
 
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.446026-3.36740.000682
20.0333750.2520.400984
30.3507342.6480.005227
4-0.353701-2.67040.004928
50.1273430.96140.170201
60.183191.38310.086021
7-0.426036-3.21650.00107
80.2475851.86920.033366
9-0.156434-1.1810.121244
10-0.139594-1.05390.148185
110.1511321.1410.129317
12-0.141062-1.0650.145685
13-0.021176-0.15990.436773
140.1244910.93990.17562
15-0.054763-0.41350.340413
16-0.063424-0.47880.316943
170.104720.79060.216222
18-0.044126-0.33310.370125
19-0.066136-0.49930.309738
200.178651.34880.091372
21-0.114843-0.8670.194777
22-0.143074-1.08020.142305
230.3239332.44560.008785
24-0.297778-2.24820.014225
250.1173190.88570.189739
260.1231640.92990.178181
27-0.174963-1.32090.0959
280.0976090.73690.232094
290.0528840.39930.345595
30-0.150985-1.13990.129545
310.1555911.17470.122503
32-0.10224-0.77190.221683
33-0.006581-0.04970.480274
340.0915960.69150.246019
35-0.111792-0.8440.201096
360.0101870.07690.469481
370.0429020.32390.373598
38-0.063966-0.48290.315498
390.0621440.46920.320368
40-0.019799-0.14950.440852
41-0.030284-0.22860.409983
420.0014670.01110.4956
430.0470510.35520.361866
44-0.029271-0.2210.412945
450.0434630.32810.372005
460.0037630.02840.488718
47-0.002342-0.01770.492976
480.0342770.25880.398365
490.0047210.03560.485846
50-0.038479-0.29050.38624
510.0171920.12980.448591
520.0189140.14280.443477
53-0.011126-0.0840.466677
54-0.007263-0.05480.47823
55-0.014467-0.10920.456705
56-0.017668-0.13340.447176
57NANANA
58NANANA
59NANANA
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.446026-3.36740.000682
2-0.206681-1.56040.062099
30.3605842.72240.004292
4-0.044698-0.33750.368503
5-0.086543-0.65340.258068
60.1389271.04890.149331
7-0.236257-1.78370.039898
8-0.115544-0.87230.193342
9-0.223782-1.68950.048292
10-0.075228-0.5680.286148
11-0.079237-0.59820.276029
12-0.034632-0.26150.397337
13-0.000376-0.00280.498872
14-0.012715-0.0960.46193
150.1325971.00110.160509
16-0.196188-1.48120.072032
17-0.12088-0.91260.182642
18-0.059568-0.44970.327306
19-0.152825-1.15380.126697
200.0527750.39840.345897
210.0004670.00350.498599
22-0.212263-1.60260.057281
230.1077370.81340.209687
24-0.072099-0.54430.294166
25-0.009204-0.06950.472421
26-0.089156-0.67310.251798
270.1097740.82880.205345
28-0.09902-0.74760.228893
29-0.136436-1.03010.153664
300.0547320.41320.340499
31-0.123077-0.92920.178349
32-0.039823-0.30070.382386
33-0.049024-0.37010.356331
340.0315430.23810.406313
35-0.023228-0.17540.430705
36-0.069515-0.52480.300868
37-0.052625-0.39730.346312
38-0.109003-0.8230.206981
390.0636910.48090.316229
40-0.128941-0.97350.167212
41-0.097498-0.73610.232347
42-0.029482-0.22260.412327
43-0.058611-0.44250.3299
44-0.015241-0.11510.454398
450.0673410.50840.306562
46-0.075832-0.57250.284611
470.0300330.22670.410716
480.0030540.02310.490843
49-0.021685-0.16370.435267
50-0.15991-1.20730.116152
51-0.035742-0.26980.394127
520.0274020.20690.418421
53-0.039009-0.29450.384717
540.0637540.48130.31606
55-0.001678-0.01270.494967
560.001390.01050.495832
57NANANA
58NANANA
59NANANA
60NANANA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/16/t1260994862lyz33msjxh1ry5i/10dqo1260994811.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/16/t1260994862lyz33msjxh1ry5i/10dqo1260994811.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/16/t1260994862lyz33msjxh1ry5i/2mtwh1260994811.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/16/t1260994862lyz33msjxh1ry5i/2mtwh1260994811.ps (open in new window)


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