Home » date » 2010 » Dec » 10 »

ws acf

*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, 10 Dec 2010 19:01:40 +0000
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2010/Dec/10/t1292007582iosz5cmj8xy676z.htm/, Retrieved Fri, 10 Dec 2010 19:59:44 +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/2010/Dec/10/t1292007582iosz5cmj8xy676z.htm/},
    year = {2010},
}
@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 = {2010},
    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 «
1576.23 1546.37 1545.05 1552.34 1594.3 1605.78 1673.21 1612.94 1566.34 1530.17 1582.54 1702.16 1701.93 1811.15 1924.2 2034.25 2011.13 2013.04 2151.67 1902.09 1944.01 1916.67 1967.31 2119.88 2216.38 2522.83 2647.64 2631.23 2693.41 3021.76 2953.67 2796.8 2672.05 2251.23 2046.08 2420.04 2608.89 2660.47 2493.98 2541.7 2554.6 2699.61 2805.48 2956.66 3149.51 3372.5 3379.33 3517.54 3527.34 3281.06 3089.65 3222.76 3165.76 3232.43 3229.54 3071.74 2850.17
 
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.9517527.18560
20.8807816.64980
30.8074896.09640
40.7363255.55910
50.6737335.08662e-06
60.6171734.65961e-05
70.5609094.23484.2e-05
80.4958173.74330.000212
90.4322453.26340.000932
100.3750642.83170.003194
110.3243132.44850.008723
120.2783242.10130.020024
130.2323261.7540.042401
140.2020911.52580.066301
150.1811491.36760.088396
160.1645271.24210.109634
170.1421371.07310.143872
180.1140590.86110.196389
190.0837170.6320.264941
200.0351290.26520.3959
21-0.002454-0.01850.492642
22-0.035396-0.26720.395128
23-0.068182-0.51480.304356
24-0.10354-0.78170.21881
25-0.144758-1.09290.139517
26-0.178649-1.34880.091373
27-0.209032-1.57820.060032
28-0.235613-1.77880.040299
29-0.251203-1.89650.03148
30-0.255327-1.92770.029441
31-0.265808-2.00680.024761
32-0.281268-2.12350.019031
33-0.293232-2.21390.015428
34-0.321131-2.42450.009262
35-0.35194-2.65710.005104
36-0.365659-2.76070.003873
37-0.372686-2.81370.003354
38-0.378215-2.85550.002992
39-0.393068-2.96760.002191
40-0.402617-3.03970.001786
41-0.412029-3.11080.001457
42-0.416119-3.14160.001332
43-0.413128-3.1190.001422
44-0.400778-3.02580.001858
45-0.376793-2.84470.003082
46-0.34271-2.58740.006123
47-0.304742-2.30080.012542
48-0.261594-1.9750.02656


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.9517527.18560
2-0.266028-2.00850.02467
3-0.00699-0.05280.479047
4-0.018351-0.13850.445148
50.045420.34290.366463
6-0.01077-0.08130.467738
7-0.053298-0.40240.34445
8-0.131911-0.99590.161752
90.0270990.20460.419308
100.017380.13120.448033
110.0018040.01360.494589
12-0.027477-0.20740.418201
13-0.056573-0.42710.335453
140.1637151.2360.110761
150.0157310.11880.452939
16-0.010739-0.08110.467833
17-0.123576-0.9330.177384
18-0.036575-0.27610.391722
19-0.004374-0.0330.486885
20-0.225457-1.70220.047087
210.1427861.0780.142784
22-0.087058-0.65730.256825
23-0.019255-0.14540.442465
24-0.065602-0.49530.311152
25-0.07713-0.58230.281323
260.0852220.64340.261269
27-0.007105-0.05360.478704
28-0.044599-0.33670.368784
290.0788890.59560.2769
300.0404840.30570.380492
31-0.164953-1.24540.109045
32-0.005985-0.04520.482058
33-0.078026-0.58910.279067
34-0.211707-1.59830.057747
350.0183330.13840.4452
360.1868361.41060.081901
37-0.096378-0.72760.234907
38-0.079286-0.59860.275906
39-0.069175-0.52230.301756
400.0680270.51360.30476
410.0232420.17550.430664
42-0.000454-0.00340.498637
43-0.002135-0.01610.493598
440.0870190.6570.256919
450.0100790.07610.469804
460.1032980.77990.219343
47-0.046725-0.35280.362782
48-0.022761-0.17180.432085
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/10/t1292007582iosz5cmj8xy676z/1dzsq1292007698.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/10/t1292007582iosz5cmj8xy676z/1dzsq1292007698.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/10/t1292007582iosz5cmj8xy676z/2o9st1292007698.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/10/t1292007582iosz5cmj8xy676z/2o9st1292007698.ps (open in new window)


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