Home » date » 2008 » Dec » 09 »

*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: Mon, 08 Dec 2008 17:25:46 -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/09/t1228782361hmq9pduq2ujujna.htm/, Retrieved Tue, 09 Dec 2008 00:26:03 +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/09/t1228782361hmq9pduq2ujujna.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 «
92.66 94.2 94.37 94.45 94.62 94.37 93.43 94.79 94.88 94.79 94.62 94.71 93.77 95.73 95.99 95.82 95.47 95.82 94.71 96.33 96.5 96.16 96.33 96.33 95.05 96.84 96.92 97.44 97.78 97.69 96.67 98.29 98.2 98.71 98.54 98.2 96.92 99.06 99.65 99.82 99.99 100.33 99.31 101.1 101.1 100.93 100.85 100.93 99.6 101.88 101.81 102.38 102.74 102.82 101.72 103.47 102.98 102.68 102.9 103.03 101.29
 
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
1-0.378021-2.92810.002407
2-0.017496-0.13550.446325
3-0.018433-0.14280.443471
4-0.004782-0.0370.485286
5-0.43141-3.34170.000719
60.8175866.3330
7-0.374715-2.90250.002586
8-0.018203-0.1410.444171
9-0.050408-0.39050.348789
10-0.010331-0.080.468242
11-0.372523-2.88560.002711
120.7388925.72340
13-0.289765-2.24450.01425
140.0234790.18190.428149
15-0.024044-0.18620.42644
16-0.025389-0.19670.422378
17-0.351583-2.72330.004225
180.6224834.82175e-06
19-0.27699-2.14560.017982
200.0016370.01270.494964
21-0.021898-0.16960.432939
22-0.048402-0.37490.35452
23-0.321389-2.48950.007792
240.5569094.31383e-05
25-0.199968-1.54890.063327
260.039430.30540.380549
27-0.009885-0.07660.469611
28-0.042577-0.32980.37135
29-0.246249-1.90740.030627
300.4498543.48460.000464
31-0.193477-1.49870.069602
320.0143720.11130.455865
33-0.017892-0.13860.445118
34-0.052432-0.40610.343043
35-0.216308-1.67550.049519
360.3733862.89220.002661
37-0.131221-1.01640.156752
380.0327040.25330.400443
390.0193890.15020.44056
40-0.018417-0.14270.443519
41-0.159607-1.23630.11058
420.2680052.0760.021095
43-0.113684-0.88060.191025
440.0115560.08950.464485
450.0155160.12020.452367
46-0.023896-0.18510.426887
47-0.138129-1.06990.144466
480.1735771.34450.09192
49-0.045518-0.35260.36282
500.0139290.10790.45722
510.0346830.26870.394559
52-0.001315-0.01020.495952
53-0.081699-0.63280.264622
540.0885210.68570.247778
55-0.003288-0.02550.489882
56-0.013701-0.10610.457917
570.0046540.0360.485683
58-0.001411-0.01090.495657
59-0.054102-0.41910.338331
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.378021-2.92810.002407
2-0.187138-1.44960.076193
3-0.117312-0.90870.183573
4-0.076009-0.58880.279114
5-0.579381-4.48791.7e-05
60.6667665.16471e-06
7-0.216903-1.68010.049067
8-0.05375-0.41630.339321
9-0.218053-1.6890.048202
10-0.209428-1.62220.054999
110.1119120.86690.194735
120.0422640.32740.372263
130.1723731.33520.093429
140.0117570.09110.463871
150.0677620.52490.300799
16-0.069294-0.53680.296712
17-0.056396-0.43680.331898
18-0.040855-0.31650.376377
19-0.105803-0.81950.207859
20-0.049476-0.38320.351449
21-0.045071-0.34910.364111
22-0.055721-0.43160.333784
23-0.056017-0.43390.332956
24-0.035534-0.27520.392036
250.0426440.33030.371154
260.0436570.33820.368208
27-0.09193-0.71210.239586
28-0.019514-0.15120.440181
290.1183010.91640.181574
30-0.089367-0.69220.245731
31-0.029092-0.22530.411239
32-0.170228-1.31860.09616
33-0.008446-0.06540.474029
340.0612480.47440.318459
35-0.095915-0.7430.230205
360.0103260.080.468259
37-0.022493-0.17420.431137
380.0317250.24570.403361
390.0439040.34010.367494
400.0371220.28750.387343
410.0742630.57520.283641
42-0.15943-1.23490.110833
43-0.013334-0.10330.459041
44-0.044468-0.34450.365856
450.0566550.43880.331174
460.082980.64280.261413
47-0.074283-0.57540.283588
48-0.004697-0.03640.48555
490.1115940.86440.195405
50-0.038134-0.29540.384359
510.0400980.31060.378591
52-0.014561-0.11280.455287
530.0309130.23950.405786
54-0.016736-0.12960.448645
55-0.015543-0.12040.452285
560.0677180.52450.300916
57-0.074477-0.57690.283084
580.0638270.49440.311414
59-0.01588-0.1230.451256
60NANANA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/09/t1228782361hmq9pduq2ujujna/17m9c1228782344.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/09/t1228782361hmq9pduq2ujujna/17m9c1228782344.ps (open in new window)


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