Home » date » 2008 » Dec » 07 »

workshop8, step2, ACF D=1

*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: Sun, 07 Dec 2008 09:22:50 -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/07/t1228667029n6gwqkh6yhym26h.htm/, Retrieved Sun, 07 Dec 2008 16:23:49 +0000
 
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/07/t1228667029n6gwqkh6yhym26h.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},
}
 
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
 
Feedback Forum:
2008-11-27 13:41:43 [a2386b643d711541400692649981f2dc] [reply
test

Post a new message
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
7.5 7.2 6.9 6.7 6.4 6.3 6.8 7.3 7.1 7.1 6.8 6.5 6.3 6.1 6.1 6.3 6.3 6 6.2 6.4 6.8 7.5 7.5 7.6 7.6 7.4 7.3 7.1 6.9 6.8 7.5 7.6 7.8 8 8.1 8.2 8.3 8.2 8 7.9 7.6 7.6 8.2 8.3 8.4 8.4 8.4 8.6 8.9 8.8 8.3 7.5 7.2 7.5 8.8 9.3 9.3 8.7 8.2 8.3 8.5 8.6 8.6 8.2 8.1 8 8.6 8.7 8.8 8.5 8.4 8.5 8.7 8.7 8.6 8.5 8.3 8.1 8.2 8.1 8.1 7.9 7.9 7.9 8 8 7.9 8 7.7 7.2 7.5 7.3 7 7 7 7.2 7.3 7.1 6.8 6.6 6.2 6.2 6.8 6.9 6.8 6.7
 
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.4715054.5478e-06
2-0.079734-0.76890.221941
3-0.483994-4.66755e-06
4-0.479357-4.62276e-06
5-0.116715-1.12560.131625
60.1619441.56170.060874
70.2767432.66880.004491
80.2681442.58590.005633
90.1596881.540.063481
10-0.042511-0.410.341389
11-0.159931-1.54230.063196
12-0.244093-2.3540.01034
13-0.063365-0.61110.271322
140.107521.03690.151239
150.1302521.25610.106112
160.0847930.81770.207805
17-0.055581-0.5360.296619
18-0.013539-0.13060.448201
19-0.0355-0.34230.366432
200.0278630.26870.394379
21-0.015628-0.15070.440266
22-0.044207-0.42630.335433
23-0.014479-0.13960.444626
24-0.029822-0.28760.38715
250.0327440.31580.37644
260.0454660.43850.331036
27-0.006611-0.06380.47465
28-0.108659-1.04790.148707
29-0.170999-1.64910.051256
30-0.188142-1.81440.036422
310.0615310.59340.277181
320.3092782.98260.001825
330.3478443.35450.000576
340.1490381.43730.076999
35-0.245588-2.36840.009968
36-0.42144-4.06425e-05
37-0.343166-3.30940.000666
380.042220.40720.342414
390.2784482.68530.004291
400.3230043.11490.001223
410.2073011.99910.024256
42-0.033098-0.31920.375149
43-0.19052-1.83730.034679
44-0.287416-2.77170.003367
45-0.185351-1.78750.03856
46-0.008225-0.07930.468476
470.1836871.77140.039883
480.2062941.98940.024796
490.1356611.30830.097003
50-0.039144-0.37750.353336
51-0.108269-1.04410.149572
52-0.083777-0.80790.2106
53-0.041065-0.3960.3465
540.0385490.37180.355461
550.0176770.17050.432503
56-0.01375-0.13260.4474
57-0.06922-0.66750.253044
58-0.077567-0.7480.228165
59-0.004739-0.04570.481825
600.0262870.25350.400219


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.4715054.5478e-06
2-0.388399-3.74560.000156
3-0.376556-3.63140.000231
4-0.118342-1.14130.128348
50.1062831.0250.154021
6-0.092036-0.88760.188532
7-0.011908-0.11480.454412
80.1840031.77450.03963
90.149881.44540.075855
10-0.07731-0.74550.228911
110.0515050.49670.310289
12-0.050655-0.48850.313172
130.1551611.49630.068978
14-0.027566-0.26580.395475
15-0.125709-1.21230.114235
160.0140080.13510.446418
17-0.028693-0.27670.39131
180.1224151.18050.120401
19-0.156481-1.5090.067339
200.119061.14820.126921
21-0.042023-0.40530.343109
22-0.034126-0.32910.371411
230.0149260.14390.442927
24-0.095296-0.9190.180236
250.111361.07390.142819
26-0.00409-0.03940.484313
27-0.154625-1.49120.069653
28-0.129042-1.24440.108233
29-0.120235-1.15950.12461
30-0.082376-0.79440.214491
310.1297291.25110.107025
320.2238022.15830.016741
330.1054971.01740.155807
34-0.026228-0.25290.400438
35-0.030229-0.29150.385653
36-0.095365-0.91970.180063
37-0.052498-0.50630.306932
380.1732621.67090.049054
39-0.141284-1.36250.088167
40-0.057589-0.55540.289987
410.0840370.81040.209883
42-0.025916-0.24990.401598
43-0.008549-0.08240.467235
44-0.013746-0.13260.447411
450.0851490.82110.206831
46-0.092839-0.89530.186467
47-0.050671-0.48860.31312
48-0.008972-0.08650.465617
490.0375490.36210.359047
500.0706180.6810.248778
51-0.012597-0.12150.451785
52-0.095128-0.91740.180658
530.0899510.86750.193962
54-0.037894-0.36540.357809
550.0056480.05450.478342
56-0.086967-0.83870.2019
57-0.061593-0.5940.276984
58-0.086318-0.83240.203653
59-0.02142-0.20660.418399
60-0.05282-0.50940.305846
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/07/t1228667029n6gwqkh6yhym26h/1gowd1228666965.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/07/t1228667029n6gwqkh6yhym26h/1gowd1228666965.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/07/t1228667029n6gwqkh6yhym26h/2ua3j1228666965.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/07/t1228667029n6gwqkh6yhym26h/2ua3j1228666965.ps (open in new window)


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