Home » date » 2010 » Dec » 24 »

ACFKoffied1D1

*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: Fri, 24 Dec 2010 10:09:53 +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/24/t12931852827mfglsgw5rrms9v.htm/, Retrieved Fri, 24 Dec 2010 11:08:04 +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/24/t12931852827mfglsgw5rrms9v.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 «
1.64 1.65 1.65 1.65 1.66 1.66 1.67 1.67 1.68 1.68 1.68 1.68 1.69 1.69 1.7 1.7 1.71 1.71 1.71 1.71 1.72 1.72 1.72 1.73 1.73 1.73 1.74 1.75 1.75 1.76 1.76 1.77 1.77 1.78 1.79 1.8 1.8 1.81 1.81 1.81 1.81 1.82 1.82 1.82 1.83 1.83 1.83 1.84 1.84 1.85 1.85 1.86 1.86 1.86 1.86 1.86
 
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
1-0.286057-1.87580.033741
2-0.00116-0.00760.496982
3-7.7e-05-5e-040.499799
40.2382561.56230.062768
5-0.33494-2.19640.016754
60.0475170.31160.378429
70.2381791.56180.062828
80.0951370.62390.268008
9-0.333935-2.18980.017007
100.0485230.31820.375943
110.0961690.63060.265813
12-0.285232-1.87040.034123
13-0.04579-0.30030.382712
140.09720.63740.263627
150.1437370.94250.175589
16-0.331898-2.17640.017532
170.1447950.94950.173841
18-0.04481-0.29380.385147
19-0.047053-0.30850.379578
20-0.04597-0.30140.382263
210.1435830.94150.175845
22-0.001676-0.0110.495641
23-0.050482-0.3310.371114
24-0.097071-0.63650.2639
250.0913730.59920.2761
26-0.050559-0.33150.370923
27-0.002913-0.01910.492423
280.0935130.61320.271485
29-0.002965-0.01940.492289
300.0446810.2930.385468
31-0.097252-0.63770.263518
32-0.001934-0.01270.494971
33-0.001959-0.01280.494904
34-0.000877-0.00570.49772
350.0467690.30670.380281
36-0.000928-0.00610.497586
370.0467180.30630.380408
38-0.047543-0.31180.378365
39-0.048677-0.31920.375561
400.0466410.30580.3806
415.2e-053e-040.499866
42-0.001083-0.00710.497184
43NANANA
44NANANA
45NANANA
46NANANA
47NANANA
48NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.286057-1.87580.033741
2-0.090385-0.59270.278246
3-0.028874-0.18930.42536
40.2526151.65650.05245
5-0.222372-1.45820.076027
6-0.104908-0.68790.247596
70.246411.61580.056724
80.2416131.58440.06022
9-0.204464-1.34080.093519
10-0.267634-1.7550.043192
11-0.025898-0.16980.432971
12-0.171291-1.12320.133787
13-0.028438-0.18650.426471
14-0.13422-0.88010.191838
150.0648820.42550.336312
16-0.086352-0.56620.287085
170.0543730.35650.361588
18-0.102489-0.67210.252568
19-0.082658-0.5420.295299
200.2102771.37890.087532
21-0.047547-0.31180.378355
22-0.105027-0.68870.247354
23-0.081557-0.53480.29777
24-0.14994-0.98320.1655
25-0.049542-0.32490.373429
260.0109240.07160.471612
27-0.009249-0.06070.475959
28-0.045191-0.29630.3842
290.0078580.05150.479573
300.0911950.5980.276487
31-0.008439-0.05530.478063
32-0.118079-0.77430.221496
33-0.045444-0.2980.38357
34-0.094964-0.62270.268378
350.0404190.2650.39612
36-0.068996-0.45240.326615
37-0.07471-0.48990.313346
380.0017060.01120.495563
390.0474650.31120.378558
400.0504860.33110.371104
41-0.068076-0.44640.328773
42-0.01083-0.0710.471856
43NANANA
44NANANA
45NANANA
46NANANA
47NANANA
48NANANA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/24/t12931852827mfglsgw5rrms9v/1rqac1293185391.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/24/t12931852827mfglsgw5rrms9v/1rqac1293185391.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/24/t12931852827mfglsgw5rrms9v/22zax1293185391.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/24/t12931852827mfglsgw5rrms9v/22zax1293185391.ps (open in new window)


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