Home » date » 2010 » Aug » 15 »

gedifferentieerde autocarrelatie

*Unverified author*
R Software Module: /rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Sun, 15 Aug 2010 20:36:24 +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/Aug/15/t1281904549id2726x94qw8na4.htm/, Retrieved Sun, 15 Aug 2010 22:35: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/Aug/15/t1281904549id2726x94qw8na4.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:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
244 243 242 240 260 259 244 234 235 235 236 238 240 233 233 233 247 251 233 226 233 233 227 225 223 212 206 202 223 221 212 205 204 200 195 193 196 180 174 164 192 189 181 167 166 164 167 164 161 141 134 111 147 144 142 140 143 137 140 130 129 112 101 74 104 103 100 98 99 91 92 94 93 76 64 32 62 69 69 68 68 59 66 73 70 57 48 22 64 74 67 61 61 52 54 69 69 53 50 22 69 78 74 63 67 59 60 80 77 58 54 32 78 86 84 78 72 64 62 72
 
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.131826-1.4380.076523
2-0.12679-1.38310.084609
3-0.296051-3.22950.000802
4-0.015658-0.17080.43233
5-0.009259-0.1010.459857
60.2613142.85060.002573
70.0354430.38660.349857
8-0.007873-0.08590.465853
9-0.269196-2.93660.001992
10-0.117299-1.27960.101591
11-0.136706-1.49130.069266
120.8424889.19050
13-0.112609-1.22840.110857
14-0.110454-1.20490.115313
15-0.250423-2.73180.003629
160.02690.29340.384847
17-0.042952-0.46860.320124
180.2088192.27790.012257
190.0596350.65050.258298
20-0.017002-0.18550.42659
21-0.227301-2.47960.007277
22-0.117076-1.27710.102019
23-0.149494-1.63080.05279
240.6859397.48270
25-0.069171-0.75460.226001
26-0.074967-0.81780.207555
27-0.219284-2.39210.009159
280.017030.18580.426469
29-0.074316-0.81070.20958
300.1632061.78040.038784
310.0694950.75810.224945
320.0121360.13240.44745
33-0.184094-2.00820.023442
34-0.114281-1.24670.107485
35-0.149322-1.62890.052988
360.5439465.93370
37-0.058957-0.64310.260684
38-0.049315-0.5380.295805
39-0.210613-2.29750.011668
400.0183970.20070.420642
41-0.064929-0.70830.240074
420.1197251.30610.097027
430.0875490.9550.170745
440.0400160.43650.331623
45-0.159921-1.74450.041824
46-0.125614-1.37030.086589
47-0.165904-1.80980.036425
480.4257014.64384e-06


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.131826-1.4380.076523
2-0.146718-1.60050.056069
3-0.347966-3.79590.000116
4-0.173561-1.89330.030372
5-0.187982-2.05060.021249
60.0941.02540.153622
70.0432220.47150.319077
80.0560350.61130.271095
9-0.150436-1.64110.051712
10-0.191757-2.09180.01929
11-0.351907-3.83891e-04
120.7626548.31960
130.0008550.00930.496289
140.0212310.23160.408624
150.1805711.96980.025593
160.1930422.10580.01866
170.0677810.73940.230558
18-0.069616-0.75940.224552
190.0495280.54030.295005
20-0.03108-0.3390.367588
210.0152170.1660.43422
22-0.097038-1.05860.145973
23-0.117181-1.27830.101816
24-0.124325-1.35620.088798
250.0210230.22930.4095
260.0195450.21320.415766
27-0.085599-0.93380.176156
28-0.154952-1.69030.046791
29-0.030835-0.33640.368594
30-0.008575-0.09350.462815
31-0.136845-1.49280.069068
320.0085250.0930.463033
330.0030870.03370.486596
340.0278310.30360.380981
350.0629040.68620.246959
360.0123210.13440.446654
37-0.069487-0.7580.22497
38-0.011007-0.12010.452313
39-0.068003-0.74180.229828
40-0.053664-0.58540.279691
410.0082350.08980.464284
42-0.096057-1.04790.148414
430.0540490.58960.278287
440.0649210.70820.240103
45-0.000724-0.00790.496857
46-0.041863-0.45670.324371
47-0.084089-0.91730.180419
48-0.073864-0.80580.210994
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Aug/15/t1281904549id2726x94qw8na4/1fivk1281904580.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Aug/15/t1281904549id2726x94qw8na4/1fivk1281904580.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Aug/15/t1281904549id2726x94qw8na4/2fivk1281904580.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Aug/15/t1281904549id2726x94qw8na4/2fivk1281904580.ps (open in new window)


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