Home » date » 2009 » Dec » 15 »

*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, 15 Dec 2009 06:50:07 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2009/Dec/15/t1260885067zhosjv5udt2kbnd.htm/, Retrieved Tue, 15 Dec 2009 14:51:10 +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/2009/Dec/15/t1260885067zhosjv5udt2kbnd.htm/},
    year = {2009},
}
@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 = {2009},
    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 «
358.59 362.96 362.42 364.97 364.04 361.06 358.48 352.96 359.59 360.39 357.40 362.93 364.55 365.73 364.70 364.65 359.43 362.14 356.97 354.82 353.17 357.06 356.18 355.01 355.65 357.31 357.07 357.91 358.48 358.97 351.77 352.16 359.08 360.35 359.53 359.30 358.41 359.68 355.31 357.08 349.71 354.13 345.49 341.69 344.25 340.17 342.47 344.43 333.23 339.72 342.61 346.36 339.09 339.73 341.12 335.94 333.46 335.66 341.12 342.21 342.62 346.06 344.43 346.65 343.74 335.67 342.75 341.77 345.84 346.52 350.79 345.44 345.87 338.48 337.21 340.81 339.86 342.86 343.33 341.73 351.38 351.13 345.99 347.55 346.02 345.29 347.03 348.01 345.48 349.40 351.05 349.70 350.86 354.45 355.30 357.48 355.24 351.79 355.22 351.02 350.28 350.17 348.16 340.30 343.75 344.71 344.13 342.14 345.04 346.02 346.43 347.07 339.33 339.10 337.19 339.58 327.85 326.81 321.73 320.45 327.69 323.95 320.47 322.13 316.34 314.78 308.90 308.62 etc...
 
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'Gwilym Jenkins' @ 72.249.127.135


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.98380219.55270
20.97125119.30320
30.96080619.09560
40.9479418.83990
50.93482318.57920
60.92270418.33840
70.9105718.09720
80.89933417.87390
90.88772617.64320
100.87612717.41270
110.86349617.16160
120.84838216.86130
130.83415816.57860
140.8181516.26040
150.80088915.91730
160.78756615.65260
170.77549715.41270
180.76177315.13990
190.75032914.91250
200.74064714.72010
210.72892414.48710
220.71931214.2960
230.70919214.09490
240.69986113.90950
250.68987813.71110
260.68066813.5280
270.67253713.36640
280.66384313.19360
290.65486613.01520
300.6446412.8120
310.63377412.5960
320.6249612.42080
330.61265112.17620
340.60109111.94640
350.59050311.7360
360.58054811.53820
370.57182111.36470
380.56201211.16980
390.55150810.9610
400.54099910.75210
410.52980310.52960
420.52089810.35260
430.51193110.17440
440.5018319.97370
450.4932549.80320
460.4859289.65760
470.4776029.49210
480.4721929.38460


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.98380219.55270
20.105322.09320.018485
30.0726441.44380.074798
4-0.065042-1.29270.098438
5-0.025413-0.50510.306895
60.0124530.24750.402326
70.0019030.03780.484926
80.028340.56320.286796
9-0.013194-0.26220.396644
10-0.00547-0.10870.45674
11-0.043901-0.87250.191729
12-0.093275-1.85380.032256
13-0.001837-0.03650.485444
14-0.066856-1.32870.092351
15-0.047765-0.94930.171523
160.0978361.94440.026276
170.0584781.16220.122922
18-0.028238-0.56120.28748
190.0426390.84740.198632
200.0503120.99990.158978
21-0.045336-0.9010.184058
220.0588581.16980.121398
23-0.008265-0.16430.434806
240.0358560.71260.238247
25-0.015348-0.3050.380251
260.0169010.33590.368564
270.0137650.27360.392277
28-0.01896-0.37680.353256
29-0.022452-0.44620.327843
30-0.086456-1.71830.043265
31-0.032065-0.63730.262154
320.0610551.21340.112843
33-0.126965-2.52340.006007
340.0169430.33670.368249
350.0171680.34120.366568
360.020660.41060.340789
370.0461340.91690.17988
38-0.023897-0.47490.317544
39-0.0274-0.54460.293178
40-0.023033-0.45780.323686
41-0.005731-0.11390.454687
420.083751.66450.048404
430.0222990.44320.328939
44-0.01309-0.26020.397438
450.0124380.24720.402438
460.0237680.47240.318456
47-0.009349-0.18580.426347
480.0562111.11720.132299
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/15/t1260885067zhosjv5udt2kbnd/1x5ev1260885004.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/15/t1260885067zhosjv5udt2kbnd/1x5ev1260885004.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/15/t1260885067zhosjv5udt2kbnd/2x1qf1260885004.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/15/t1260885067zhosjv5udt2kbnd/2x1qf1260885004.ps (open in new window)


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