Home » date » 2009 » Dec » 19 »

D=0, 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, 19 Dec 2009 13:04:17 -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/19/t1261253129xjp1dgyrdmc9dt5.htm/, Retrieved Sat, 19 Dec 2009 21:05:31 +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/19/t1261253129xjp1dgyrdmc9dt5.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 «
3016 2155 2172 2150 2533 2058 2160 2260 2498 2695 2799 2946 2930 2318 2540 2570 2669 2450 2842 3440 2678 2981 2260 2844 2546 2456 2295 2379 2479 2057 2280 2351 2276 2548 2311 2201 2725 2408 2139 1898 2537 2068 2063 2520 2434 2190 2794 2070 2615 2265 2139 2428 2137 1823 2063 1806 1758 2243 1993 1932 2465
 
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.469806-3.63910.000285
20.0426240.33020.371213
30.0469690.36380.358636
40.0132610.10270.459265
5-0.047587-0.36860.356858
6-0.025759-0.19950.421264
7-0.079296-0.61420.270694
80.0347480.26920.394366
90.0431340.33410.369728
10-0.068803-0.53290.298019
11-0.071914-0.5570.289786
120.1870991.44930.076236
13-0.093067-0.72090.236888
14-0.045925-0.35570.361643
150.1239610.96020.170405
16-0.147227-1.14040.129322
170.1510441.170.123318
18-0.158879-1.23070.111624
190.058860.45590.325045
20-0.108066-0.83710.202936
210.2080731.61170.056135
22-0.142923-1.10710.13634
23-0.043959-0.34050.367333
240.0696460.53950.295778
250.1345641.04230.150721
26-0.159129-1.23260.111265
270.1186740.91920.180823
28-0.026347-0.20410.41949
290.0177530.13750.445542
300.0055740.04320.482853
31-0.105701-0.81880.208082
320.0709790.54980.292249
33-0.00272-0.02110.491631
340.0497530.38540.350659
35-0.171495-1.32840.094539
360.1253940.97130.16765


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.469806-3.63910.000285
2-0.228535-1.77020.040885
3-0.048467-0.37540.354334
40.0394290.30540.380553
5-0.011741-0.09090.46392
6-0.076057-0.58910.278991
7-0.190895-1.47870.07223
8-0.138721-1.07450.143445
90.0006440.0050.498019
10-0.026178-0.20280.419998
11-0.167141-1.29470.100197
120.0412280.31940.375284
130.0064390.04990.480193
14-0.095534-0.740.231092
150.0448650.34750.364708
16-0.121749-0.94310.174715
170.0362910.28110.389798
18-0.124417-0.96370.169525
19-0.059161-0.45830.324211
20-0.203987-1.58010.059674
210.0610890.47320.318895
220.0100410.07780.469131
23-0.130958-1.01440.157234
24-0.144025-1.11560.134517
250.1196120.92650.178947
26-0.011537-0.08940.464544
270.0367980.2850.388298
280.0705850.54680.293289
29-0.014461-0.1120.455592
300.0118580.09190.463561
31-0.079997-0.61970.268916
320.0326580.2530.400578
33-0.008012-0.06210.47536
340.1154780.89450.187318
35-0.034425-0.26670.395325
36-0.080745-0.62540.267024
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/19/t1261253129xjp1dgyrdmc9dt5/1xfwq1261253055.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/19/t1261253129xjp1dgyrdmc9dt5/1xfwq1261253055.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/19/t1261253129xjp1dgyrdmc9dt5/26jp81261253055.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/19/t1261253129xjp1dgyrdmc9dt5/26jp81261253055.ps (open in new window)


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