Home » date » 2008 » Dec » 23 »

*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: Tue, 23 Dec 2008 07:12:48 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2008/Dec/23/t1230041619i60ljb5abhmtmzo.htm/, Retrieved Tue, 23 Dec 2008 15:13:40 +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/2008/Dec/23/t1230041619i60ljb5abhmtmzo.htm/},
    year = {2008},
}
@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 = {2008},
    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 «
104,3 103,9 103,9 103,9 108,0 108,0 108,0 108,0 108,0 108,0 108,0 108,0 108,0 108,0 108,0 108,0 108,0 108,0 108,0 108,0 108,0 108,0 108,0 108,0 108,0 108,0 108,0 108,2 112,3 111,3 111,3 115,3 117,2 118,3 118,3 118,3 119,0 120,6 122,6 122,6 127,4 125,9 121,5 118,8 121,6 122,3 122,7 120,8 120,1 120,1 120,1 120,1 128,4 129,8 129,8 128,6 128,6 133,7 130,0 125,9 129,4 129,4 130,6 130,6 130,6 130,8 129,7 125,8 126,0 125,6 125,4 124,7 126,9 129,1
 
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
018.5440
10.0334230.28560.388011
2-0.230803-1.9720.9738
3-0.031304-0.26750.605065
40.0451810.3860.350299
50.0579130.49480.311111
6-0.14447-1.23430.889484
7-0.122781-1.0490.85119
80.2711082.31630.011675
9-0.035663-0.30470.619272
10-0.268508-2.29410.987669
11-0.141061-1.20520.883995
120.2428032.07450.020779
130.0657270.56160.288065
14-0.224695-1.91980.970604
15-0.239264-2.04430.977733
160.1454861.2430.108917
170.0795740.67990.249365
18-0.124432-1.06320.854391
19-0.083701-0.71510.761599
200.1559431.33240.09344
210.1055190.90160.185128
22-0.014332-0.12250.548561
23-0.075568-0.64570.739735
240.2196021.87630.032307
250.054880.46890.320271
260.0005930.00510.497987
27-0.113835-0.97260.83302
28-0.011726-0.10020.539764
290.1036030.88520.189481
30-0.130209-1.11250.865215
31-0.146602-1.25260.89282
320.0551480.47120.319457
330.023910.20430.419348
340.0183760.1570.437838
35-0.033664-0.28760.612774
360.012290.1050.458328
37-0.025669-0.21930.586493
38-0.084277-0.72010.763108
39-0.111573-0.95330.828203
400.0513440.43870.331094
410.050090.4280.334967
420.0297720.25440.399962
43-0.057035-0.48730.686249
440.0067710.05780.477014
450.026040.22250.412277
460.0028350.02420.49037
47-0.002762-0.02360.509382


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
00.0334230.28560.388011
1-0.23218-1.98370.974477
2-0.014855-0.12690.550325
3-0.006973-0.05960.523671
40.0484540.4140.340048
5-0.148444-1.26830.89564
6-0.093792-0.80140.787238
70.2355152.01220.023942
8-0.127355-1.08810.85994
9-0.186175-1.59070.941998
10-0.145697-1.24480.891414
110.2048431.75020.042145
12-0.087068-0.74390.770341
13-0.164064-1.40180.917389
14-0.208404-1.78060.960431
150.041450.35410.362124
16-0.07954-0.67960.750544
17-0.072213-0.6170.730418
18-0.026681-0.2280.589844
19-0.027611-0.23590.592917
20-0.036796-0.31440.622938
210.0932250.79650.214157
220.0833020.71170.23945
230.07790.66560.253891
24-0.139278-1.190.881047
250.1815251.55090.06262
260.0080210.06850.472776
27-0.101091-0.86370.804716
28-0.041166-0.35170.63697
29-0.114422-0.97760.834255
30-0.041613-0.35550.638395
31-0.117035-0.99990.83968
320.039750.33960.367556
33-0.018898-0.16150.563912
340.0587630.50210.308563
35-0.009255-0.07910.531405
36-0.023336-0.19940.578741
37-0.073475-0.62780.733945
38-0.078408-0.66990.747487
390.0217940.18620.4264
40-0.048956-0.41830.661515
41-0.00401-0.03430.51362
42-0.129033-1.10250.863057
43-0.029888-0.25540.60042
44-0.090516-0.77340.7791
45-0.096318-0.82290.79339
46-0.040896-0.34940.636108
470.0123070.10510.458273
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/23/t1230041619i60ljb5abhmtmzo/1wkft1230041566.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/23/t1230041619i60ljb5abhmtmzo/1wkft1230041566.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/23/t1230041619i60ljb5abhmtmzo/2wesr1230041566.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/23/t1230041619i60ljb5abhmtmzo/2wesr1230041566.ps (open in new window)


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