Home » date » 2010 » Dec » 24 »

*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 12:12:12 +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/t1293192620714p4jnn6ty5vqq.htm/, Retrieved Fri, 24 Dec 2010 13:10:22 +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/t1293192620714p4jnn6ty5vqq.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 «
1143.94 1227.85 1261.26 1408.95 1162.58 1259.39 1253.85 1475.32 1211.75 1303.83 1299.37 1430.73 1244.95 1318.58 1318.74 1525.05 1275.88 1360.09 1349.81 1574.04 1294.58 1380.60 1369.22 1565.98 1338.96 1457.57 1456.21 1654.44 1428.47 1530.39 1514.13 1698.25 1454.22 1578.06 1526.53 1714.21 1492.86 1593.42 1555.50 1820.55 1534.57 1636.03 1594.58 1805.13 1565.37 1679.57 1638.26 1854.64 1628.72 1744.97 1694.35 1920.88 1680.26 1778.62 1740.89 2010.56
 
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'Gwilym Jenkins' @ 72.249.127.135


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.2694311.94290.028726
20.1780411.28390.102439
30.0870020.62740.266578
4-0.321452-2.3180.012208
5-0.091348-0.65870.25649
6-0.115837-0.83530.203683
7-0.07014-0.50580.307573
8-0.096904-0.69880.243899
90.0226130.16310.435548
100.1143770.82480.206631
110.1032650.74470.229917
120.142731.02920.154065
13-0.009316-0.06720.473349
14-0.076651-0.55270.291404
15-0.17275-1.24570.109226
16-0.181935-1.3120.097649
17-0.165515-1.19350.119037
18-0.090362-0.65160.258761
19-0.040293-0.29060.386272
200.0602510.43450.332871
210.0942560.67970.249858
220.0418040.30140.382137
230.0893990.64470.26099
240.1564591.12820.132199
25-0.005936-0.04280.483009
260.044380.320.375115
270.0112340.0810.467872
28-0.180072-1.29850.099919
290.0606980.43770.331709
300.0764730.55150.291842
310.0514220.37080.356143
320.118860.85710.197658
33-0.052259-0.37680.353911
34-0.03785-0.27290.392989
35-0.090224-0.65060.259081
36-0.039225-0.28290.389206
37-0.007445-0.05370.478695
38-0.05085-0.36670.357672
39-0.004713-0.0340.486509
400.0241630.17420.431175
41-0.036736-0.26490.396065
42-0.023902-0.17240.431913
43-0.043009-0.31010.378845
44-0.113884-0.82120.207633
45-0.035212-0.25390.40028
46-0.025397-0.18310.427701
470.0048070.03470.48624
480.0185690.13390.446998
49-0.051472-0.37120.356009
50-0.01389-0.10020.460299
51-0.025654-0.1850.426978
52NANANA
53NANANA
54NANANA
55NANANA
56NANANA
57NANANA
58NANANA
59NANANA
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.2694311.94290.028726
20.1137020.81990.208003
30.0151310.10910.456767
4-0.399642-2.88190.002867
50.0799850.57680.283288
60.0007530.00540.497844
70.0371920.26820.394805
8-0.264048-1.90410.03122
90.1538821.10970.136126
100.1289990.93020.178276
110.0877760.6330.264765
12-0.134379-0.9690.16851
13-0.050432-0.36370.35879
14-0.00951-0.06860.472794
15-0.085143-0.6140.270954
16-0.119962-0.86510.195491
17-0.102324-0.73790.231955
180.0723470.52170.302046
19-0.059704-0.43050.334295
200.0546170.39380.347651
21-0.069406-0.50050.309419
22-0.000785-0.00570.497751
23-0.012291-0.08860.464859
240.2721021.96220.027553
25-0.165237-1.19150.119425
260.0511670.3690.356823
27-0.016577-0.11950.452655
280.035340.25480.399925
290.0752490.54260.294853
300.074710.53870.296183
31-0.030427-0.21940.413595
32-0.050265-0.36250.359236
33-0.084636-0.61030.272155
340.0110070.07940.46852
35-0.052331-0.37740.353719
36-0.045339-0.32690.372512
370.0480430.34640.365203
380.0111840.08060.468017
390.0132890.09580.462012
400.0383280.27640.391672
41-0.10223-0.73720.23216
42-0.041945-0.30250.38175
43-0.027045-0.1950.423066
44-0.036704-0.26470.396152
450.0352660.25430.400131
460.0149310.10770.457335
470.0056720.04090.483767
48-0.055795-0.40230.34454
49-0.10485-0.75610.226505
50-0.112428-0.81070.210608
510.0430590.31050.378709
52NANANA
53NANANA
54NANANA
55NANANA
56NANANA
57NANANA
58NANANA
59NANANA
60NANANA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/24/t1293192620714p4jnn6ty5vqq/1ioc21293192729.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/24/t1293192620714p4jnn6ty5vqq/1ioc21293192729.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/24/t1293192620714p4jnn6ty5vqq/2ioc21293192729.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/24/t1293192620714p4jnn6ty5vqq/2ioc21293192729.ps (open in new window)


 
Parameters (Session):
par1 = 60 ; par2 = 1 ; par3 = 0 ; par4 = 1 ; par5 = 4 ; par6 = White Noise ; par7 = 95% ;
 
Parameters (R input):
par1 = 60 ; par2 = 1 ; par3 = 0 ; par4 = 1 ; par5 = 4 ; par6 = White Noise ; par7 = 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 (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='lags',ylab='ACF')
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