Home » date » 2009 » Nov » 30 »

d=1 en D=2

*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:37: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/t1259609875sbbyq2qjl5fxx2e.htm/, Retrieved Mon, 30 Nov 2009 20:37:58 +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/t1259609875sbbyq2qjl5fxx2e.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 time1 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Autocorrelation Function
Time lag kACF(k)T-STATP-value
1-0.215415-1.5830.059634
20.1624751.19390.11886
30.1230430.90420.184959
40.0810740.59580.27691
5-0.092781-0.68180.249139
60.1282590.94250.175066
70.0225580.16580.434479
80.1118430.82190.20738
90.0014680.01080.495717
10-0.13587-0.99840.161261
110.3949012.90190.002679
12-0.447989-3.2920.000879
130.0754520.55450.290778
140.0227470.16720.433936
150.0551070.40490.343558
16-0.086666-0.63690.263452
170.127520.93710.176445
18-0.062647-0.46040.323552
190.0288890.21230.416339
20-0.134743-0.99020.163257
21-0.00814-0.05980.476261
220.0604510.44420.329328
23-0.257922-1.89530.031703
240.0489530.35970.360226
25-0.043998-0.32330.373851
26-0.077-0.56580.286926
27-0.064424-0.47340.318913
28-0.046338-0.34050.367396
29-0.05014-0.36850.356987
30-0.02325-0.17090.432489
31-0.068345-0.50220.308773
320.040690.2990.383039
33-0.038701-0.28440.388597
34-0.093379-0.68620.247764
350.0925980.68050.249562
36-0.0548-0.40270.34438


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.215415-1.5830.059634
20.1217190.89450.187525
30.19161.4080.082436
40.1357270.99740.161514
5-0.108995-0.80090.213336
60.0275950.20280.420034
70.0645610.47440.318556
80.148931.09440.139318
90.0307790.22620.410958
10-0.250127-1.83810.035779
110.3417852.51160.007521
12-0.36661-2.6940.004694
13-0.099007-0.72750.235017
140.0487960.35860.360655
150.1462021.07440.14372
160.1237660.90950.183567
17-0.137853-1.0130.157787
180.0148860.10940.456649
19-0.031633-0.23250.408533
20-0.072593-0.53340.297957
210.041860.30760.379784
22-0.20172-1.48230.072032
230.0549470.40380.343985
24-0.167574-1.23140.111752
25-0.088298-0.64890.259592
26-0.018188-0.13370.447086
270.0572230.42050.337893
28-0.003148-0.02310.490816
29-0.028082-0.20640.418643
30-0.002933-0.02150.491443
310.0626090.46010.323654
32-0.032706-0.24030.40549
33-0.059431-0.43670.332026
34-0.02951-0.21690.414569
350.0802380.58960.278949
36-0.060471-0.44440.329275
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Nov/30/t1259609875sbbyq2qjl5fxx2e/1hpq11259609829.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/30/t1259609875sbbyq2qjl5fxx2e/1hpq11259609829.ps (open in new window)


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


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