Home » date » 2010 » Dec » 21 »

paper autocorrelation function d=1

*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: Tue, 21 Dec 2010 19:27:46 +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/21/t1292959568jomxxgu5jp26sck.htm/, Retrieved Tue, 21 Dec 2010 20:26:08 +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/21/t1292959568jomxxgu5jp26sck.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 «
2350.44 2440.25 2408.64 2472.81 2407.6 2454.62 2448.05 2497.84 2645.64 2756.76 2849.27 2921.44 2981.85 3080.58 3106.22 3119.31 3061.26 3097.31 3161.69 3257.16 3277.01 3295.32 3363.99 3494.17 3667.03 3813.06 3917.96 3895.51 3801.06 3570.12 3701.61 3862.27 3970.1 4138.52 4199.75 4290.89 4443.91 4502.64 4356.98 4591.27 4696.96 4621.4 4562.84 4202.52 4296.49 4435.23 4105.18 4116.68 3844.49 3720.98 3674.4 3857.62 3801.06 3504.37 3032.6 3047.03 2962.34 2197.82 2014.45 1862.83 1905.41 1810.99 1670.07 1864.44 2052.02 2029.6 2070.83 2293.41 2443.27 2513.17 2466.92 2502.66 2539.91
 
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
10.2951322.50430.007268
20.1014310.86070.196137
30.231511.96440.02667
40.2488792.11180.019087
50.2661352.25820.013481
6-0.01559-0.13230.447564
7-0.026614-0.22580.410988
80.1624461.37840.086174
90.046830.39740.346135
10-0.134051-1.13750.129559
110.1383971.17430.122064
120.0136270.11560.454136
13-0.021806-0.1850.426862
140.0679240.57640.283087
15-0.0389-0.33010.371151
160.0735410.6240.267295
17-0.109017-0.9250.179017
18-0.180004-1.52740.065523
190.0019260.01630.493504
20-0.096799-0.82140.207074
21-0.159525-1.35360.090047
22-0.147711-1.25340.107063
23-0.124178-1.05370.147775
24-0.089573-0.76010.224852
25-0.032571-0.27640.391528
26-0.105053-0.89140.187841
27-0.008879-0.07530.470075
280.0572170.48550.314396
29-0.026035-0.22090.412893
30-0.025664-0.21780.414115
31-0.059349-0.50360.308043
32-0.014106-0.11970.45253
33-0.057548-0.48830.313406
34-0.0909-0.77130.221522
35-0.137838-1.16960.123011
36-0.039047-0.33130.370682
37-0.023306-0.19780.421895
38-0.064025-0.54330.294311
39-0.057592-0.48870.313274
40-0.072294-0.61340.270761
410.0010730.00910.49638
420.0026130.02220.491187
43-0.021067-0.17880.429316
44-0.029634-0.25140.401091
45-0.069187-0.58710.279496
46-0.053574-0.45460.325386
47-0.071731-0.60870.272335
48-0.056232-0.47710.317351


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.2951322.50430.007268
20.0156960.13320.447211
30.2163011.83540.03529
40.1417921.20310.11643
50.1783291.51320.067307
6-0.198627-1.68540.04812
7-0.058062-0.49270.31187
80.0886140.75190.227277
9-0.053955-0.45780.324228
10-0.15817-1.34210.091888
110.2992782.53950.006631
12-0.1451-1.23120.111125
13-0.018152-0.1540.439011
140.1342611.13920.12919
15-0.063127-0.53570.296925
16-0.059636-0.5060.307191
17-0.111134-0.9430.174415
18-0.079807-0.67720.250229
19-0.034052-0.28890.386727
20-0.073894-0.6270.266316
210.0509290.43210.333463
22-0.117225-0.99470.161609
230.017760.15070.440318
24-0.009957-0.08450.466453
250.0570220.48380.31498
260.0092970.07890.468669
270.0202720.1720.431955
280.0925980.78570.217305
29-0.001645-0.0140.49445
30-0.144667-1.22750.111809
310.0309630.26270.396755
32-0.029967-0.25430.400002
33-0.123706-1.04970.148688
340.023210.19690.422212
35-0.086142-0.73090.233595
360.0295230.25050.401454
370.022290.18910.425258
380.0519280.44060.330402
39-0.092612-0.78580.21727
40-0.07534-0.63930.262334
410.0291090.2470.402808
42-0.030935-0.26250.396844
43-0.024954-0.21170.416452
440.029390.24940.401886
45-0.117255-0.99490.161549
460.0309980.2630.396639
47-0.083922-0.71210.239351
480.01680.14260.443519
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292959568jomxxgu5jp26sck/1apaf1292959662.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292959568jomxxgu5jp26sck/1apaf1292959662.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/21/t1292959568jomxxgu5jp26sck/23g9i1292959662.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292959568jomxxgu5jp26sck/23g9i1292959662.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/21/t1292959568jomxxgu5jp26sck/33g9i1292959662.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292959568jomxxgu5jp26sck/33g9i1292959662.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 (par8 != '') par8 <- as.numeric(par8)
ox <- x
if (par8 == '') {
if (par2 == 0) {
x <- log(x)
} else {
x <- (x ^ par2 - 1) / par2
}
} else {
x <- log(x,base=par8)
}
if (par3 > 0) x <- diff(x,lag=1,difference=par3)
if (par4 > 0) x <- diff(x,lag=par5,difference=par4)
bitmap(file='picts.png')
op <- par(mfrow=c(2,1))
plot(ox,type='l',main='Original Time Series',xlab='time',ylab='value')
if (par8=='') {
mytitle <- paste('Working Time Series (lambda=',par2,', d=',par3,', D=',par4,')',sep='')
mysub <- paste('(lambda=',par2,', d=',par3,', D=',par4,', CI=', par7, ', CI type=',par6,')',sep='')
} else {
mytitle <- paste('Working Time Series (base=',par8,', d=',par3,', D=',par4,')',sep='')
mysub <- paste('(base=',par8,', d=',par3,', D=',par4,', CI=', par7, ', CI type=',par6,')',sep='')
}
plot(x,type='l', main=mytitle,xlab='time',ylab='value')
par(op)
dev.off()
bitmap(file='pic1.png')
racf <- acf(x, par1, main='Autocorrelation', xlab='time lag', ylab='ACF', ci.type=par6, ci=par7, sub=mysub)
dev.off()
bitmap(file='pic2.png')
rpacf <- pacf(x,par1,main='Partial Autocorrelation',xlab='lags',ylab='PACF',sub=mysub)
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