Home » date » 2009 » Dec » 16 »

Identifying Integration Processes 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: Wed, 16 Dec 2009 13:29:09 -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/t1260995393pe1ro4ce7g834b5.htm/, Retrieved Wed, 16 Dec 2009 21:29:55 +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/t1260995393pe1ro4ce7g834b5.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 «
112 118 132 129 121 135 148 148 136 119 104 118 115 126 141 135 125 149 170 170 158 133 114 140 145 150 178 163 172 178 199 199 184 162 146 166 171 180 193 181 183 218 230 242 209 191 172 194 196 196 236 235 229 243 264 272 237 211 180 201 204 188 235 227 234 264 302 293 259 229 203 229 242 233 267 269 270 315 364 347 312 274 237 278 284 277 317 313 318 374 413 405 355 306 271 306 315 301 356 348 355 422 465 467 404 347 305 336 340 318 362 348 363 435 491 505 404 359 310 337 360 342 406 396 420 472 548 559 463 407 362 405 417 391 419 461 472 535 622 606 508 461 390 432
 
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
10.1997512.38870.009107
2-0.120104-1.43620.076559
3-0.150772-1.8030.036749
4-0.322074-3.85148.8e-05
5-0.083975-1.00420.158492
60.0257780.30830.379165
7-0.110961-1.32690.093329
8-0.336721-4.02664.6e-05
9-0.115586-1.38220.084531
10-0.109267-1.30660.096716
110.2058522.46160.00751
120.8414310.0620
130.2150872.57210.005565
14-0.139554-1.66880.04867
15-0.115996-1.38710.083784
16-0.278943-3.33570.000542
17-0.051706-0.61830.268674
180.0124580.1490.440891
19-0.114358-1.36750.086804
20-0.337174-4.0324.5e-05
21-0.107385-1.28410.100585
22-0.075211-0.89940.184977
230.1994752.38540.009186
240.7369218.81230
250.1972622.35890.009841
26-0.123884-1.48140.070345
27-0.102699-1.22810.110713
28-0.210992-2.52310.006363
29-0.065357-0.78160.217884
300.0157280.18810.425538
31-0.11537-1.37960.084927
32-0.289256-3.4590.000357
33-0.126882-1.51730.0657
34-0.040707-0.48680.313579
350.1474111.76280.040037
360.6574387.86180
370.1929092.30690.01125
38-0.134312-1.60610.055224
39-0.060237-0.72030.236248
40-0.162706-1.94570.026828
41-0.058027-0.69390.244436
420.0073660.08810.464964
43-0.110954-1.32680.093341
44-0.285268-3.41130.00042
45-0.106176-1.26970.103129
46-0.033645-0.40230.344018
470.1240211.48310.070127
480.5868997.01830
490.1865382.23070.01363
50-0.137754-1.64730.050846
51-0.049475-0.59160.277514
52-0.124159-1.48470.069909
53-0.028981-0.34660.364714
540.0044690.05340.478729
55-0.094313-1.12780.130643
56-0.291733-3.48860.000323
57-0.095922-1.14710.126636
58-0.009558-0.11430.45458
590.1034581.23720.109025
600.5210496.23080


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.1997512.38870.009107
2-0.166655-1.99290.024088
3-0.095875-1.14650.126751
4-0.310891-3.71770.000144
50.0077850.09310.46298
6-0.07455-0.89150.187084
7-0.210284-2.51460.006511
8-0.494757-5.91640
9-0.192295-2.29950.011462
10-0.531875-6.36030
11-0.302293-3.61490.000208
120.5860417.0080
130.0259780.31070.378257
14-0.181193-2.16670.015955
150.1200381.43550.076671
160.0004080.00490.498059
170.025260.30210.381519
18-0.124989-1.49470.068604
190.0874351.04560.148763
20-0.054471-0.65140.257923
21-0.061824-0.73930.230468
22-0.025195-0.30130.381815
230.0333310.39860.345396
24-0.009634-0.11520.45422
25-0.048057-0.57470.283204
260.0184870.22110.412677
270.0279780.33460.369219
280.0163090.1950.422822
29-0.093457-1.11760.132808
300.0084980.10160.459602
310.0714610.85460.197114
320.1095151.30960.096213
33-0.093183-1.11430.133508
340.0631340.7550.225752
35-0.092056-1.10080.136411
360.0584040.69840.243029
37-0.010291-0.12310.451116
38-0.076002-0.90890.182478
390.0874061.04520.148843
400.0370260.44280.329303
41-0.025502-0.3050.38042
420.0479540.57340.283622
43-0.004167-0.04980.480164
44-0.034889-0.41720.338575
450.02320.27740.390923
460.0169770.2030.419706
470.0168430.20140.42033
480.0634780.75910.224524
49-0.041633-0.49790.309675
500.060090.71860.23679
51-0.071228-0.85180.197886
520.0340950.40770.342044
530.0882771.05560.146457
54-0.012453-0.14890.440913
550.065990.78910.215673
56-0.008608-0.10290.459079
570.0429920.51410.303984
580.084131.0060.158046
590.0578570.69190.24507
600.0150110.17950.428897
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/16/t1260995393pe1ro4ce7g834b5/1hopp1260995346.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/16/t1260995393pe1ro4ce7g834b5/1hopp1260995346.ps (open in new window)


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


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