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 11:58:59 -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/t1230058781y1hc0y4078hhohl.htm/, Retrieved Tue, 23 Dec 2008 19:59:41 +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/t1230058781y1hc0y4078hhohl.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 time2 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.0334230.28560.388011
2-0.230803-1.9720.0262
3-0.031304-0.26750.394935
40.0451810.3860.350299
50.0579130.49480.311111
6-0.14447-1.23430.110516
7-0.122781-1.0490.14881
80.2711082.31630.011675
9-0.035663-0.30470.380728
10-0.268508-2.29410.012331
11-0.141061-1.20520.116005
120.2428032.07450.020779
130.0657270.56160.288065
14-0.224695-1.91980.029396
15-0.239264-2.04430.022267
160.1454861.2430.108917
170.0795740.67990.249365
18-0.124432-1.06320.145609
19-0.083701-0.71510.238401
200.1559431.33240.09344
210.1055190.90160.185128
22-0.014332-0.12250.451439
23-0.075568-0.64570.260265
240.2196021.87630.032307
250.054880.46890.320271
260.0005930.00510.497987
27-0.113835-0.97260.16698
28-0.011726-0.10020.460236
290.1036030.88520.189481
30-0.130209-1.11250.134785
31-0.146602-1.25260.10718
320.0551480.47120.319457
330.023910.20430.419348
340.0183760.1570.437838
35-0.033664-0.28760.387226
360.012290.1050.458328
37-0.025669-0.21930.413507
38-0.084277-0.72010.236892
39-0.111573-0.95330.171797
400.0513440.43870.331094
410.050090.4280.334967
420.0297720.25440.399962
43-0.057035-0.48730.313751
440.0067710.05780.477014
450.026040.22250.412277
460.0028350.02420.49037
47-0.002762-0.02360.490618
480.1131360.96660.168458


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.0334230.28560.388011
2-0.23218-1.98370.025523
3-0.014855-0.12690.449675
4-0.006973-0.05960.476329
50.0484540.4140.340048
6-0.148444-1.26830.10436
7-0.093792-0.80140.212762
80.2355152.01220.023942
9-0.127355-1.08810.14006
10-0.186175-1.59070.058002
11-0.145697-1.24480.108586
120.2048431.75020.042145
13-0.087068-0.74390.229659
14-0.164064-1.40180.082611
15-0.208404-1.78060.039569
160.041450.35410.362124
17-0.07954-0.67960.249456
18-0.072213-0.6170.269582
19-0.026681-0.2280.410156
20-0.027611-0.23590.407083
21-0.036796-0.31440.377062
220.0932250.79650.214157
230.0833020.71170.23945
240.07790.66560.253891
25-0.139278-1.190.118953
260.1815251.55090.06262
270.0080210.06850.472776
28-0.101091-0.86370.195284
29-0.041166-0.35170.36303
30-0.114422-0.97760.165745
31-0.041613-0.35550.361605
32-0.117035-0.99990.16032
330.039750.33960.367556
34-0.018898-0.16150.436088
350.0587630.50210.308563
36-0.009255-0.07910.468595
37-0.023336-0.19940.421259
38-0.073475-0.62780.266055
39-0.078408-0.66990.252513
400.0217940.18620.4264
41-0.048956-0.41830.338485
42-0.00401-0.03430.48638
43-0.129033-1.10250.136943
44-0.029888-0.25540.39958
45-0.090516-0.77340.2209
46-0.096318-0.82290.20661
47-0.040896-0.34940.363892
480.0123070.10510.458273
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/23/t1230058781y1hc0y4078hhohl/130sd1230058734.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/23/t1230058781y1hc0y4078hhohl/130sd1230058734.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/23/t1230058781y1hc0y4078hhohl/2xgml1230058734.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/23/t1230058781y1hc0y4078hhohl/2xgml1230058734.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 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