Home » date » 2008 » Dec » 11 »

autocorrelation

*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: Thu, 11 Dec 2008 10:56: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/11/t12290183005d7zjfs5qakqesv.htm/, Retrieved Thu, 11 Dec 2008 17:58:20 +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/11/t12290183005d7zjfs5qakqesv.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:

Post a new message
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
1375.06 1334.38 1335.61 1307.24 1183.2 1187.79 1270.81 1238.67 1204.45 1178.5 1044.64 1076.59 1129.68 1144.93 1140.21 1100.29 1153.79 1114.2 1079.27 1014.05 903.69 912.55 867.81 854.54 911.17 899.26 895.87 837.61 846.62 890.19 935.96 988 992.55 989.53 1019.44 1038.73 1049.9 1080.64 1132.52 1143.37 1123.98 1133.07 1102.78 1132.76 1105.85 1088.93 1117.66 1118.07 1168.94 1199.21 1181.4 1199.63 1194.9 1164.42 1178.28 1202.25 1222.24 1224.27 1225.91 1191.96 1237.37 1262.07 1278.72 1276.65 1293.83 1302.18 1290 1253.12 1260.24 1287.15 1317.81 1363.38 1388.63 1416.42 1424.16 1444.65 1406.95 1463.65 1511.14 1514.49 1520.98 1454.62 1497.12 1539.66 1463.39 1479.23 1378.76 1354.87 1316.94 1370.47 1403.22 1341.25 1257.33 1281.47 1216.93 969.13 883.04
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.2155852.11230.018629
2-0.012303-0.12050.452153
30.1058711.03730.151096
40.0100590.09860.460848
50.1212071.18760.118964
60.022440.21990.413223
70.0876330.85860.196344
80.0929870.91110.182266
90.0582820.5710.284653
100.1215931.19140.118224
110.0347650.34060.367066
12-0.008621-0.08450.46643
13-0.026514-0.25980.397792
14-0.009856-0.09660.461634
150.0099590.09760.461235
16-0.020875-0.20450.419184
170.0142750.13990.444529
180.0002150.00210.499163
190.0326250.31970.374961
20-0.062187-0.60930.271882
21-0.10801-1.05830.146292
220.0042910.0420.483276
23-0.000636-0.00620.49752
24-0.05969-0.58480.280015
250.0060830.05960.476297
26-0.073165-0.71690.237597
27-0.029221-0.28630.387632
28-0.041909-0.41060.341133
29-0.023116-0.22650.41065
30-0.04926-0.48260.315223
31-0.03569-0.34970.36367
320.0346710.33970.367409
33-0.046318-0.45380.325489
34-0.02412-0.23630.40684
35-0.053411-0.52330.30098
36-0.004865-0.04770.481041
37-0.005053-0.04950.480308
38-0.085716-0.83980.201541
39-0.012841-0.12580.45007
40-0.000209-0.0020.499186
41-0.008685-0.08510.466183
420.0442290.43340.332863
43-0.016054-0.15730.437669
44-0.022083-0.21640.414581
45-0.04507-0.44160.32989
46-0.051794-0.50750.306494
47-0.079719-0.78110.218336
48-0.024766-0.24270.404394
490.0051840.05080.479799
50-0.069823-0.68410.247773
51-0.058444-0.57260.284117
52-0.072482-0.71020.239659
53-0.051598-0.50560.307163
54-0.025949-0.25430.399923
55-0.057974-0.5680.285672
56-0.076352-0.74810.228115
57-0.129174-1.26560.104353
58-0.090849-0.89010.187808
590.01220.11950.452552
60-0.121558-1.1910.118291


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.2155852.11230.018629
2-0.061644-0.6040.273637
30.128411.25820.105693
4-0.046898-0.45950.323456
50.1509161.47870.071251
6-0.062061-0.60810.272287
70.1321731.2950.099209
80.0040770.040.484108
90.0725590.71090.239427
100.0613430.6010.274616
110.0011530.01130.495504
12-0.037251-0.3650.357963
13-0.046933-0.45990.323331
14-0.008582-0.08410.466581
15-0.022131-0.21680.414398
16-0.023198-0.22730.41034
170.0067850.06650.473566
18-0.016404-0.16070.436323
190.0444760.43580.33199
20-0.101048-0.99010.162315
21-0.050564-0.49540.310716
220.0229260.22460.411375
230.0200720.19670.422253
24-0.062852-0.61580.269734
250.0552120.5410.294893
26-0.097994-0.96010.169699
270.0368160.36070.359551
28-0.064588-0.63280.264175
290.0536850.5260.30005
30-0.084228-0.82530.205633
310.0742440.72740.234363
32-0.003897-0.03820.484812
33-0.021476-0.21040.416894
34-0.007868-0.07710.469356
35-0.040296-0.39480.346925
360.0441660.43270.33309
37-0.031298-0.30670.379885
38-0.044341-0.43450.332467
390.0041810.0410.483706
400.0149510.14650.441921
41-0.012032-0.11790.453201
420.0405930.39770.345857
43-0.001995-0.01950.492224
44-0.024125-0.23640.406824
45-0.024574-0.24080.40512
46-0.042887-0.42020.337636
47-0.085885-0.84150.201081
480.0233920.22920.409602
490.0016360.0160.493622
50-0.084509-0.8280.204857
51-0.031351-0.30720.379686
52-0.061036-0.5980.275616
530.0038630.03780.484944
54-0.025798-0.25280.400496
55-0.00492-0.04820.480827
56-0.065733-0.64410.260539
57-0.0751-0.73580.231814
58-0.038964-0.38180.351739
590.0191460.18760.425797
60-0.10583-1.03690.15119
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/11/t12290183005d7zjfs5qakqesv/116s21229018212.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/11/t12290183005d7zjfs5qakqesv/116s21229018212.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/11/t12290183005d7zjfs5qakqesv/29u0d1229018212.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/11/t12290183005d7zjfs5qakqesv/29u0d1229018212.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 = 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