Home » date » 2008 » Dec » 21 »

*Unverified author*
R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Sun, 21 Dec 2008 10:51:52 -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/21/t1229881949h73go4izwmhtsks.htm/, Retrieved Sun, 21 Dec 2008 18:52:29 +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/21/t1229881949h73go4izwmhtsks.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 «
1.0014 1.0183 1.0622 1.0773 1.0807 1.0848 1.1582 1.1663 1.1372 1.1139 1.1222 1.1692 1.1702 1.2286 1.2613 1.2646 1.2262 1.1985 1.2007 1.2138 1.2266 1.2176 1.2218 1.2490 1.2991 1.3408 1.3119 1.3014 1.3201 1.2938 1.2694 1.2165 1.2037 1.2292 1.2256 1.2015 1.1786 1.1856 1.2103 1.1938 1.2020 1.2271 1.2770 1.2650 1.2684 1.2811 1.2727 1.2611 1.2881 1.3213 1.2999 1.3074 1.3242 1.3516 1.3511 1.3419 1.3716 1.3622 1.3896 1.4227
 
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.2273151.7460.043005
2-0.193427-1.48570.071336
3-0.118167-0.90770.183876
40.1352531.03890.151546
50.0709450.54490.293924
6-0.253376-1.94620.028198
7-0.049308-0.37870.353118
80.0290880.22340.411987
90.0822410.63170.26501
100.0331950.2550.399815
110.0154980.1190.452824
12-0.014481-0.11120.455906
130.011840.09090.463923
140.1112430.85450.198149
15-0.078359-0.60190.274777
16-0.143999-1.10610.136591
170.0014910.01150.49545
180.0873350.67080.252472
190.0676220.51940.302708
20-0.060273-0.4630.322547
21-0.017643-0.13550.446333
220.0079290.06090.47582
23-0.014734-0.11320.455139
24-0.086828-0.66690.253706
25-0.190889-1.46620.073945
26-0.070172-0.5390.295958
270.019730.15160.440028
28-0.010655-0.08180.467524
29-0.084833-0.65160.25859
30-0.102837-0.78990.216373
310.0872380.67010.252708
32-0.091437-0.70230.242615
33-0.178683-1.37250.087553
340.010930.0840.466689
350.0994440.76380.224002
360.0653450.50190.308793
37-0.095081-0.73030.23404
380.0658850.50610.307345
390.045210.34730.364813
40-0.013789-0.10590.458003
41-0.059104-0.4540.325751
420.0266930.2050.419125
430.018960.14560.442354
44-0.125862-0.96680.168803
450.0390510.30.382632
460.0735590.5650.287101
470.0708970.54460.294051
48-0.017125-0.13150.447897
49-0.033078-0.25410.400161
500.0141770.10890.456828
51-0.031984-0.24570.403394
520.0287350.22070.413039
530.031420.24130.405064
540.0098370.07560.470012
55-0.008305-0.06380.474675
560.0202660.15570.438413
570.0295550.2270.410597
580.00650.04990.480175
59NANANA
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.2273151.7460.043005
2-0.258454-1.98520.025887
3-0.004615-0.03540.485922
40.1358561.04350.15048
5-0.038206-0.29350.385099
6-0.245308-1.88420.032231
70.1435811.10290.137282
8-0.116577-0.89540.187095
90.0680370.52260.301603
100.0714820.54910.292517
110.0185590.14260.443565
12-0.091108-0.69980.243396
130.1064750.81790.208366
140.0504190.38730.349972
15-0.151657-1.16490.124374
16-0.01584-0.12170.451787
170.0850120.6530.25815
18-0.074978-0.57590.28343
190.0965660.74170.230595
200.0146220.11230.455478
21-0.07303-0.5610.288477
22-0.027995-0.2150.415242
230.0209070.16060.436481
24-0.143976-1.10590.136629
25-0.148615-1.14150.12913
260.0470640.36150.359507
27-0.060021-0.4610.323236
28-0.129133-0.99190.162651
290.0420570.3230.3739
30-0.130363-1.00130.160377
31-0.008019-0.06160.475546
32-0.198181-1.52230.066644
33-0.094467-0.72560.235471
340.0851890.65440.257714
35-0.017543-0.13480.446634
360.0005820.00450.498224
370.0053060.04080.483815
380.0616910.47390.318676
39-0.088505-0.67980.249639
400.0237340.18230.427984
41-0.031995-0.24580.403362
420.0665740.51140.305502
43-0.031712-0.24360.404198
44-0.049343-0.3790.35302
450.0492720.37850.353222
460.0494280.37970.35278
470.0151280.11620.453943
48-0.058329-0.4480.327884
49-0.053296-0.40940.341875
50-0.048733-0.37430.354751
51-0.019365-0.14870.441131
520.0137740.10580.458051
53-0.006525-0.05010.480098
54-0.046118-0.35420.36221
55-0.05292-0.40650.342928
56-0.040648-0.31220.377985
57-0.119082-0.91470.182039
580.0210660.16180.436003
59NANANA
60NANANA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/21/t1229881949h73go4izwmhtsks/128uu1229881907.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/21/t1229881949h73go4izwmhtsks/128uu1229881907.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/21/t1229881949h73go4izwmhtsks/2y8nb1229881907.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/21/t1229881949h73go4izwmhtsks/2y8nb1229881907.ps (open in new window)


 
Parameters (Session):
par1 = 4 ;
 
Parameters (R input):
par1 = 60 ; 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