Home » date » 2010 » Dec » 14 »

*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, 14 Dec 2010 16:11:46 +0000
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2010/Dec/14/t1292342978wm4rd4nywt56a77.htm/, Retrieved Tue, 14 Dec 2010 17:09:38 +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/2010/Dec/14/t1292342978wm4rd4nywt56a77.htm/},
    year = {2010},
}
@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 = {2010},
    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 «
-820.8 993.3 741.7 603.6 -145.8 -35.1 395.1 523.1 462.3 183.4 791.5 344.8 -217.0 406.7 228.6 -580.1 -1550.4 -1447.5 -40.1 -1033.5 -925.6 -347.8 -447.7 -102.6 -2062.2 -929.7 -720.7 -1541.8 -1432.3 -1216.2 -212.8 -378.2 76.9 -101.3 220.4 495.6 -1035.2 61.8 -734.8 -6.9 -1061.1 -854.6 -186.5 244.0 -992.6 -335.2 316.8 477.6 -572.1 1115.2
 
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'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Autocorrelation Function
Time lag kACF(k)T-STATP-value
1-0.367181-2.57030.006626
2-0.08768-0.61380.271106
3-0.06156-0.43090.334209
40.223641.56550.061953
50.0501270.35090.363588
6-0.353059-2.47140.008491
70.0922250.64560.260783
80.1825941.27820.103608
9-0.046196-0.32340.373895
10-0.102428-0.7170.238391
11-0.151373-1.05960.147258
120.4253722.97760.002253
13-0.153081-1.07160.144582
14-0.103081-0.72160.236994
15-0.124886-0.87420.193136
160.0865290.60570.273753
170.1873271.31130.097936
18-0.286135-2.00290.025366
190.0105240.07370.470788
200.1894111.32590.095515
210.0369490.25860.398496
22-0.076617-0.53630.297083
23-0.224911-1.57440.060918
240.3040332.12820.019186
25-0.020829-0.14580.442338
26-0.161187-1.12830.132342
27-0.038297-0.26810.394883
280.0653460.45740.324695
290.1630141.14110.129687
30-0.20213-1.41490.081709
310.0419510.29370.38513
320.0930540.65140.258922
33-0.005368-0.03760.485089
34-0.054953-0.38470.351074
35-0.133257-0.93280.177749
360.1624761.13730.130465
37-0.071177-0.49820.310272
38-0.030021-0.21010.417212
39-0.030383-0.21270.416229
400.0302520.21180.416586
410.0185620.12990.448575
420.0065530.04590.481799
43-0.067802-0.47460.318584
440.0609840.42690.335665
45-0.001787-0.01250.495035
460.0078020.05460.478334
47-0.078543-0.54980.292478
480.0951970.66640.254148


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.367181-2.57030.006626
2-0.257175-1.80020.038991
3-0.243162-1.70210.047534
40.0916860.64180.261996
50.2099561.46970.074019
6-0.241977-1.69380.048322
7-0.148255-1.03780.152232
80.0775740.5430.294789
9-0.004055-0.02840.488734
100.0318630.2230.412214
11-0.182493-1.27750.103731
120.1960951.37270.088053
130.0814430.57010.285606
140.0111930.07840.468934
15-0.171812-1.20270.117439
16-0.281834-1.97280.027085
170.0433610.30350.381385
180.0234090.16390.435258
19-0.048259-0.33780.368472
200.0814590.57020.285569
210.0406560.28460.388579
220.0498270.34880.364371
23-0.098448-0.68910.246994
24-0.065114-0.45580.325274
25-0.016221-0.11350.45503
26-0.063549-0.44480.329196
270.0695260.48670.314328
280.0074130.05190.479412
29-0.059854-0.4190.338533
30-0.021654-0.15160.44007
310.0622960.43610.33235
320.007820.05470.478285
33-0.070471-0.49330.312002
34-0.094593-0.66220.255488
350.0078220.05480.478279
360.0423710.29660.384015
37-0.137055-0.95940.171038
38-0.089383-0.62570.267214
39-0.06897-0.48280.315698
400.0217740.15240.439742
41-0.169889-1.18920.120042
42-0.008491-0.05940.476422
43-0.053853-0.3770.353912
44-0.023857-0.1670.434028
450.0466490.32650.372702
46-0.009779-0.06850.472852
47-0.033713-0.2360.407213
480.0325070.22750.410473
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/14/t1292342978wm4rd4nywt56a77/1ozsb1292343103.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/14/t1292342978wm4rd4nywt56a77/1ozsb1292343103.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/14/t1292342978wm4rd4nywt56a77/2ozsb1292343103.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/14/t1292342978wm4rd4nywt56a77/2ozsb1292343103.ps (open in new window)


 
Parameters (Session):
par1 = 48 ; par2 = 1 ; par3 = 1 ; par4 = 0 ; par5 = 12 ; par6 = White Noise ; par7 = 0.95 ;
 
Parameters (R input):
par1 = 48 ; par2 = 1 ; par3 = 1 ; par4 = 0 ; par5 = 12 ; par6 = White Noise ; par7 = 0.95 ;
 
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 (par6 == 'White Noise') par6 <- 'white' else par6 <- 'ma'
par7 <- as.numeric(par7)
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='time lag', ylab='ACF', ci.type=par6, ci=par7, sub=paste('(lambda=',par2,', d=',par3,', D=',par4,', CI=', par7, ', CI type=',par6,')',sep=''))
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