Home » date » 2009 » Nov » 25 »

Model 1: 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: Wed, 25 Nov 2009 10:09:22 -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/25/t12591691061f6uqjqfxg9cqoc.htm/, Retrieved Wed, 25 Nov 2009 18:11:49 +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/25/t12591691061f6uqjqfxg9cqoc.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 «
3030.29 2803.47 2767.63 2882.6 2863.36 2897.06 3012.61 3142.95 3032.93 3045.78 3110.52 3013.24 2987.1 2995.55 2833.18 2848.96 2794.83 2845.26 2915.02 2892.63 2604.42 2641.65 2659.81 2638.53 2720.25 2745.88 2735.7 2811.7 2799.43 2555.28 2304.98 2214.95 2065.81 1940.49 2042 1995.37 1946.81 1765.9 1635.25 1833.42 1910.43 1959.67 1969.6 2061.41 2093.48 2120.88 2174.56 2196.72 2350.44 2440.25 2408.64 2472.81 2407.6 2454.62 2448.05 2497.84 2645.64 2756.76 2849.27 2921.44
 
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.4646723.18560.001283
20.1273640.87320.193507
3-0.014734-0.1010.459987
4-0.033258-0.2280.410315
5-0.076335-0.52330.301602
6-0.050936-0.34920.364251
70.0500250.3430.366582
80.1290250.88450.190451
9-0.000415-0.00280.498871
10-0.097418-0.66790.253744
11-0.201709-1.38280.086623
12-0.376057-2.57810.006564
13-0.120301-0.82470.206842
140.0131140.08990.464372
150.1757311.20480.117166
160.1104670.75730.226317
170.1115530.76480.224115
180.06880.47170.319674
19-0.067842-0.46510.322003
20-0.197129-1.35140.091511
210.027040.18540.426866
220.0820470.56250.288229
23-0.021127-0.14480.442729
24-0.07533-0.51640.303986
25-0.105828-0.72550.235865
26-0.092335-0.6330.264895
27-0.154581-1.05980.147336
28-0.109712-0.75220.227856
29-0.106042-0.7270.235419
30-0.061767-0.42350.336948
310.0255880.17540.43075
320.0904750.62030.269039
330.0039950.02740.489132
34-0.031281-0.21450.415562
350.0224050.15360.439291
360.065750.45080.327118


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.4646723.18560.001283
2-0.112943-0.77430.221316
3-0.036326-0.2490.402209
40.0041040.02810.488836
5-0.07459-0.51140.305745
60.0177450.12170.451845
70.09160.6280.26653
80.0744710.51050.30603
9-0.137587-0.94330.175188
10-0.057171-0.39190.348436
11-0.148497-1.0180.156934
12-0.295739-2.02750.024152
130.2789721.91250.030956
14-0.043216-0.29630.384163
150.1720621.17960.122048
16-0.081872-0.56130.288634
170.0768430.52680.300402
18-0.012549-0.0860.465904
19-0.102289-0.70130.243299
20-0.048704-0.33390.369972
210.1678311.15060.127861
22-0.085377-0.58530.280569
23-0.218002-1.49450.070858
24-0.086814-0.59520.277294
250.0035060.0240.490463
26-0.023887-0.16380.43531
270.1033250.70840.24111
28-0.060948-0.41780.338983
29-0.119186-0.81710.208997
30-0.03884-0.26630.395597
310.0616390.42260.337266
32-0.035797-0.24540.403604
330.1149440.7880.217322
34-0.083101-0.56970.285794
35-0.000357-0.00240.499028
36-0.115428-0.79130.216362
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Nov/25/t12591691061f6uqjqfxg9cqoc/1fh6n1259168960.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/25/t12591691061f6uqjqfxg9cqoc/1fh6n1259168960.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/25/t12591691061f6uqjqfxg9cqoc/25hr21259168960.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/25/t12591691061f6uqjqfxg9cqoc/25hr21259168960.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