Home » date » 2010 » Dec » 24 »

ACFKoffie2d1

*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, 24 Dec 2010 10:21:46 +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/24/t1293186058wgweoxs7db7z42q.htm/, Retrieved Fri, 24 Dec 2010 11:20:58 +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/24/t1293186058wgweoxs7db7z42q.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 «
7.14 7.24 7.33 7.61 7.66 7.69 7.7 7.68 7.71 7.71 7.72 7.68 7.72 7.74 7.76 7.9 7.97 7.96 7.95 7.97 7.93 7.99 7.96 7.92 7.97 7.98 8 8.04 8.17 8.29 8.26 8.3 8.32 8.28 8.27 8.32 8.31 8.34 8.32 8.36 8.33 8.35 8.34 8.37 8.31 8.33 8.34 8.25 8.27 8.31 8.25 8.3 8.3 8.35 8.78 8.9
 
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'RServer@AstonUniversity' @ vre.aston.ac.uk


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.2270811.68410.048917
20.0647550.48020.316481
30.092960.68940.246732
4-0.120291-0.89210.188113
5-0.052912-0.39240.348136
6-0.019485-0.14450.442817
7-0.150585-1.11680.134475
8-0.098138-0.72780.234909
9-0.039389-0.29210.385648
10-0.08533-0.63280.264736
110.0084480.06270.475136
120.0678780.50340.308348
130.0944930.70080.243198
140.0161350.11970.452594
15-0.056546-0.41940.338295
16-0.051277-0.38030.3526
17-0.06253-0.46370.322334
18-0.0974-0.72230.236574
19-0.073339-0.54390.294354
20-0.067162-0.49810.310203
21-0.120824-0.89610.187064
22-0.043057-0.31930.375348
23-0.002135-0.01580.493713
24-0.00805-0.05970.476304
250.193711.43660.07825
260.2171451.61040.056518
270.0953560.70720.241221
280.0135910.10080.460039
29-0.043761-0.32450.373381
300.0043720.03240.487127
31-0.118894-0.88170.190877
32-0.114023-0.84560.200715
330.0211420.15680.43799
34-0.06999-0.51910.302901
35-0.082491-0.61180.271605
36-0.023515-0.17440.431098
37-0.090008-0.66750.253617
380.0349380.25910.39826
390.1133870.84090.202022
400.01760.13050.448315
41-0.06672-0.49480.311354
42-0.021596-0.16020.436669
43-0.105973-0.78590.217646
44-0.133689-0.99150.1629
45-0.070001-0.51910.302872
46-0.035608-0.26410.396354
47-0.125037-0.92730.178912
48-0.040513-0.30050.382482


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.2270811.68410.048917
20.0139070.10310.459115
30.0794110.58890.279159
4-0.168514-1.24970.108345
50.0072240.05360.478734
6-0.009899-0.07340.470873
7-0.125262-0.9290.178482
8-0.055387-0.41080.341423
9-0.0052-0.03860.484687
10-0.052473-0.38920.349333
110.0185520.13760.445536
120.0467940.3470.364946
130.0826760.61310.271156
14-0.069134-0.51270.305104
15-0.085967-0.63760.263206
16-0.030512-0.22630.410909
17-0.034352-0.25480.399928
18-0.082389-0.6110.271854
19-0.04098-0.30390.38117
20-0.022474-0.16670.434121
21-0.100165-0.74280.230368
22-0.026785-0.19860.421637
23-0.001049-0.00780.496911
24-0.027539-0.20420.419463
250.1500691.11290.135287
260.1202410.89170.188211
270.0173870.12890.448934
28-0.091054-0.67530.251165
29-0.050841-0.3770.353794
300.0686960.50950.306232
31-0.152358-1.12990.131707
32-0.054359-0.40310.344205
330.120110.89080.18847
34-0.032936-0.24430.40397
35-0.09922-0.73580.23248
36-0.045694-0.33890.367996
37-0.067307-0.49920.309828
38-0.020195-0.14980.440747
390.0133680.09910.460693
400.0408040.30260.381664
41-0.110782-0.82160.207431
42-0.034007-0.25220.400913
43-0.071889-0.53310.298042
44-0.092228-0.6840.248429
45-0.081605-0.60520.273768
460.0276440.2050.419159
47-0.111286-0.82530.206378
48-0.040722-0.3020.381896
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/24/t1293186058wgweoxs7db7z42q/1nkje1293186102.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/24/t1293186058wgweoxs7db7z42q/1nkje1293186102.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/24/t1293186058wgweoxs7db7z42q/2nkje1293186102.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/24/t1293186058wgweoxs7db7z42q/2nkje1293186102.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