Home » date » 2010 » Dec » 24 »

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: Fri, 24 Dec 2010 13:07:49 +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/t1293195949yupc6zam7v54k0q.htm/, Retrieved Fri, 24 Dec 2010 14:05:49 +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/t1293195949yupc6zam7v54k0q.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 «
3494,17 3667,03 3813,06 3917,96 3895,51 3801,06 3570,12 3701,61 3862,27 3970,1 4138,52 4199,75 4290,89 4443,91 4502,64 4356,98 4591,27 4696,96 4621,4 4562,84 4202,52 4296,49 4435,23 4105,18 4116,68 3844,49 3720,98 3674,4 3857,62 3801,06 3504,37 3032,6 3047,03 2962,34 2197,82 2014,45 1862,83 1905,41 1810,99 1670,07 1864,44 2052,02 2029,6 2070,83 2293,41 2443,27 2513,17 2466,92 2502,66 2539,91 2482,6 2626,15 2656,32 2446,66 2467,38 2462,32 2504,58 2579,39 2649,24 2636,87
 
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'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.9759767.55990
20.9411567.29020
30.9029856.99450
40.8548816.62190
50.7981786.18270
60.7325615.67440
70.6681555.17551e-06
80.6070974.70268e-06
90.5397164.18064.8e-05
100.4701783.6420.000283
110.4068773.15170.001267
120.3377482.61620.005616
130.2698732.09040.020412
140.2057281.59360.058145
150.1385181.0730.143793
160.0724310.5610.288428
170.0005770.00450.498225
18-0.065126-0.50450.307892
19-0.121881-0.94410.174455
20-0.184177-1.42660.079435
21-0.24266-1.87960.032508
22-0.291542-2.25830.013789
23-0.332207-2.57330.006282
24-0.366087-2.83570.003112
25-0.393567-3.04860.001709
26-0.414457-3.21040.001065
27-0.419426-3.24890.00095
28-0.421707-3.26650.000901
29-0.427034-3.30780.000796
30-0.426067-3.30030.000814
31-0.422338-3.27140.000888
32-0.412588-3.19590.001112
33-0.40344-3.1250.001369
34-0.393141-3.04530.001725
35-0.377029-2.92050.002459
36-0.357189-2.76680.003758


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.9759767.55990
2-0.239571-1.85570.034204
3-0.040262-0.31190.37811
4-0.221752-1.71770.045506
5-0.135693-1.05110.148719
6-0.178918-1.38590.085455
70.0902950.69940.243495
80.0618940.47940.316688
9-0.144249-1.11730.13415
10-0.041222-0.31930.375303
110.0821460.63630.263501
12-0.2566-1.98760.025712
130.0570410.44180.330096
140.0290150.22470.411469
15-0.158972-1.23140.11149
16-0.058074-0.44980.327225
17-0.172683-1.33760.093038
180.1376521.06620.145292
190.0151540.11740.453475
20-0.172392-1.33530.093404
210.1060570.82150.207304
22-0.019079-0.14780.441502
230.0683350.52930.299268
240.0222270.17220.431943
250.0625010.48410.315029
26-0.002629-0.02040.491911
270.1154030.89390.187471
28-0.061849-0.47910.316811
29-0.191287-1.48170.071826
30-0.045421-0.35180.3631
310.0793050.61430.270671
320.0390990.30290.381523
33-0.098963-0.76660.223174
340.0633290.49050.312768
35-0.022866-0.17710.430005
360.0479650.37150.355775
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/24/t1293195949yupc6zam7v54k0q/1goe11293196066.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/24/t1293195949yupc6zam7v54k0q/1goe11293196066.ps (open in new window)


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


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