Home » date » 2010 » Jul » 02 »

part autocorrelatie

*Unverified author*
R Software Module: /rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Fri, 02 Jul 2010 17:27:53 +0000
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2010/Jul/02/t1278091727dr9bxtc00k40l4t.htm/, Retrieved Fri, 02 Jul 2010 19:28:49 +0200
 
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/Jul/02/t1278091727dr9bxtc00k40l4t.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:
thomas talboom
 
Dataseries X:
» Textbox « » Textfile « » CSV «
68 67 66 64 84 83 68 58 59 59 60 62 58 58 59 62 87 83 68 58 68 63 65 68 62 69 74 72 94 102 92 81 99 95 92 93 85 92 99 107 125 137 125 115 135 128 120 123 119 128 139 155 164 176 162 155 174 171 162 160 156 163 180 195 203 212 203 184 200 198 195 177 176 180 194 204 206 219 213 196 214 209 213 194 197 211 240 251 254 273 271 245 264 264 262 237 237 251 272 282 278 291 293 271 284 290 288 262 263 275 297 301 296 309 310 292 300 314 310 288
 
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.9163849.52330
20.8402248.73190
30.7644097.9440
40.6839367.10770
50.5873246.10360
60.5018175.2150
70.4131884.2941.9e-05
80.309473.21610.000857
90.2262092.35080.010273
100.1372311.42620.078355
110.0488070.50720.30652
12-0.015238-0.15840.437234
13-0.084323-0.87630.191402
14-0.136907-1.42280.07884
15-0.165514-1.72010.044142
16-0.192583-2.00140.02393
17-0.226087-2.34960.010306
18-0.235864-2.45120.007922
19-0.22934-2.38340.009451
20-0.227294-2.36210.009981
21-0.211437-2.19730.015067
22-0.189798-1.97240.025558
23-0.169196-1.75830.040762
24-0.155185-1.61270.054861
25-0.152585-1.58570.057865
26-0.155929-1.62050.054025
27-0.142644-1.48240.070573
28-0.119428-1.24110.108623
29-0.10321-1.07260.142923
30-0.086488-0.89880.185376
31-0.068583-0.71270.238773
32-0.06826-0.70940.23981
33-0.051167-0.53170.297998
34-0.055884-0.58080.281305
35-0.055906-0.5810.281227
36-0.063844-0.66350.254216
37-0.066426-0.69030.245736
38-0.076464-0.79460.214282
39-0.074244-0.77160.221029
40-0.05809-0.60370.273659
41-0.06505-0.6760.250237
42-0.069164-0.71880.236915
43-0.069693-0.72430.235231
44-0.064634-0.67170.251605
45-0.0533-0.55390.290394
46-0.037045-0.3850.350502
47-0.018281-0.190.424841
48-0.00989-0.10280.459165


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.9163849.52330
20.0028980.03010.488014
3-0.03734-0.38810.349371
4-0.071826-0.74640.228512
5-0.151594-1.57540.059043
6-0.000102-0.00110.499579
7-0.07177-0.74590.228689
8-0.155925-1.62040.054029
90.0519210.53960.2953
10-0.108078-1.12320.131926
11-0.065849-0.68430.247619
120.0927120.96350.168725
13-0.127542-1.32550.093908
140.0619840.64420.26042
150.1014651.05450.147014
16-0.094067-0.97760.165235
17-0.037827-0.39310.347505
180.057990.60260.274004
190.016830.17490.430744
200.0108480.11270.455225
210.0120680.12540.450215
22-0.022179-0.23050.409075
230.0238110.24740.402516
24-0.088702-0.92180.17934
25-0.130892-1.36030.088288
26-0.029434-0.30590.38014
270.0715730.74380.229304
280.0626670.65130.258132
290.0191130.19860.421464
30-0.022227-0.2310.408882
31-0.008113-0.08430.466481
32-0.061728-0.64150.261281
330.1086061.12870.130771
34-0.176764-1.8370.034481
350.0326870.33970.367374
36-0.023202-0.24110.404958
37-0.053579-0.55680.289404
38-1.4e-05-1e-040.499941
390.0527610.54830.292304
400.076510.79510.214146
41-0.048032-0.49920.309341
42-0.06105-0.63440.263565
43-0.040536-0.42130.337202
440.0692210.71940.236736
450.0433140.45010.326758
460.0304570.31650.37611
470.0310960.32320.3736
48-0.04745-0.49310.311464
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Jul/02/t1278091727dr9bxtc00k40l4t/1z3m51278091671.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Jul/02/t1278091727dr9bxtc00k40l4t/1z3m51278091671.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Jul/02/t1278091727dr9bxtc00k40l4t/2svl81278091671.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Jul/02/t1278091727dr9bxtc00k40l4t/2svl81278091671.ps (open in new window)


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