Home » date » 2009 » Dec » 25 »

Paper(5) - (P)ACF met D=1 en 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: Fri, 25 Dec 2009 05:47:18 -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/25/t1261745384x7ykvcniiozasts.htm/, Retrieved Fri, 25 Dec 2009 13:49:46 +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/25/t1261745384x7ykvcniiozasts.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 «
2.3 2.3 2.6 3.1 2.8 2.5 2.9 3.1 3.1 3.2 2.5 2.6 2.9 2.6 2.4 1.7 2 2.2 1.9 1.6 1.6 1.2 1.2 1.5 1.6 1.7 1.8 1.8 1.8 1.3 1.3 1.4 1.1 1.5 2.2 2.9 3.1 3.5 3.6 4.4 4.2 5.2 5.8 5.9 5.4 5.5 4.7 3.1 2.6 2.3 1.9 0.6 0.6 -0.4 -1.1 -1.7 -0.8 -1.2 -1 -0.1
 
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.2875951.97160.027276
20.2240381.53590.06563
30.2340691.60470.05763
40.1738151.19160.119697
5-0.15078-1.03370.153285
6-0.008753-0.060.476201
70.0529720.36320.359058
8-0.084886-0.5820.28169
9-0.142268-0.97530.167193
10-0.182622-1.2520.108384
11-0.110164-0.75520.226935
12-0.443827-3.04270.001915
13-0.262493-1.79960.039176
14-0.082355-0.56460.287516
15-0.014587-0.10.460385
16-0.102497-0.70270.242859
170.088150.60430.274266
180.0327450.22450.411675
19-0.016524-0.11330.455144
20-0.122139-0.83730.203319
21-0.076874-0.5270.300328
222.2e-052e-040.499939
23-0.02777-0.19040.424916
24-0.066071-0.4530.326331
250.1006320.68990.246826
26-0.008756-0.060.476195
27-0.089733-0.61520.270703
28-0.003162-0.02170.491397
290.0053010.03630.485581
30-0.066526-0.45610.325217
31-0.021108-0.14470.442779
320.1334580.91490.182445
330.1088550.74630.22961
340.0749970.51420.304776
350.0089790.06160.475589
360.1161370.79620.214962


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.2875951.97160.027276
20.1540711.05630.148125
30.1510341.03540.152881
40.0601020.4120.341092
5-0.299814-2.05540.022709
60.0227010.15560.438494
70.1036190.71040.240491
8-0.056854-0.38980.349233
9-0.091585-0.62790.266563
10-0.239672-1.64310.053518
110.0172890.11850.453077
12-0.346515-2.37560.010825
13-0.030087-0.20630.418737
140.1642621.12610.132915
150.1267310.86880.19468
160.0175990.12070.45224
17-0.090956-0.62360.267964
18-0.120263-0.82450.206916
190.035260.24170.405021
20-0.18362-1.25880.107153
21-0.13723-0.94080.175809
22-0.021224-0.14550.442468
230.0256050.17550.430705
24-0.195024-1.3370.093826
250.0204690.14030.4445
26-0.049307-0.3380.368422
270.0742390.5090.306582
280.0189470.12990.448603
29-0.062275-0.42690.335687
30-0.094898-0.65060.25924
31-0.067108-0.46010.323793
320.0049950.03420.486413
33-0.014202-0.09740.461425
34-0.022442-0.15390.439192
35-0.05429-0.37220.35571
36-0.069961-0.47960.316858
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/25/t1261745384x7ykvcniiozasts/1k9iw1261745236.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/25/t1261745384x7ykvcniiozasts/1k9iw1261745236.ps (open in new window)


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