Home » date » 2010 » Jan » 25 »

Autocorrelation eigen reeks

*Unverified author*
R Software Module: /rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Mon, 25 Jan 2010 08:56:01 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2010/Jan/25/t12644350516y3ns5d9i94phdq.htm/, Retrieved Mon, 25 Jan 2010 16:57:34 +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/Jan/25/t12644350516y3ns5d9i94phdq.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:
KDGP2W21
 
Dataseries X:
» Textbox « » Textfile « » CSV «
76,3 71 85,9 109 83,4 101,3 81,6 84,8 88 88,4 85,2 139,5 85,3 79,4 131 91,4 88,2 113,2 81,9 89 95,7 93,2 98 140,5 93 82,1 86,3 84,8 85,7 110,8 87,4 100,4 100,4 99,4 108 161,7 109,3 99,9 110,3 97,5 102,4 122,3 104,4 122,7 127,3 128,4 125,3 187,1 131,4 125,6 142,9 116,6 129,7 155,4 138,7 167,7 155,8 157,1 159,9 244,6 154,3 143,2 147,3 155,1 152,2 166,5 161,2 180,1 169,2 164,5 166,2 267,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'Gwilym Jenkins' @ 72.249.127.135


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.583824.95392e-06
20.5370514.5571e-05
30.574654.87613e-06
40.5061724.2952.7e-05
50.4374243.71170.000201
60.5431684.60899e-06
70.3916343.32310.000701
80.4196133.56050.00033
90.4395173.72940.00019
100.3485472.95750.002096
110.3695423.13570.001241
120.6045315.12961e-06
130.2871212.43630.008656
140.2499242.12070.018697
150.2564662.17620.016412
160.1892341.60570.056359
170.1255971.06570.145054
180.2205641.87150.032666
190.0841910.71440.238651
200.0950470.80650.211304
210.1312831.1140.134497
220.0312290.2650.39589
230.0399680.33910.367745
240.2149731.82410.036143
25-0.017819-0.15120.440121
26-0.039012-0.3310.370792
27-0.052236-0.44320.329463
28-0.116776-0.99090.162532
29-0.154558-1.31150.096933
30-0.069617-0.59070.278279
31-0.171092-1.45180.075456
32-0.146242-1.24090.109334
33-0.127702-1.08360.141082
34-0.206253-1.75010.04218
35-0.188098-1.59610.057428
36-0.037178-0.31550.376661
37-0.216792-1.83950.034979
38-0.225118-1.91020.030046
39-0.220365-1.86990.032784
40-0.261227-2.21660.014906
41-0.272174-2.30950.011894
42-0.200477-1.70110.046619
43-0.282151-2.39410.009633
44-0.243193-2.06360.021333
45-0.224676-1.90640.030292
46-0.285694-2.42420.008927
47-0.262113-2.22410.014639
48-0.142295-1.20740.115612


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.583824.95392e-06
20.2976612.52570.006873
30.3007192.55170.006422
40.0965890.81960.20758
5-0.003503-0.02970.488185
60.2394172.03150.022947
7-0.127672-1.08330.141137
80.091890.77970.219058
90.0476710.40450.34352
10-0.073595-0.62450.267144
110.0918950.77980.219046
120.4298653.64750.000249
13-0.402599-3.41620.000524
14-0.204555-1.73570.043447
15-0.162078-1.37530.086655
16-0.042474-0.36040.3598
17-0.046614-0.39550.346811
180.0220240.18690.426141
190.0158690.13470.446631
20-0.048304-0.40990.341559
210.0700390.59430.277087
22-0.038755-0.32880.371614
23-0.047785-0.40550.343167
240.0547160.46430.321925
25-0.01756-0.1490.440983
26-0.016641-0.14120.444052
27-0.11528-0.97820.16563
28-0.069223-0.58740.279393
29-0.021402-0.18160.428201
30-0.028155-0.23890.405931
310.0483790.41050.341325
320.0220230.18690.426142
33-0.066536-0.56460.287058
34-0.003441-0.02920.488393
35-0.003463-0.02940.48832
360.0634030.5380.29612
37-0.057778-0.49030.312721
38-0.036917-0.31330.377497
390.020550.17440.43103
400.0045890.03890.484523
410.0304530.25840.398418
42-0.068-0.5770.28287
43-0.060306-0.51170.305208
44-0.008342-0.07080.471882
45-0.006148-0.05220.479271
460.0014170.0120.495222
47-0.046066-0.39090.348519
48-0.019878-0.16870.433266
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Jan/25/t12644350516y3ns5d9i94phdq/1kk841264434959.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Jan/25/t12644350516y3ns5d9i94phdq/1kk841264434959.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Jan/25/t12644350516y3ns5d9i94phdq/2k82u1264434959.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Jan/25/t12644350516y3ns5d9i94phdq/2k82u1264434959.ps (open in new window)


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