Home » date » 2010 » Dec » 29 »

PACF GOED

*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, 29 Dec 2010 19:07:56 +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/Dec/29/t12936495709v71mbidinuxyff.htm/, Retrieved Wed, 29 Dec 2010 20:06:13 +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/Dec/29/t12936495709v71mbidinuxyff.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 «
5745 4549 5074 3602 2732 2589 2148 2330 2752 3241 4517 6550 6778 6240 5570 3558 3299 2447 2380 2378 2947 3651 4816 6436 7090 4682 4198 3860 3056 2563 2568 2472 2821 4015 4686 5418 5649 4572 4695 3766 2900 2528 2549 2478 2828 4139 5390 5621 5291 5272 4677 3520 2842 2723 2581 2429 2606 3787 4630 5505 5577 4911 4701 3557 2921 2734 2636 2433 2640 3794 4745 5698 5909 5119 5200 3876 3104 2251 2386 2794 2967 3392 4741 5909 5901 4962 4751 3909 3130 2860 2568 2540 2894 4216 4530 5144 6206 5645 4601 3645 3140 2264 2557 2431 2747 4587 4512 5313 6011 5328 5014 3630 3102 2739 2877 2659 2957 3785 4785 5757 5458 5427 5018 3498 3204 2763 2589 2591 2805 3278 4615 5524 6167 5380 5377 3603 2774 2470 2407 2512 2451 3134 4210 4859 5022 4584 4267 3022 2777 2428 2389 2496 2820 3854 4748 5666 5293 4905 4920 3854 2659 2491 2455 2472 3030 3987 4453 5417
 
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'Herman Ole Andreas Wold' @ www.yougetit.org


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.80331710.41220
20.4430695.74280
3-0.011396-0.14770.441375
4-0.45167-5.85430
5-0.757133-9.81360
6-0.868159-11.25260
7-0.748508-9.70180
8-0.433509-5.61890
90.0017910.02320.490752
100.4337345.62180
110.7537829.77010
120.87012811.27810
130.7124379.23420
140.3835944.97191e-06
15-0.039253-0.50880.305786
16-0.417872-5.41620
17-0.689482-8.93670
18-0.784875-10.17310
19-0.668-8.65830
20-0.38585-5.00121e-06
210.0143630.18620.426272
220.413465.35910
230.6818638.8380
240.77644710.06390
250.6411428.31010
260.3513564.55415e-06
27-0.027047-0.35060.363177
28-0.389988-5.05481e-06
29-0.638776-8.27950
30-0.725397-9.40220
31-0.61967-8.03180
32-0.363228-4.7083e-06
330.0055070.07140.47159
340.3623324.69643e-06
350.6161297.98590
360.7091789.1920
370.5881397.62320
380.3309914.29011.5e-05
39-0.01634-0.21180.416265
40-0.350123-4.53815e-06
41-0.580392-7.52270
42-0.66365-8.60190
43-0.568291-7.36590
44-0.339387-4.3991e-05
45-0.011167-0.14470.442544
460.3169424.1083.1e-05
470.5567937.21690
480.6506998.4340


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.80331710.41220
2-0.570224-7.39090
3-0.468789-6.07620
4-0.391447-5.07371e-06
5-0.258879-3.35550.00049
6-0.26858-3.48120.000318
7-0.151482-1.96340.025624
8-0.0672-0.8710.192494
90.0857571.11150.133963
100.110871.4370.076283
110.1797012.32920.010519
120.1383071.79270.037413
13-0.224426-2.90890.002059
14-0.017848-0.23130.408666
15-0.009822-0.12730.449423
160.2214792.87070.002311
170.0266570.34550.365069
18-0.023684-0.3070.379617
19-0.026834-0.34780.36421
20-0.108289-1.40360.081143
210.0433310.56160.287558
220.1085631.40710.080617
23-0.052527-0.68080.248461
240.1180471.53010.063941
25-0.023354-0.30270.381247
260.0737070.95530.170387
27-0.030842-0.39980.344921
28-0.107584-1.39440.082513
290.0665480.86260.194806
30-0.003937-0.0510.47968
310.0337070.43690.331376
32-0.102267-1.32550.093398
33-0.023523-0.30490.38041
34-0.071735-0.92980.176907
350.0033340.04320.482793
360.068850.89240.186728
37-0.08188-1.06130.145041
38-0.03377-0.43770.331079
39-0.015721-0.20380.419392
40-0.02543-0.32960.371053
410.039250.50870.305801
42-0.021457-0.27810.390635
43-0.018735-0.24280.404214
44-0.073706-0.95530.170389
45-0.042674-0.55310.290461
460.0173860.22530.410991
47-0.005416-0.07020.47206
480.0557070.7220.235634
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/29/t12936495709v71mbidinuxyff/1dn131293649675.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/29/t12936495709v71mbidinuxyff/1dn131293649675.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/29/t12936495709v71mbidinuxyff/25w0o1293649675.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/29/t12936495709v71mbidinuxyff/25w0o1293649675.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/29/t12936495709v71mbidinuxyff/3ynzr1293649675.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/29/t12936495709v71mbidinuxyff/3ynzr1293649675.ps (open in new window)


 
Parameters (Session):
par1 = 48 ; par2 = 1 ; par3 = 0 ; par4 = 0 ; par5 = 12 ; par6 = White Noise ; par7 = 0.95 ;
 
Parameters (R input):
par1 = 48 ; par2 = 1 ; par3 = 0 ; 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 (par8 != '') par8 <- as.numeric(par8)
ox <- x
if (par8 == '') {
if (par2 == 0) {
x <- log(x)
} else {
x <- (x ^ par2 - 1) / par2
}
} else {
x <- log(x,base=par8)
}
if (par3 > 0) x <- diff(x,lag=1,difference=par3)
if (par4 > 0) x <- diff(x,lag=par5,difference=par4)
bitmap(file='picts.png')
op <- par(mfrow=c(2,1))
plot(ox,type='l',main='Original Time Series',xlab='time',ylab='value')
if (par8=='') {
mytitle <- paste('Working Time Series (lambda=',par2,', d=',par3,', D=',par4,')',sep='')
mysub <- paste('(lambda=',par2,', d=',par3,', D=',par4,', CI=', par7, ', CI type=',par6,')',sep='')
} else {
mytitle <- paste('Working Time Series (base=',par8,', d=',par3,', D=',par4,')',sep='')
mysub <- paste('(base=',par8,', d=',par3,', D=',par4,', CI=', par7, ', CI type=',par6,')',sep='')
}
plot(x,type='l', main=mytitle,xlab='time',ylab='value')
par(op)
dev.off()
bitmap(file='pic1.png')
racf <- acf(x, par1, main='Autocorrelation', xlab='time lag', ylab='ACF', ci.type=par6, ci=par7, sub=mysub)
dev.off()
bitmap(file='pic2.png')
rpacf <- pacf(x,par1,main='Partial Autocorrelation',xlab='lags',ylab='PACF',sub=mysub)
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