Home » date » 2008 » Dec » 19 »

Paper statistiek_Autocorrelation function_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:33:45 -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/t1229679311xpctllh0epve6xk.htm/, Retrieved Fri, 19 Dec 2008 10:35:11 +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/t1229679311xpctllh0epve6xk.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 time4 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.5858985.65020
20.5020934.8423e-06
30.6611526.37590
40.4457774.29892.1e-05
50.4999734.82163e-06
60.6253986.03110
70.4044883.90079.1e-05
80.3854583.71720.000172
90.5203235.01781e-06
100.3529873.40410.000491
110.44174.25962.4e-05
120.622896.00690
130.3592143.46410.000403
140.2899162.79580.003144
150.3828573.69210.000187
160.1888221.82090.035917
170.245222.36480.010059
180.3322863.20440.000927
190.125661.21180.114325
200.1212691.16950.122601
210.2073081.99920.024252
220.0877680.84640.199749
230.165941.60030.056465
240.2610192.51720.006771
250.1034420.99760.160541
260.0415590.40080.344751
270.1087741.0490.148453
28-0.042784-0.41260.340426
29-0.018059-0.17420.431061
300.0798280.76980.221675
31-0.066268-0.63910.262176
32-0.072853-0.70260.24204
33-0.018279-0.17630.430229
34-0.084697-0.81680.208069
35-0.020946-0.2020.420179
360.1115741.0760.142359
37-0.040838-0.39380.347306
38-0.09789-0.9440.173804
39-0.030111-0.29040.386085
40-0.138825-1.33880.091953
41-0.137103-1.32220.094676
42-0.055787-0.5380.295933
43-0.142748-1.37660.085969
44-0.164133-1.58280.058427
45-0.124468-1.20030.116531
46-0.182275-1.75780.041036
47-0.140904-1.35880.088744
48-0.021326-0.20570.418754
49-0.152341-1.46910.072587
50-0.201731-1.94540.027372
51-0.153174-1.47720.071506
52-0.22106-2.13180.017829
53-0.204825-1.97530.025602
54-0.159505-1.53820.063696
55-0.2384-2.2990.011871
56-0.268798-2.59220.005538
57-0.212637-2.05060.02156
58-0.285448-2.75280.003553
59-0.243022-2.34360.010614
60-0.163788-1.57950.058807


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.5858985.65020
20.2418322.33210.010926
30.4794124.62336e-06
4-0.139948-1.34960.090208
50.2574262.48250.007419
60.1929981.86120.032937
7-0.109853-1.05940.146085
8-0.089711-0.86510.194593
90.1502351.44880.075376
10-0.066467-0.6410.261555
110.2054191.9810.025273
120.2787132.68780.004261
13-0.158831-1.53170.064494
14-0.29209-2.81680.002962
15-0.145881-1.40680.081406
16-0.182923-1.7640.040504
17-0.021017-0.20270.419914
18-0.002424-0.02340.4907
190.0601810.58040.281535
20-0.034192-0.32970.371172
210.0135430.13060.448185
220.0085870.08280.46709
230.0171430.16530.434526
24-0.022851-0.22040.413032
250.1169991.12830.131049
26-0.109406-1.05510.147063
270.0499070.48130.315723
28-0.150405-1.45050.075148
29-0.033596-0.3240.373336
30-0.017286-0.16670.433985
310.131961.27260.10317
320.0125760.12130.451864
330.0004130.0040.498416
34-0.01172-0.1130.455128
350.0191880.1850.4268
360.1345641.29770.098803
37-0.052532-0.50660.306816
38-0.085604-0.82550.205591
39-0.051095-0.49270.311679
40-0.022392-0.21590.414754
41-0.075567-0.72870.233997
42-0.086582-0.8350.202938
430.0998760.96320.168979
440.0303710.29290.385129
45-0.049905-0.48130.315729
46-0.060815-0.58650.279487
47-0.096659-0.93210.176837
48-0.031158-0.30050.382242
49-0.090876-0.87640.191543
500.0440560.42490.335958
51-0.018758-0.18090.428422
520.1041661.00450.158863
530.0392380.37840.352997
54-0.047005-0.45330.325695
55-0.088737-0.85580.197168
56-0.075676-0.72980.233675
57-0.010401-0.10030.460158
58-0.077157-0.74410.229353
590.0065220.06290.474992
60-0.001952-0.01880.492511
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/19/t1229679311xpctllh0epve6xk/1ofpa1229679215.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/19/t1229679311xpctllh0epve6xk/1ofpa1229679215.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/19/t1229679311xpctllh0epve6xk/23ykj1229679215.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/19/t1229679311xpctllh0epve6xk/23ykj1229679215.ps (open in new window)


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