Home » date » 2010 » Dec » 12 »

Paper

*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: Sun, 12 Dec 2010 14:26:53 +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/12/t1292164323xeurkypxozdnsi5.htm/, Retrieved Sun, 12 Dec 2010 15:32:05 +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/12/t1292164323xeurkypxozdnsi5.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 «
25.2609 16.8622 13.3181 12.5621 14.2754 12.2961 10.0871 13.5117 13.9921 13.6932 14.4211 15.3397 16.5182 15.2809 15.6204 15.5698 15.9458 16.4063 17.55 17.0353 16.0591 16.3643 14.6527 13.4664 13.3266 13.1823 12.113 13.354 13.4537 13.2715 13.1959 13.5542 12.124 10.967 10.9201 12.5971 14.3177 14.2471 16.0926 17.1334 16.5866 16.361 15.8494 15.5932 16.6387 16.8312 16.5044 16.5556 16.7469 15.9543 15.5888 14.3945 13.8889 12.9999 14.1022 19.6245 24.7658 25.9843 22.9635 19.6288 17.3363 13.311 14.6359 15.834 16.2415 15.9808 16.9726 16.8708 16.923 18.1138 16.7716 14.0299 13.822 14.2537 14.3985 15.2454 15.6683 16.1721 14.8679 14.1948 14.7056 15.3819 15.5001 14.7886 14.563 15.5528 15.9781 15.5139 15.3603 15.0512 14.7874 14.9624 13.9188 14.5146 13.7115 12.0738 12.5688 12.2547 11.8741 13.0261 13.8681 14.2137 14.4743 13.9764 13.1558 13.0991 13.7831 13.2546 13.3426 13.5011 12.8245 13.6596 13.8754 12.9011 11.871 12 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'George Udny Yule' @ 72.249.76.132


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.3511426.03110
20.1588952.72910.003366
30.0140110.24060.405001
4-0.101345-1.74070.041394
5-0.138862-2.3850.008854
6-0.228436-3.92355.4e-05
7-0.116848-2.00690.022835
8-0.076127-1.30750.096025
9-0.056972-0.97850.164308
100.0724241.24390.107258
110.0762071.30890.095794
120.0053530.09190.463406
13-0.108757-1.8680.03138
14-0.083871-1.44050.075389
15-0.069778-1.19850.115848
16-0.157218-2.70030.003664
17-0.123882-2.12780.017093
18-0.063013-1.08230.140004
19-0.010163-0.17460.430775
20-0.007535-0.12940.448557
210.0464940.79860.212595
220.0915621.57260.058437
230.1042771.7910.037158
240.0196530.33750.367972
250.1512312.59750.004931
260.0619731.06440.144005
270.0268220.46070.322684
280.0113760.19540.422615
29-0.030325-0.52080.301431
300.0063970.10990.456292
31-0.075982-1.3050.096448
32-0.070139-1.20470.114646
33-0.01644-0.28240.38893
34-0.012045-0.20690.41812
350.06471.11130.133682
360.066891.14890.12577
370.0617421.06040.144904
38-0.015045-0.25840.398135
39-0.077787-1.3360.091283
40-0.041745-0.7170.236972
41-0.080243-1.37820.084589
42-0.063488-1.09040.138205
43-0.078095-1.34130.090424
44-0.024382-0.41880.337841
450.0305760.52520.299931
460.065281.12120.131554
470.1071321.84010.033382
480.0668921.14890.125763


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.3511426.03110
20.04060.69730.243071
3-0.06144-1.05530.146083
4-0.108109-1.85680.032166
5-0.074497-1.27950.100859
6-0.159839-2.74530.003208
70.024370.41860.337918
8-0.022529-0.38690.349539
9-0.047299-0.81240.208613
100.0844161.44990.074077
110.0050570.08690.465419
12-0.095451-1.63940.051096
13-0.138894-2.38560.008842
14-0.010888-0.1870.425893
15-0.024009-0.41240.340183
16-0.125665-2.15840.015853
17-0.056279-0.96660.167261
18-0.025659-0.44070.329872
19-0.028992-0.4980.309444
20-0.062227-1.06880.14302
21-0.001282-0.0220.491223
220.0012980.02230.491112
230.0457140.78520.216492
24-0.067297-1.15590.124337
250.147872.53980.005803
26-0.044396-0.76250.223179
270.0126250.21680.414239
280.0141240.24260.404246
29-0.041032-0.70470.240763
300.0153480.26360.396134
31-0.046813-0.8040.211011
32-0.052426-0.90040.18431
33-0.00179-0.03070.48775
340.0192150.330.370805
350.057110.98090.163723
360.0233320.40070.344453
370.0010360.01780.492911
38-0.031358-0.53860.29529
39-0.039663-0.68120.248129
400.0097110.16680.433823
41-0.003534-0.06070.475822
420.0041450.07120.471648
43-0.036577-0.62820.265171
44-0.014228-0.24440.403558
450.0098020.16840.433209
460.0271220.46580.320839
470.035470.60920.271423
48-0.027565-0.47340.318122
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/12/t1292164323xeurkypxozdnsi5/1ap411292164010.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/12/t1292164323xeurkypxozdnsi5/1ap411292164010.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/12/t1292164323xeurkypxozdnsi5/2ap411292164010.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/12/t1292164323xeurkypxozdnsi5/2ap411292164010.ps (open in new window)


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