Home » date » 2010 » Dec » 18 »

autocorrelatie functie 2

*The author of this computation has been verified*
R Software Module: /rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Sat, 18 Dec 2010 19:36:44 +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/Dec/18/t1292700907g4b2len1ygfbqp3.htm/, Retrieved Sat, 18 Dec 2010 20:35:07 +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/Dec/18/t1292700907g4b2len1ygfbqp3.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 «
101.76 102.37 102.38 102.86 102.87 102.92 102.95 103.02 104.08 104.16 104.24 104.33 104.73 104.86 105.03 105.62 105.63 105.63 105.94 106.61 107.69 107.78 107.93 108.48 108.14 108.48 108.48 108.89 108.93 109.21 109.47 109.80 111.73 111.85 112.12 112.15 112.17 112.67 112.80 113.44 113.53 114.53 114.51 115.05 116.67 117.07 116.92 117.00 117.02 117.35 117.36 117.82 117.88 118.24 118.50 118.80 119.76 120.09 120.16
 
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.085445-0.65070.258896
2-0.055124-0.41980.338088
3-0.067202-0.51180.305369
4-0.143598-1.09360.139323
50.0731970.55750.289681
6-0.223987-1.70580.046695
70.1568831.19480.118517
8-0.226304-1.72350.045064
90.0105390.08030.468153
10-0.087472-0.66620.253972
110.0060370.0460.481743
120.6199864.72178e-06
13-0.017474-0.13310.447295
14-0.094923-0.72290.236318
15-0.113106-0.86140.196285
16-0.199135-1.51660.067404
170.0650140.49510.311189
18-0.0974-0.74180.230607
190.080190.61070.27189
20-0.112186-0.85440.198204
210.0077580.05910.476544
220.0349640.26630.395485
23-0.100045-0.76190.224597
240.4205143.20250.001106
25-0.012932-0.09850.460944
26-0.043874-0.33410.369742
27-0.179168-1.36450.08884
28-0.138859-1.05750.14733
290.1194160.90940.183439
30-0.109672-0.83520.203507
310.0779230.59340.277595
32-0.07245-0.55180.291614
330.0483610.36830.356993
34-0.062528-0.47620.317861
35-0.067196-0.51170.305385
360.1964511.49610.070021
37-0.014363-0.10940.456636
38-0.049516-0.37710.353737
39-0.10005-0.7620.224587
40-0.031669-0.24120.405132
410.069990.5330.298027
42-0.027577-0.210.417193
430.0512970.39070.348739
440.0184160.14030.444473
45-0.00645-0.04910.480496
46-0.00751-0.05720.477295
47-0.024018-0.18290.42775
480.0788190.60030.275333


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.085445-0.65070.258896
2-0.062884-0.47890.316903
3-0.078462-0.59750.276234
4-0.163426-1.24460.10914
50.0344830.26260.396889
6-0.250888-1.91070.030495
70.1061370.80830.211105
8-0.296253-2.25620.013922
9-0.014792-0.11270.455347
10-0.266325-2.02830.023567
110.0228090.17370.431351
120.5186743.95010.000107
130.1770191.34810.091428
14-0.167202-1.27340.103983
150.0073620.05610.477741
16-0.324624-2.47230.00819
170.0951340.72450.23583
180.0370110.28190.389525
19-0.038914-0.29640.384006
200.0537780.40960.341818
210.0499330.38030.352565
220.0476530.36290.358993
23-0.10757-0.81920.208004
24-0.154429-1.17610.122181
25-0.02795-0.21290.416092
260.0859870.65490.257575
27-0.068872-0.52450.300961
280.1651961.25810.1067
290.0218250.16620.434284
30-0.089615-0.68250.248825
31-0.087152-0.66370.254748
32-0.047083-0.35860.360609
33-0.083029-0.63230.264828
34-0.090875-0.69210.245822
35-0.024117-0.18370.427456
36-0.079114-0.60250.27459
37-0.057368-0.43690.331903
38-0.085144-0.64840.25963
390.0482530.36750.357299
400.0501860.38220.351854
41-0.048366-0.36830.356978
42-0.012383-0.09430.462595
43-0.014059-0.10710.457551
44-0.019085-0.14540.442469
450.0392530.29890.383027
460.0229910.17510.430807
470.1212830.92370.179743
480.0481150.36640.357688
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/18/t1292700907g4b2len1ygfbqp3/1jvt11292701000.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/18/t1292700907g4b2len1ygfbqp3/1jvt11292701000.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/18/t1292700907g4b2len1ygfbqp3/2jvt11292701000.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/18/t1292700907g4b2len1ygfbqp3/2jvt11292701000.ps (open in new window)


 
Parameters (Session):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = Linear Trend ;
 
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