Home » date » 2009 » Dec » 09 »

Partial Correlation

*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, 09 Dec 2009 03:12:59 -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/09/t1260353638qsh6inw849s54zs.htm/, Retrieved Wed, 09 Dec 2009 11:14:00 +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/09/t1260353638qsh6inw849s54zs.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 «
121.6 118.8 114.0 111.5 97.2 102.5 113.4 109.8 104.9 126.1 80.0 96.8 117.2 112.3 117.3 111.1 102.2 104.3 122.9 107.6 121.3 131.5 89.0 104.4 128.9 135.9 133.3 121.3 120.5 120.4 137.9 126.1 133.2 151.1 105.0 119.0 140.4 156.6 137.1 122.7 125.8 139.3 134.9 149.2 132.3 149.0 117.2 119.6 152.0 149.4 127.3 114.1 102.1 107.7 104.4 102.1 96.0 109.3 90.0 83.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.596547-4.08978.4e-05
20.2665751.82750.036985
3-0.00403-0.02760.489037
4-0.064801-0.44430.32945
50.0796680.54620.293763
60.0357510.24510.403725
7-0.113756-0.77990.219689
80.1564421.07250.144482
9-0.174541-1.19660.118733
100.1057070.72470.236118
110.0556320.38140.352314
12-0.11349-0.7780.220221
130.1577141.08120.142555
14-0.245964-1.68620.049188
150.2702981.85310.035078
16-0.202591-1.38890.085706
170.1803021.23610.111284
18-0.070749-0.4850.314954
190.0069920.04790.480984
20-0.115693-0.79320.215838
210.1894011.29850.100231
22-0.269097-1.84480.035684
230.3222422.20920.016036
24-0.282677-1.93790.029326
250.0902520.61870.269539
260.0219040.15020.440637
27-0.062682-0.42970.33468
280.0301040.20640.418691
29-0.036055-0.24720.402924
30-0.020153-0.13820.44535
31-0.026258-0.180.428957
320.0104350.07150.471635
33-0.024155-0.16560.434592
340.0655140.44910.327697
35-0.134455-0.92180.180676
360.0811230.55620.290372
37-0.087067-0.59690.276719
380.0712690.48860.313699
39-0.094743-0.64950.259581
400.0656930.45040.327257
41-0.059936-0.41090.341506
420.047050.32260.374231
43-0.024855-0.17040.432715
440.0310370.21280.416211
45-0.018919-0.12970.448679
460.0021070.01440.494268
47NANANA
48NANANA
49NANANA
50NANANA
51NANANA
52NANANA
53NANANA
54NANANA
55NANANA
56NANANA
57NANANA
58NANANA
59NANANA
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.596547-4.08978.4e-05
2-0.138625-0.95040.173393
30.1493341.02380.155589
40.051070.35010.363907
50.0292980.20090.420838
60.1392480.95460.172324
7-0.04088-0.28030.390255
80.0350060.240.405691
9-0.090927-0.62340.26803
10-0.058486-0.4010.345132
110.143910.98660.164446
120.0401110.2750.392266
130.093840.64330.261567
14-0.218245-1.49620.070642
150.0762520.52280.3018
16-0.023239-0.15930.437051
170.1331990.91320.182909
180.0939810.64430.261257
190.0072790.04990.480205
20-0.22429-1.53770.065419
21-0.03706-0.25410.400273
22-0.156683-1.07420.144116
230.1403750.96240.170396
240.0523190.35870.36072
25-0.054785-0.37560.354457
26-0.064822-0.44440.329398
27-0.014774-0.10130.459878
28-0.114886-0.78760.217437
29-0.090604-0.62110.268752
300.0077450.05310.478939
310.0051460.03530.486004
32-0.039143-0.26840.394801
33-0.038879-0.26650.395495
34-0.051895-0.35580.361801
35-0.016351-0.11210.455611
36-0.08865-0.60780.273137
370.0720810.49420.311748
38-0.04197-0.28770.387408
39-0.03566-0.24450.403965
40-0.090882-0.62310.26813
41-0.012463-0.08540.466135
420.0510710.35010.363903
430.1489731.02130.156169
44-0.012093-0.08290.467141
450.0317080.21740.414428
46-0.051623-0.35390.362495
47NANANA
48NANANA
49NANANA
50NANANA
51NANANA
52NANANA
53NANANA
54NANANA
55NANANA
56NANANA
57NANANA
58NANANA
59NANANA
60NANANA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/09/t1260353638qsh6inw849s54zs/1nmf61260353577.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/09/t1260353638qsh6inw849s54zs/1nmf61260353577.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/09/t1260353638qsh6inw849s54zs/2qicx1260353577.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/09/t1260353638qsh6inw849s54zs/2qicx1260353577.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