Home » date » 2008 » Dec » 20 »

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

*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: Sat, 20 Dec 2008 07:08:10 -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/20/t12297821678ejbwj6ubndk76p.htm/, Retrieved Sat, 20 Dec 2008 15:09:27 +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/20/t12297821678ejbwj6ubndk76p.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 time2 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Autocorrelation Function
Time lag kACF(k)T-STATP-value
1-0.393245-3.77190.000143
2-0.312077-2.99330.001772
30.4584364.39721.5e-05
4-0.325491-3.1220.0012
5-0.11936-1.14490.127618
60.4455684.27372.3e-05
7-0.251994-2.4170.00881
8-0.188738-1.81030.036756
90.4156173.98656.7e-05
10-0.36467-3.49780.000362
11-0.15548-1.49130.06965
120.6027255.78110
13-0.245238-2.35220.010396
14-0.208393-1.99880.024288
150.3589433.44290.000434
16-0.311057-2.98360.001824
17-0.044831-0.430.3341
180.3549683.40470.000491
19-0.239259-2.29490.012007
20-0.097444-0.93470.176208
210.2767842.65480.004675
22-0.298072-2.8590.002629
23-0.030598-0.29350.384905
240.3496813.3540.000579
25-0.113012-1.0840.140605
26-0.144276-1.38380.084877
270.2494612.39270.009378
28-0.237199-2.27510.01261
29-0.060498-0.58030.281575
300.2734752.62310.0051
31-0.15267-1.46440.073252
32-0.044959-0.43120.333654
330.1473531.41340.080462
34-0.190854-1.83060.035199
35-0.06945-0.66610.253494
360.3085982.960.001956
37-0.083573-0.80160.212423
38-0.11312-1.0850.140376
390.1600691.53530.064067
40-0.129137-1.23860.109315
41-0.065477-0.6280.26577
420.1780771.70810.045499
43-0.061043-0.58550.279822
44-0.061615-0.5910.277987
450.0803150.77040.221532
46-0.104346-1.00090.159761
47-0.091239-0.87510.191891
480.2626092.51890.00675
49-0.069235-0.66410.25415
50-0.10149-0.97350.166438
510.1014150.97270.166616
52-0.057239-0.5490.292161
53-0.036702-0.3520.36281
540.0950430.91160.182175
55-0.013556-0.130.448415
56-0.072248-0.6930.245035
570.1053941.01090.157357
58-0.124913-1.19810.116973
59-0.070109-0.67250.251487
600.2126272.03940.022137


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.393245-3.77190.000143
2-0.552095-5.29550
30.0865270.82990.204362
4-0.324663-3.11410.00123
5-0.283249-2.71680.003937
60.03470.33280.370011
7-0.015036-0.14420.442821
8-0.204946-1.96580.02617
90.0738210.70810.240347
10-0.28134-2.69850.004143
11-0.443151-4.25062.6e-05
120.0003110.0030.498814
130.1770541.69820.046421
140.0547910.52550.300236
150.0533780.5120.304946
16-0.014084-0.13510.446417
170.0462230.44340.329276
18-0.075268-0.72190.236079
190.0202430.19420.423237
20-0.022968-0.22030.413064
21-0.080969-0.77660.219686
22-0.1509-1.44740.075595
23-0.025649-0.2460.40311
24-0.163021-1.56360.060667
250.0996240.95560.1709
26-0.039408-0.3780.353154
270.1422661.36460.087859
28-0.014315-0.13730.445543
290.0050290.04820.480815
30-0.155814-1.49450.069232
310.0046250.04440.482355
32-0.019259-0.18470.426924
330.043220.41460.339717
34-0.037653-0.36120.359405
35-0.073064-0.70080.242595
36-0.014977-0.14370.443043
370.0580580.55690.289483
38-0.02736-0.26240.396788
39-0.029463-0.28260.389061
40-0.016906-0.16220.435767
410.106971.0260.153785
42-0.049068-0.47060.319504
430.0806610.77370.220553
440.0039260.03770.48502
45-0.002668-0.02560.48982
46-0.049617-0.47590.317633
470.0116730.1120.455548
480.0314720.30190.381717
49-0.056895-0.54570.293291
50-0.099231-0.95180.171849
51-0.127425-1.22220.112374
52-0.106464-1.02120.154927
530.0318130.30510.380473
54-0.033895-0.32510.372919
55-0.00015-0.00140.499429
56-0.06871-0.6590.255756
570.1059591.01630.156071
58-0.070707-0.67820.249675
59-0.05672-0.5440.293866
60-0.0293-0.2810.389656
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/20/t12297821678ejbwj6ubndk76p/1t2i81229782082.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/20/t12297821678ejbwj6ubndk76p/1t2i81229782082.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/20/t12297821678ejbwj6ubndk76p/23ccn1229782082.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/20/t12297821678ejbwj6ubndk76p/23ccn1229782082.ps (open in new window)


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