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:03:15 +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/t1293192076gdw9urkll6nfgp0.htm/, Retrieved Fri, 24 Dec 2010 13:01:17 +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/t1293192076gdw9urkll6nfgp0.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'RServer@AstonUniversity' @ vre.aston.ac.uk


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.5762224.31213.3e-05
20.6894245.15922e-06
30.4965793.71610.000234
40.8175366.11790
50.4329483.23990.001007
60.535764.00939.1e-05
70.345442.5850.006184
80.6460134.83435e-06
90.2944362.20340.01585
100.3891562.91220.002573
110.2160021.61640.055813
120.4923833.68470.000259
130.1626511.21720.114322
140.2443031.82820.036424
150.0796560.59610.276758
160.3418362.55810.006629
170.0329610.24670.403037
180.104370.7810.219035
19-0.045252-0.33860.368076
200.1903091.42410.079976
21-0.078052-0.58410.280754
22-0.018319-0.13710.445728
23-0.158567-1.18660.120197
240.0488650.36570.357993
25-0.19746-1.47770.072552
26-0.147632-1.10480.136991
27-0.266569-1.99480.025469
28-0.076529-0.57270.284573
29-0.287766-2.15340.017802
30-0.237128-1.77450.040708
31-0.33473-2.50490.007593
32-0.152276-1.13950.129667
33-0.331859-2.48340.008017
34-0.279316-2.09020.020576
35-0.355182-2.65790.005114
36-0.189217-1.4160.081162
37-0.342891-2.5660.006496
38-0.302417-2.26310.013763
39-0.363296-2.71870.004355
40-0.216546-1.62050.055373
41-0.332117-2.48530.007978
42-0.29523-2.20930.01563
43-0.33552-2.51080.00748
44-0.216632-1.62110.055304
45-0.29491-2.20690.015719
46-0.260088-1.94630.02832
47-0.285935-2.13970.018374
48-0.176356-1.31970.096148
49-0.23694-1.77310.040825
50-0.202319-1.5140.067823
51-0.203946-1.52620.066295
52-0.108443-0.81150.210253
53-0.12707-0.95090.17287
54-0.099608-0.74540.229573
55-0.080735-0.60420.274086
56NANANA
57NANANA
58NANANA
59NANANA
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.5762224.31213.3e-05
20.5350434.00399.3e-05
30.0074790.0560.477782
40.6600944.93974e-06
5-0.498739-3.73220.000223
6-0.088401-0.66150.255493
70.0595260.44550.328854
80.1403571.05030.149037
9-0.14332-1.07250.144047
10-0.077621-0.58090.281831
110.0767470.57430.284024
12-0.002115-0.01580.493713
13-0.118406-0.88610.189685
14-0.062211-0.46550.321674
150.0098970.07410.470611
160.0250930.18780.425866
17-0.086653-0.64850.259671
18-0.057643-0.43140.333931
190.0250580.18750.425968
20-0.081022-0.60630.273378
210.0432770.32390.373628
22-0.057133-0.42750.335311
23-0.05922-0.44320.329679
24-0.072802-0.54480.294027
25-0.051201-0.38320.351529
26-0.020294-0.15190.439918
27-0.004998-0.03740.485148
28-0.032235-0.24120.405131
290.0011980.0090.496439
30-0.002025-0.01520.493983
31-0.017035-0.12750.449511
32-0.003778-0.02830.488772
33-0.003651-0.02730.48915
340.0100660.07530.470111
350.0025690.01920.492364
36-0.030429-0.22770.410352
37-0.020958-0.15680.437968
38-0.053593-0.40110.344954
39-0.004425-0.03310.486851
40-0.033911-0.25380.400302
410.0676320.50610.307383
42-0.012527-0.09370.462822
43-0.020548-0.15380.439174
44-0.077806-0.58220.281369
450.0655560.49060.312823
460.0306740.22950.409641
47-0.0453-0.3390.367941
480.0397790.29770.383525
49-0.029459-0.22040.413162
500.022960.17180.4321
510.0518230.38780.349814
52-0.004257-0.03190.487351
530.1225660.91720.181486
54-0.0192-0.14370.443136
550.0371680.27810.390964
56NANANA
57NANANA
58NANANA
59NANANA
60NANANA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/24/t1293192076gdw9urkll6nfgp0/1k9lj1293192191.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/24/t1293192076gdw9urkll6nfgp0/1k9lj1293192191.ps (open in new window)


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


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