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:59: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/t1278094444xwkb5jai8oddw9m.htm/, Retrieved Fri, 02 Jul 2010 20:14:04 +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/t1278094444xwkb5jai8oddw9m.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 «
237 236 235 233 231 230 231 233 234 234 235 237 246 245 240 239 231 224 229 231 238 240 237 239 248 239 237 232 216 209 214 217 217 227 218 220 229 224 216 208 191 190 196 196 200 204 193 194 207 209 193 175 157 150 162 157 160 167 159 161 179 180 169 152 128 125 131 135 141 154 152 147 163 165 147 130 106 107 115 114 124 141 139 129
 
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'RServer@AstonUniversity' @ vre.aston.ac.uk


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.8424626.52570
20.7896826.11680
30.6972345.40081e-06
40.5982314.63391e-05
50.5459164.22864.1e-05
60.4437053.43690.000537
70.3685152.85450.002955
80.2966632.29790.012533
90.1574091.21930.113754
100.0934620.7240.235954
110.0255190.19770.421986
12-0.092082-0.71330.239225
13-0.054996-0.4260.335817
14-0.110249-0.8540.198255
15-0.100789-0.78070.219021
16-0.118092-0.91470.181996
17-0.108103-0.83740.202856
18-0.024913-0.1930.423815
190.0078090.06050.475983
200.0288030.22310.412105
210.080620.62450.267341
220.0357240.27670.391475
230.0407120.31540.376793
240.0073940.05730.47726
25-0.004898-0.03790.484932
260.0186560.14450.442793
27-0.014955-0.11580.454084
28-0.023552-0.18240.427928
29-0.071839-0.55650.289981
30-0.149394-1.15720.125888
31-0.204809-1.58640.058948
32-0.239165-1.85260.034433
33-0.283186-2.19350.016077
34-0.281588-2.18120.01655
35-0.331366-2.56670.006389
36-0.307478-2.38170.01021
37-0.330969-2.56370.00644
38-0.337536-2.61450.005641
39-0.304349-2.35750.010839
40-0.294544-2.28150.01304
41-0.26221-2.03110.023343
42-0.258107-1.99930.025056
43-0.2368-1.83420.035789
44-0.212664-1.64730.052363
45-0.192383-1.49020.070706
46-0.157652-1.22120.1134
47-0.104042-0.80590.211739
48-0.092552-0.71690.238106
49-0.065327-0.5060.307348
50-0.053675-0.41580.339532
51-0.049475-0.38320.351451
52-0.0371-0.28740.387409
53-0.037889-0.29350.385081
54-0.016312-0.12640.449938
55-0.008796-0.06810.472952
56-0.006033-0.04670.481442
570.000910.00710.497198
580.0004770.00370.498531
59-3.1e-05-2e-040.499904
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.8424626.52570
20.275412.13330.018499
3-0.062783-0.48630.314257
4-0.128386-0.99450.161993
50.0855310.66250.255088
6-0.121032-0.93750.176127
7-0.066578-0.51570.303976
8-0.007982-0.06180.475453
9-0.27785-2.15220.017707
100.0097230.07530.470109
110.0976980.75680.226076
12-0.269812-2.090.020434
130.3826252.96380.002176
14-0.004725-0.03660.485463
15-0.058226-0.4510.326801
160.000470.00360.498553
170.2242221.73680.043776
180.1476241.14350.128688
190.0110690.08570.465978
20-0.133416-1.03340.152774
21-0.108865-0.84330.201216
22-0.237719-1.84140.035257
23-0.024595-0.19050.424776
24-0.295802-2.29130.012737
250.1925891.49180.070497
260.0310010.24010.405523
270.0436270.33790.368296
28-0.099387-0.76980.222205
290.0609870.47240.319176
300.0151670.11750.453434
31-0.100921-0.78170.218724
320.0379110.29370.385018
33-0.018235-0.14120.444074
34-0.084049-0.6510.258752
350.020290.15720.437821
36-0.108909-0.84360.20112
37-0.010772-0.08340.46689
38-0.07858-0.60870.272518
390.0781780.60560.273545
40-0.141183-1.09360.13925
410.0748490.57980.282119
42-0.030251-0.23430.407766
430.0642060.49730.310384
44-0.008053-0.06240.475233
450.018270.14150.443966
46-0.042256-0.32730.372286
470.0270820.20980.417277
48-0.018518-0.14340.443212
490.0351960.27260.393037
500.0271450.21030.417086
510.0697160.540.295593
52-0.077527-0.60050.275211
530.0014080.01090.495667
54-0.142441-1.10330.137141
550.0370040.28660.387692
560.0366910.28420.388616
57-0.062652-0.48530.314615
580.0323290.25040.40156
590.0177890.13780.445432
60NANANA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Jul/02/t1278094444xwkb5jai8oddw9m/13js01278093590.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Jul/02/t1278094444xwkb5jai8oddw9m/13js01278093590.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Jul/02/t1278094444xwkb5jai8oddw9m/23js01278093590.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Jul/02/t1278094444xwkb5jai8oddw9m/23js01278093590.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 = 60 ; par2 = 1 ; par3 = 0 ; par4 = 2 ; 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