Home » date » 2010 » Dec » 24 »

*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 15:46:54 +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/t12932054761wbzf6z65hxi7xu.htm/, Retrieved Fri, 24 Dec 2010 16:44:36 +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/t12932054761wbzf6z65hxi7xu.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 «
19685.6 19601.7 16006.9 17681.2 19790.4 17014.2 17424.5 18908.9 15692.1 15160 15794.3 16032.1 16065 16236.8 12521 14762.1 15446.9 13635 14212.6 15021.7 14134.3 13721.4 14384.5 15638.6 19711.6 20359.8 16141.4 20056.9 20605.5 19325.8 20547.7 19211.2 19009.5 18746.8 16471.5 18957.2 20515.2 18374.4 16192.9 18147.5 19301.4 18344.7 17183.6 19630 17167.2 17428.5 16016.5 18466.5 18406.6 18174.1 14851.9 16260.7 18329.6 18003.8 15903.8 19554.2 16554.2 16198.9 16571.8 17535.2 16198.1
 
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'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Autocorrelation Function
Time lag kACF(k)T-STATP-value
1-0.348734-2.41610.009771
20.0273640.18960.425219
30.4525243.13520.001465
4-0.2659-1.84220.035813
50.1534181.06290.146571
60.1597281.10660.136985
7-0.304405-2.1090.020095
80.1371490.95020.173386
9-0.057704-0.39980.345543
10-0.162067-1.12280.133547
110.0721170.49960.309805
12-0.118598-0.82170.207663
13-0.138477-0.95940.171084
140.0098860.06850.472839
150.0162740.11280.455349
16-0.122175-0.84650.20075
17-0.002165-0.0150.494048
180.0027890.01930.492332
19-0.061047-0.42290.337112
200.1332420.92310.180279
21-0.086788-0.60130.275241
22-0.056932-0.39440.347504
230.2350381.62840.054994
24-0.211874-1.46790.074326
250.1140210.790.216717
260.1052510.72920.234712
27-0.179953-1.24680.109269
280.1035450.71740.238307
290.0640840.4440.329524
30-0.083503-0.57850.282807
310.0402730.2790.390713
320.0160560.11120.455945
33-0.067115-0.4650.322021
340.0563410.39030.349004
35-0.00999-0.06920.472553
36-0.083524-0.57870.282758
37-0.031125-0.21560.415092
380.0602250.41730.339177
39-0.066674-0.46190.323108
40-0.004945-0.03430.486406
410.0228040.1580.437564
42-0.036476-0.25270.400786
430.0166710.11550.454265
440.0059360.04110.483683
45-0.000676-0.00470.49814
46-0.001289-0.00890.496456
47-0.002601-0.0180.492848
48NANANA
49NANANA
50NANANA
51NANANA
52NANANA
53NANANA
54NANANA
55NANANA
56NANANA
57NANANA
58NANANA
59NANANA
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.348734-2.41610.009771
2-0.107302-0.74340.230429
30.4902513.39660.00069
40.081510.56470.287448
50.0523210.36250.359288
60.0208560.14450.442858
7-0.240268-1.66460.051251
8-0.199155-1.37980.087023
9-0.169899-1.17710.12248
10-0.018754-0.12990.448581
110.026030.18030.428823
120.0458270.31750.37612
13-0.086876-0.60190.275039
14-0.170672-1.18240.121426
150.0798630.55330.291311
160.031040.2150.41532
17-0.032701-0.22660.410865
18-0.072127-0.49970.309781
19-0.046032-0.31890.375585
200.1184560.82070.207941
21-0.046789-0.32420.373612
22-0.135415-0.93820.176423
230.1068220.74010.231427
24-0.076759-0.53180.298659
250.0009050.00630.497512
26-0.032178-0.22290.412265
270.0250290.17340.43153
28-0.074575-0.51670.30388
290.0108610.07530.470164
300.09630.66720.253925
31-0.083179-0.57630.28356
320.0271620.18820.425763
33-0.03597-0.24920.402132
34-0.04113-0.2850.388451
35-0.050812-0.3520.363175
36-0.033543-0.23240.40861
37-0.115741-0.80190.213287
38-0.02666-0.18470.42712
390.1230550.85250.199072
400.0553240.38330.351597
41-0.022084-0.1530.439518
420.0368130.2550.399887
43-0.04965-0.3440.36618
44-0.108453-0.75140.228045
45-0.056357-0.39050.348964
46-0.020151-0.13960.444776
470.0753420.5220.30204
48NANANA
49NANANA
50NANANA
51NANANA
52NANANA
53NANANA
54NANANA
55NANANA
56NANANA
57NANANA
58NANANA
59NANANA
60NANANA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/24/t12932054761wbzf6z65hxi7xu/1wf461293205611.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/24/t12932054761wbzf6z65hxi7xu/1wf461293205611.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/24/t12932054761wbzf6z65hxi7xu/2wf461293205611.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/24/t12932054761wbzf6z65hxi7xu/2wf461293205611.ps (open in new window)


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