Home » date » 2009 » Dec » 20 »

ACF (d=D=1)

*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: Sun, 20 Dec 2009 05:21:02 -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/20/t1261311758kg8zp4tho438a44.htm/, Retrieved Sun, 20 Dec 2009 13:22:40 +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/20/t1261311758kg8zp4tho438a44.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 «
921365 987921 1132614 1332224 1418133 1411549 1695920 1636173 1539653 1395314 1127575 1036076 989236 1008380 1207763 1368839 1469798 1498721 1761769 1653214 1599104 1421179 1163995 1037735 1015407 1039210 1258049 1469445 1552346 1549144 1785895 1662335 1629440 1467430 1202209 1076982 1039367 1063449 1335135 1491602 1591972 1641248 1898849 1798580 1762444 1622044 1368955 1262973 1195650 1269530 1479279 1607819 1712466 1721766 1949843 1821326 1757802 1590367 1260647 1149235
 
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.132946-0.91140.183359
20.1265560.86760.195004
30.1728381.18490.121004
40.0170720.1170.453664
50.0564880.38730.350156
60.1195230.81940.208345
7-0.047874-0.32820.372107
80.1073070.73570.232796
9-0.158913-1.08950.140755
10-0.01728-0.11850.453101
110.0668540.45830.324415
12-0.224802-1.54120.064992
13-0.138311-0.94820.173935
14-0.016554-0.11350.455064
15-0.113916-0.7810.219368
160.0270780.18560.426763
17-0.10876-0.74560.229805
180.0351850.24120.405218
19-0.029505-0.20230.420287
20-0.065018-0.44570.328916
210.1007520.69070.246569
22-0.018597-0.12750.449547
23-0.076755-0.52620.300609
240.0537360.36840.357115
25-0.037078-0.25420.400227
26-0.072968-0.50020.309619
270.0933230.63980.262707
28-0.088298-0.60530.273932
290.1042670.71480.239128
30-0.101771-0.69770.2444
31-0.087127-0.59730.276583
320.0379640.26030.397898
33-0.029711-0.20370.419739
34-0.13969-0.95770.171566
350.1841291.26230.10653
36-0.118439-0.8120.210449
370.0333140.22840.410167
38-0.010559-0.07240.471301
390.0124920.08560.466057
400.0176670.12110.452056
41-0.054441-0.37320.355329
42-0.018671-0.1280.449348
430.042460.29110.386131
44-0.062828-0.43070.334317
450.0604650.41450.340188
460.001340.00920.496355
47NANANA
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.132946-0.91140.183359
20.1108410.75990.225559
30.2087431.43110.079513
40.0561470.38490.351015
50.0184160.12630.450034
60.0908960.62310.268099
7-0.043117-0.29560.384421
80.0554370.38010.352808
9-0.181602-1.2450.109652
10-0.08766-0.6010.275374
110.0659120.45190.326722
12-0.168192-1.15310.127357
13-0.208975-1.43270.079287
14-0.049929-0.34230.366826
150.0311280.21340.415967
160.1014280.69540.245128
17-0.045538-0.31220.378137
180.0751650.51530.304377
190.030350.20810.418038
20-0.00075-0.00510.497961
210.0629730.43170.333958
22-0.069044-0.47330.319081
23-0.084265-0.57770.283114
24-0.049499-0.33930.36793
25-0.079875-0.54760.29328
26-0.171482-1.17560.122834
270.0326820.22410.411844
280.004950.03390.486536
290.1189850.81570.209388
30-0.044885-0.30770.379829
31-0.091243-0.62550.267323
32-0.008354-0.05730.477287
330.0710260.48690.314287
34-0.113709-0.77950.219782
350.0745360.5110.305874
36-0.03208-0.21990.413438
370.0024060.01650.493455
38-0.078082-0.53530.297483
39-0.027431-0.18810.425821
400.0038910.02670.489415
41-0.042701-0.29270.385504
42-0.011443-0.07850.468901
43-0.104557-0.71680.238519
44-0.020133-0.1380.445406
450.0499330.34230.366816
460.008260.05660.477542
47NANANA
48NANANA
49NANANA
50NANANA
51NANANA
52NANANA
53NANANA
54NANANA
55NANANA
56NANANA
57NANANA
58NANANA
59NANANA
60NANANA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/20/t1261311758kg8zp4tho438a44/13gn31261311660.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/20/t1261311758kg8zp4tho438a44/13gn31261311660.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/20/t1261311758kg8zp4tho438a44/20zy41261311660.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/20/t1261311758kg8zp4tho438a44/20zy41261311660.ps (open in new window)


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