Home » date » 2009 » Dec » 08 »

Autocorrelatie Bruin brood

*Unverified author*
R Software Module: /rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Tue, 08 Dec 2009 00:20:15 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2009/Dec/08/t12602568831ht68q89r5u6o8u.htm/, Retrieved Tue, 08 Dec 2009 08:21:25 +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/2009/Dec/08/t12602568831ht68q89r5u6o8u.htm/},
    year = {2009},
}
@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 = {2009},
    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:
KDGP2W22
 
Dataseries X:
» Textbox « » Textfile « » CSV «
1,38 1,38 1,38 1,38 1,38 1,38 1,38 1,38 1,38 1,38 1,38 1,38 1,38 1,38 1,38 1,38 1,38 1,38 1,38 1,38 1,38 1,38 1,38 1,43 1,43 1,43 1,43 1,43 1,43 1,43 1,43 1,43 1,43 1,43 1,43 1,43 1,43 1,43 1,43 1,43 1,43 1,43 1,44 1,48 1,48 1,48 1,48 1,48 1,48 1,48 1,48 1,48 1,48 1,48 1,48 1,48 1,48 1,48 1,48 1,48 1,48 1,48 1,48 1,48 1,48 1,48 1,48 1,48 1,48 1,48 1,48 1,48 1,48 1,57 1,58 1,58 1,58 1,58 1,59 1,6 1,6 1,61 1,61 1,61 1,62 1,63 1,63 1,64 1,64 1,64 1,64 1,64 1,65 1,65 1,65 1,65 1,65 1,66 1,66 1,67 1,68 1,68 1,68 1,68 1,69 1,7 1,7 1,71 1,72 1,73 1,74 1,74 1,75 1,75 1,75 1,76 1,79 1,83 1,84 1,85 1,87 1,87 1,87 1,88 1,88 1,88 1,88 1,89 1,89 1,89 1,9 1,89
 
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.97624111.21620
20.95027110.91780
30.92468910.62390
40.89838910.32170
50.87158210.01370
60.8449839.70810
70.8176969.39460
80.7897529.07360
90.7609718.74290
100.7327878.41910
110.7040058.08840
120.6745067.74950
130.6462327.42460
140.6184057.10490
150.5911766.79210
160.5676526.52180
170.5468176.28250
180.526676.0510
190.5061035.81470
200.4848495.57050
210.4635655.3260
220.4420715.0791e-06
230.4214154.84172e-06
240.4041374.64324e-06
250.3873984.45099e-06
260.3713454.26641.9e-05
270.3548154.07653.9e-05
280.3388813.89357.8e-05
290.3237253.71930.000147
300.3083893.54310.000274
310.2916783.35110.000525
320.274013.14810.001016
330.2567912.95030.001879
340.2402582.76040.003298
350.2233372.56590.005703
360.2067742.37570.009478
370.1895242.17750.015612
380.1718251.97410.025228
390.1536781.76560.039886
400.1350221.55130.061613
410.1172631.34730.090104
420.0992651.14050.128078
430.0811780.93270.176349
440.0642280.73790.230936
450.0460530.52910.298811
460.0284750.32710.372037
470.0105380.12110.451909
48-0.006921-0.07950.468373


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.97624111.21620
2-0.059126-0.67930.249065
3-0.002876-0.0330.486845
4-0.029486-0.33880.367663
5-0.023191-0.26640.395154
6-0.009238-0.10610.457818
7-0.02954-0.33940.367427
8-0.027353-0.31430.37691
9-0.03273-0.3760.353747
10-0.00194-0.02230.491126
11-0.030033-0.3450.365304
12-0.030267-0.34770.364296
130.0096640.1110.455879
14-0.010016-0.11510.45428
15-0.003096-0.03560.48584
160.0609780.70060.242396
170.0355710.40870.341719
18-0.00193-0.02220.49117
19-0.024541-0.28190.389212
20-0.031277-0.35930.359957
21-0.016686-0.19170.424131
22-0.021112-0.24260.40436
23-0.000344-0.0040.498426
240.0515250.5920.277439
25-0.007059-0.08110.46774
260.0016360.01880.492518
27-0.028874-0.33170.370306
280.0015650.0180.492842
290.0049630.0570.477308
30-0.016401-0.18840.425413
31-0.037674-0.43280.332919
32-0.028789-0.33080.370676
330.000960.0110.49561
34-0.003636-0.04180.48337
35-0.027774-0.31910.375078
36-0.006676-0.07670.469491
37-0.030799-0.35390.362006
38-0.018012-0.20690.418188
39-0.013778-0.15830.437234
40-0.018447-0.21190.416242
410.0094050.10810.45706
42-0.023893-0.27450.392062
43-0.018799-0.2160.414668
440.0079220.0910.46381
45-0.044396-0.51010.305425
46-0.002649-0.03040.487884
47-0.029996-0.34460.365461
48-0.005034-0.05780.476981
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/08/t12602568831ht68q89r5u6o8u/1y76o1260256813.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/08/t12602568831ht68q89r5u6o8u/1y76o1260256813.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/08/t12602568831ht68q89r5u6o8u/2d8kh1260256813.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/08/t12602568831ht68q89r5u6o8u/2d8kh1260256813.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