Home » date » 2009 » Nov » 30 »

d=2 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: Mon, 30 Nov 2009 12:33:11 -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/Nov/30/t12596096469l58k333ovunggw.htm/, Retrieved Mon, 30 Nov 2009 20:34: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/2009/Nov/30/t12596096469l58k333ovunggw.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 «
244.576 241.572 240.541 236.089 236.997 264.579 270.349 269.645 267.037 258.113 262.813 267.413 267.366 264.777 258.863 254.844 254.868 277.267 285.351 286.602 283.042 276.687 277.915 277.128 277.103 275.037 270.150 267.140 264.993 287.259 291.186 292.300 288.186 281.477 282.656 280.190 280.408 276.836 275.216 274.352 271.311 289.802 290.726 292.300 278.506 269.826 265.861 269.034 264.176 255.198 253.353 246.057 235.372 258.556 260.993 254.663 250.643 243.422 247.105 248.541 245.039 237.080 237.085 225.554 226.839 247.934 248.333 246.969 245.098 246.263 255.765 264.319 268.347 273.046 273.963 267.430 271.993 292.710 295.881
 
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'Gwilym Jenkins' @ 72.249.127.135


Autocorrelation Function
Time lag kACF(k)T-STATP-value
1-0.598369-4.82424e-06
20.0751720.60610.273294
30.0989390.79770.213982
4-0.024608-0.19840.421676
5-0.131894-1.06340.145775
60.1476931.19070.119043
7-0.115067-0.92770.178498
80.0776360.62590.266779
90.0647670.52220.301664
10-0.321848-2.59480.005843
110.4811533.87920.000124
12-0.349456-2.81740.003203
130.0596330.48080.316146
140.0443670.35770.360864
150.0645080.52010.302388
16-0.152225-1.22730.112073
170.1765461.42340.079707
18-0.150319-1.21190.114966
190.1039590.83810.20251
20-0.033399-0.26930.394286
21-0.080753-0.6510.258655
220.1466571.18240.12068
23-0.092402-0.7450.229488
24-0.005177-0.04170.483419
25-0.029542-0.23820.406246
260.1071870.86420.195337
27-0.091958-0.74140.230564
280.0177840.14340.443216
290.0255060.20560.418858
30-0.019929-0.16070.436426
31-0.037568-0.30290.381472
320.0792160.63870.262645
33-0.020505-0.16530.434605
34-0.084767-0.68340.248387
350.1538021.240.109718
36-0.133806-1.07880.142337


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.598369-4.82424e-06
2-0.440643-3.55260.000358
3-0.193166-1.55740.062122
4-0.001688-0.01360.494593
5-0.163464-1.31790.096084
6-0.10315-0.83160.204334
7-0.181827-1.46590.073744
8-0.07952-0.64110.261853
90.1562241.25950.106174
10-0.358326-2.88890.002623
110.1334441.07590.142983
12-0.033662-0.27140.393474
13-0.07135-0.57520.283558
14-0.141817-1.14340.12854
15-0.050702-0.40880.342024
160.0596150.48060.316197
170.0563930.45470.325437
18-0.02807-0.22630.410837
190.026170.2110.416778
20-0.035966-0.290.386381
210.0809480.65260.258151
22-0.044598-0.35960.36017
230.0290230.2340.407864
240.0296220.23880.405998
25-0.13994-1.12820.131685
26-0.077814-0.62740.266312
270.0406190.32750.372179
28-0.090612-0.73050.233845
290.0547210.44120.330276
30-0.151054-1.21780.113844
31-0.128184-1.03350.152611
320.0077030.06210.475336
330.028760.23190.408684
34-0.154466-1.24530.108738
350.009360.07550.470038
360.0160980.12980.448568
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Nov/30/t12596096469l58k333ovunggw/1f4bt1259609588.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/30/t12596096469l58k333ovunggw/1f4bt1259609588.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/30/t12596096469l58k333ovunggw/2rxan1259609588.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/30/t12596096469l58k333ovunggw/2rxan1259609588.ps (open in new window)


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