Home » date » 2009 » Nov » 27 »

Shw8: Method 1 ACF (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: Fri, 27 Nov 2009 04:30:08 -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/Nov/27/t1259321459di00gt9zldyotf5.htm/, Retrieved Fri, 27 Nov 2009 12:31:02 +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/Nov/27/t1259321459di00gt9zldyotf5.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:
Method 1 ACF (2)
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
0.7461 0.7775 0.7790 0.7744 0.7905 0.7719 0.7811 0.7557 0.7637 0.7595 0.7471 0.7615 0.7487 0.7389 0.7337 0.7510 0.7382 0.7159 0.7542 0.7636 0.7433 0.7658 0.7627 0.7480 0.7692 0.7850 0.7913 0.7720 0.7880 0.8070 0.8268 0.8244 0.8487 0.8572 0.8214 0.8827 0.9216 0.8865 0.8816 0.8884 0.9466 0.9180 0.9337 0.9559 0.9626 0.9434 0.8639 0.7996 0.6680 0.6572 0.6928 0.6438 0.6454 0.6873 0.7265 0.7912 0.8114 0.8281 0.8393
 
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
10.9237186.33270
20.8116285.56421e-06
30.7275814.9884e-06
40.6083034.17036.5e-05
50.4434613.04020.001928
60.293162.00980.025106
70.1640061.12440.133283
80.0303780.20830.417963
9-0.07369-0.50520.307892
10-0.143844-0.98610.164556
11-0.212328-1.45560.076069
12-0.278663-1.91040.031096
13-0.291241-1.99660.025837
14-0.277204-1.90040.031761
15-0.297193-2.03740.023629
16-0.318401-2.18280.017038
17-0.307313-2.10680.020249
18-0.298896-2.04910.023027
19-0.307184-2.10590.020289
20-0.292087-2.00240.025512
21-0.27054-1.85470.034957
22-0.266252-1.82530.037154
23-0.249688-1.71180.046765
24-0.218587-1.49860.070338
25-0.189887-1.30180.099664
26-0.17672-1.21150.115875
27-0.154715-1.06070.14713
28-0.119961-0.82240.207499
29-0.091099-0.62450.267646
30-0.061439-0.42120.337764
31-0.024283-0.16650.434247
320.0041750.02860.488644
330.0226620.15540.438601
340.0462270.31690.376354
350.0563960.38660.350388
360.0543890.37290.355459


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.9237186.33270
2-0.283669-1.94470.028902
30.2017571.38320.086573
4-0.448314-3.07350.001758
5-0.179495-1.23060.112306
6-0.0259-0.17760.429914
7-0.059321-0.40670.343043
8-0.018483-0.12670.449854
90.196621.3480.092066
10-0.079963-0.54820.293075
11-0.06442-0.44160.330387
12-0.137999-0.94610.174475
130.21911.50210.069883
14-0.105343-0.72220.236877
15-0.174066-1.19330.119364
16-0.06255-0.42880.335007
17-0.06068-0.4160.339651
18-0.050191-0.34410.366155
190.0575220.39440.347552
200.0847550.5810.281992
21-0.080195-0.54980.292532
22-0.030297-0.20770.418177
23-0.027446-0.18820.42578
24-0.128312-0.87970.191758
250.1543611.05820.147676
26-0.161926-1.11010.136299
27-0.014028-0.09620.461896
28-0.012465-0.08550.466131
290.0451190.30930.379222
300.0720330.49380.311861
31-0.009062-0.06210.475362
32-0.057896-0.39690.346613
33-0.002404-0.01650.49346
34-0.172787-1.18460.121071
35-0.055884-0.38310.35168
360.056340.38620.350528
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Nov/27/t1259321459di00gt9zldyotf5/1sot91259321407.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/27/t1259321459di00gt9zldyotf5/1sot91259321407.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/27/t1259321459di00gt9zldyotf5/2v22x1259321407.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/27/t1259321459di00gt9zldyotf5/2v22x1259321407.ps (open in new window)


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