Home » date » 2009 » Dec » 12 »

Paper PAF ICP d=1 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: Sat, 12 Dec 2009 12:45:42 -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/12/t1260647480q73m72gfuxlljjg.htm/, Retrieved Sat, 12 Dec 2009 20:51:22 +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/12/t1260647480q73m72gfuxlljjg.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 «
100.00 102.04 102.51 102.71 103.00 103.39 102.32 103.88 104.65 104.46 104.65 104.36 102.71 104.55 104.76 105.72 106.20 106.50 105.14 106.50 106.69 106.50 106.50 106.39 105.43 107.18 107.37 107.46 107.66 107.37 106.30 107.85 107.95 107.85 107.66 107.76 106.69 108.92 109.22 109.02 108.62 109.02 107.76 109.60 109.80 109.41 109.60 109.60 108.15 110.18 110.27 110.87 111.25 111.15 109.99 111.83 111.73 112.31 112.12 111.73 110.27 112.71 113.38 113.57 113.77 114.15 112.99 115.03 115.03 114.84 114.75 114.84 113.32 115.92 115.84 116.49 116.90 116.99 115.74 117.73 117.17 116.83 117.08 117.23 115.25 117.98 117.97 118.56 118.42 118.51 117.25 119.08 118.85 119.41 120.43 120.87 119.31 122.24 123.14 123.39 124.46 125.33 124.17 125.48 125.35 125.15 124.31 124.14 121.81 124.62 123.93 124.29 124.16 124.02 122.00 124.58 124.06
 
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.1375751.4030.081798
20.1531331.56170.060703
30.0962450.98150.16431
40.1851071.88770.030925
50.0149250.15220.43966
60.0868390.88560.188943
70.0630290.64280.260894
80.0177010.18050.42855
9-0.12913-1.31690.095387
10-0.092996-0.94840.172569
110.0662610.67570.250354
12-0.440948-4.49689e-06
13-0.168454-1.71790.044395
14-0.071745-0.73170.233012
15-0.005435-0.05540.477954
16-0.113582-1.15830.124694
17-0.133577-1.36220.088035
18-0.054782-0.55870.288795
190.0084260.08590.465844
20-0.039502-0.40280.343946
210.0357220.36430.358188
220.0777770.79320.214742
23-0.0955-0.97390.16618
24-0.024975-0.25470.39973
250.052170.5320.297918
260.0479440.48890.31296
27-0.00317-0.03230.487138
280.0121340.12370.450878
290.0654010.6670.253137
300.0459420.46850.320196
31-0.034858-0.35550.361474
320.0328560.33510.369125
330.0376970.38440.350722
34-0.001309-0.01340.494686
35-0.055675-0.56780.285707
360.1124131.14640.127131


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.1375751.4030.081798
20.1367961.3950.082987
30.0615340.62750.265845
40.1524321.55450.061551
5-0.044988-0.45880.323671
60.0448330.45720.324236
70.0321380.32770.371883
8-0.034841-0.35530.361538
9-0.149515-1.52480.065178
10-0.096702-0.98620.163169
110.1165291.18840.118698
12-0.470052-4.79363e-06
13-0.042512-0.43350.332761
140.0912130.93020.177212
150.0450090.4590.323595
160.0697220.7110.23933
17-0.159908-1.63070.052984
180.0596780.60860.272057
190.1003661.02350.154214
200.0252350.25740.398708
21-0.05021-0.5120.304853
22-0.054314-0.55390.290418
230.0144080.14690.441733
24-0.253956-2.58990.005489
25-0.010529-0.10740.457351
260.0242480.24730.402588
270.0340830.34760.364427
280.0994211.01390.156493
29-0.107293-1.09420.138203
300.0653010.66590.253462
310.038950.39720.346013
320.0687360.7010.242442
33-0.014107-0.14390.442942
34-0.038768-0.39540.346693
35-0.096829-0.98750.162853
36-0.009452-0.09640.461696
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/12/t1260647480q73m72gfuxlljjg/1dh721260647140.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/12/t1260647480q73m72gfuxlljjg/1dh721260647140.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/12/t1260647480q73m72gfuxlljjg/2qvvn1260647140.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/12/t1260647480q73m72gfuxlljjg/2qvvn1260647140.ps (open in new window)


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