Home » date » 2008 » Dec » 19 »

Paper statistiek_Autocorrelation function (d=1, D=1)_NDC

*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, 19 Dec 2008 02:47:25 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2008/Dec/19/t1229680104ookciazeygg4bc4.htm/, Retrieved Fri, 19 Dec 2008 10:48:28 +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/2008/Dec/19/t1229680104ookciazeygg4bc4.htm/},
    year = {2008},
}
@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 = {2008},
    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 «
98.6 98 106.8 96.7 100.2 107.7 92 98.4 107.4 117.7 105.7 97.5 99.9 98.2 104.5 100.8 101.5 103.9 99.6 98.4 112.7 118.4 108.1 105.4 114.6 106.9 115.9 109.8 101.8 114.2 110.8 108.4 127.5 128.6 116.6 127.4 105 108.3 125 111.6 106.5 130.3 115 116.1 134 126.5 125.8 136.4 114.9 110.9 125.5 116.8 116.8 125.5 104.2 115.1 132.8 123.3 124.8 122 117.4 117.9 137.4 114.6 124.7 129.6 109.4 120.9 134.9 136.3 133.2 127.2 122.7 120.5 137.8 119.1 124.3 134.4 121.1 122.2 127.7 137.4 132.2 129.2 124.9 124.8 128.2 134.4 118.6 132.6 123.2 112.8 138.3
 
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'George Udny Yule' @ 72.249.76.132


Autocorrelation Function
Time lag kACF(k)T-STATP-value
1-0.501361-4.48431.2e-05
2-0.056398-0.50440.307668
30.1831651.63830.052645
4-0.194246-1.73740.043084
50.0658220.58870.278851
60.1766431.57990.059033
7-0.28059-2.50970.007051
80.0445290.39830.345741
90.2702392.41710.00896
10-0.258354-2.31080.01171
110.1145891.02490.154245
12-0.004373-0.03910.484449
13-0.204614-1.83010.035478
140.2106241.88390.031608
15-0.009874-0.08830.464922
16-0.222253-1.98790.025122
170.3027282.70770.004141
18-0.069206-0.6190.268838
19-0.152064-1.36010.088809
200.1182411.05760.146716
21-0.011264-0.10070.460001
22-0.14837-1.32710.094132
230.361563.23390.000888
24-0.327863-2.93250.002192
250.0302550.27060.393693
260.1051810.94080.174829
27-0.001955-0.01750.493044
28-0.072387-0.64750.259596
290.0673240.60220.274384
30-0.095939-0.85810.1967
310.0245390.21950.413417
320.1793261.60390.056335
33-0.202375-1.81010.037018
340.0243550.21780.414057
350.0691180.61820.269098
36-0.114587-1.02490.154251
370.1570221.40440.082028
380.0033140.02960.488212
39-0.157648-1.410.081201
400.1284041.14850.127096
41-0.030369-0.27160.393305
42-0.074083-0.66260.25474
430.0552180.49390.311372
440.0688320.61570.269936
45-0.180448-1.6140.055235
460.2165251.93670.028159
47-0.078896-0.70570.241223
48-0.077893-0.69670.244006
490.103450.92530.1788
50-0.048032-0.42960.334317
51-0.118064-1.0560.147074
520.2052841.83610.035028
53-0.120811-1.08060.141568
540.0115950.10370.45883
550.1374111.2290.111329
56-0.191005-1.70840.04572
570.0455060.4070.342541
580.0555710.4970.31026
59-0.088129-0.78830.216439
600.0654710.58560.279899


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.501361-4.48431.2e-05
2-0.411096-3.6770.000213
3-0.101013-0.90350.184489
4-0.2191-1.95970.026757
5-0.172315-1.54120.063604
60.1188871.06340.145409
7-0.105394-0.94270.174343
8-0.234011-2.09310.019756
90.144481.29230.099992
100.0697580.62390.267222
110.0666670.59630.276333
120.0148590.13290.447303
13-0.152773-1.36640.087814
14-0.10997-0.98360.16414
15-0.084852-0.75890.22506
16-0.234523-2.09760.019547
170.038080.34060.367148
180.139871.2510.107283
190.0109240.09770.461205
20-0.161195-1.44180.076635
210.0287270.25690.398941
22-0.087501-0.78260.218076
230.2251242.01360.023708
240.0172720.15450.438808
25-0.004996-0.04470.482235
26-0.275588-2.46490.007923
27-0.02163-0.19350.423543
28-0.087509-0.78270.218056
29-0.01971-0.17630.430256
300.0550920.49280.311765
310.0046680.04170.483401
32-0.048477-0.43360.332877
330.0297580.26620.395398
34-0.060595-0.5420.294669
350.0323830.28960.386419
36-0.072963-0.65260.257944
370.1069660.95670.170793
380.061710.5520.29126
390.068830.61560.26994
40-0.096044-0.8590.196442
41-0.077534-0.69350.245006
42-0.068435-0.61210.271104
43-0.014684-0.13130.44792
440.0369590.33060.370917
45-0.005663-0.05070.479864
46-0.036809-0.32920.371421
470.1080430.96640.168387
48-0.024278-0.21710.414323
490.0375580.33590.368901
50-0.009308-0.08330.466928
51-0.036201-0.32380.373469
520.0217530.19460.423115
53-0.038474-0.34410.36583
54-0.07277-0.65090.258497
55-0.025396-0.22720.410442
56-0.02894-0.25880.39821
570.029960.2680.394706
58-0.081098-0.72540.235174
59-0.010541-0.09430.46256
60-0.048964-0.43790.331302
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/19/t1229680104ookciazeygg4bc4/19kxf1229680043.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/19/t1229680104ookciazeygg4bc4/19kxf1229680043.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/19/t1229680104ookciazeygg4bc4/201d11229680043.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/19/t1229680104ookciazeygg4bc4/201d11229680043.ps (open in new window)


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