Home » date » 2009 » Dec » 09 »

acf voor diff

*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: Wed, 09 Dec 2009 02:48:55 -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/09/t12603521599fa30sa1a1akg2x.htm/, Retrieved Wed, 09 Dec 2009 10:49:21 +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/09/t12603521599fa30sa1a1akg2x.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:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
104.1 90.2 99.2 116.5 98.4 90.6 130.5 107.4 106 196.5 107.8 90.5 123.8 114.7 115.3 197 88.4 93.8 111.3 105.9 123.6 171 97 99.2 126.6 103.4 121.3 129.6 110.8 98.9 122.8 120.9 133.1 203.1 110.2 119.5 135.1 113.9 137.4 157.1 126.4 112.2 128.8 136.8 156.5 215.2 146.7 130.8 133.1 153.4 159.9 174.6 145 112.9 137.8 150.6 162.1 226.4 112.3 126.3
 
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.1757521.36140.089244
2-0.00025-0.00190.499229
30.1713581.32730.094714
4-0.076924-0.59580.276759
50.15221.17890.121539
60.5887854.56071.3e-05
70.0717250.55560.290281
8-0.111972-0.86730.194609
90.08740.6770.250506
10-0.051519-0.39910.345633
110.1283180.99390.16212
120.5457374.22734.1e-05
130.0222090.1720.431995
14-0.110066-0.85260.198646
150.02820.21840.413916
16-0.096946-0.75090.227811
170.0197360.15290.439506
180.3193762.47390.008106
19-0.023802-0.18440.427172
20-0.168376-1.30420.098568
210.0077260.05980.476238
22-0.118172-0.91540.181834
23-0.013193-0.10220.459472
240.3554442.75330.003898
25-0.063157-0.48920.313238
26-0.142076-1.10050.137752
27-0.067464-0.52260.301599
28-0.193493-1.49880.069586
29-0.081795-0.63360.264381
300.1418021.09840.138211
31-0.089134-0.69040.246293
32-0.205828-1.59430.058058
33-0.106065-0.82160.207285
34-0.131758-1.02060.155772
35-0.055297-0.42830.334972
360.1893941.4670.073794
37-0.065889-0.51040.305831
38-0.179538-1.39070.084728
39-0.10443-0.80890.210881
40-0.124349-0.96320.169656
41-0.085682-0.66370.254715
420.0989170.76620.223279
43-0.133482-1.03390.152655
44-0.180569-1.39870.083528
45-0.104872-0.81230.209905
46-0.107407-0.8320.204361
47-0.054566-0.42270.337024
480.0573890.44450.329127
49-0.122438-0.94840.173364
50-0.098082-0.75970.225192
51-0.04622-0.3580.360793
52-0.084546-0.65490.257521
53-0.056095-0.43450.332739
54-0.044467-0.34440.36586
55-0.074959-0.58060.281834
56-0.068925-0.53390.297695
57-0.028567-0.22130.412815
580.0095250.07380.470715
590.0013770.01070.495763
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.1757521.36140.089244
2-0.032132-0.24890.402148
30.1828821.41660.080886
4-0.150869-1.16860.123588
50.2276551.76340.041461
60.5330824.12925.7e-05
7-0.102309-0.79250.215602
8-0.231801-1.79550.038803
90.0146970.11380.454872
100.1074450.83230.204279
110.0400360.31010.378772
120.2638292.04360.022695
13-0.096299-0.74590.229313
14-0.042714-0.33090.370951
15-0.101214-0.7840.218061
16-0.018836-0.14590.442243
17-0.160312-1.24180.109576
18-0.057906-0.44850.327689
190.0593890.460.323581
200.0113690.08810.46506
210.0052190.04040.483944
22-0.079375-0.61480.270494
23-0.026136-0.20240.420125
240.1889761.46380.074234
25-0.082934-0.64240.26153
26-0.027924-0.21630.414746
27-0.142867-1.10660.136432
28-0.031762-0.2460.403252
29-0.04862-0.37660.353896
30-0.151786-1.17570.122173
310.0125350.09710.461488
32-0.019895-0.15410.439023
33-0.003982-0.03080.487747
340.0973720.75420.226826
35-0.001607-0.01240.495054
360.017490.13550.446345
37-0.008979-0.06950.472393
38-0.023519-0.18220.428029
390.0185790.14390.443025
40-0.011505-0.08910.464643
41-0.019843-0.15370.43918
42-0.001757-0.01360.494593
43-0.158132-1.22490.112703
440.0682870.52890.299398
45-0.078659-0.60930.272316
46-0.012211-0.09460.462478
47-0.04363-0.3380.368288
48-0.130063-1.00750.158878
490.0334410.2590.398249
500.0926850.71790.237792
510.0977280.7570.226008
52-0.033853-0.26220.397023
53-0.045214-0.35020.363698
54-0.072032-0.5580.289474
550.1069910.82880.205265
56-0.034939-0.27060.393799
57-0.002859-0.02210.491203
580.031570.24450.403824
590.1211680.93860.175859
60NANANA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/09/t12603521599fa30sa1a1akg2x/1a1uu1260352133.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/09/t12603521599fa30sa1a1akg2x/1a1uu1260352133.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/09/t12603521599fa30sa1a1akg2x/2d6il1260352133.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/09/t12603521599fa30sa1a1akg2x/2d6il1260352133.ps (open in new window)


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