Home » date » 2009 » Dec » 28 »

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: Mon, 28 Dec 2009 06:15:02 -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/28/t1262006143oysb5p71zkmmqlj.htm/, Retrieved Mon, 28 Dec 2009 14:15:45 +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/28/t1262006143oysb5p71zkmmqlj.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 «
14.3 14.2 15.9 15.3 15.5 15.1 15 12.1 15.8 16.9 15.1 13.7 14.8 14.7 16 15.4 15 15.5 15.1 11.7 16.3 16.7 15 14.9 14.6 15.3 17.9 16.4 15.4 17.9 15.9 13.9 17.8 17.9 17.4 16.7 16 16.6 19.1 17.8 17.2 18.6 16.3 15.1 19.2 17.7 19.1 18 17.5 17.8 21.1 17.2 19.4 19.8 17.6 16.2 19.5 19.9 20 17.3 18.9 18.6 21.4 18.6 19.8 20.8 19.6 17.7 19.8 22.2 20.7 17.9
 
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
10.614915.21771e-06
20.4692273.98158.1e-05
30.5571954.7285e-06
40.5917735.02142e-06
50.5364914.55231.1e-05
60.6258435.31051e-06
70.4696013.98478e-05
80.4856184.12065e-05
90.4123293.49870.000403
100.2750562.33390.011197
110.3863883.27860.000804
120.6079635.15871e-06
130.3167512.68770.004465
140.2161311.83390.035398
150.2380312.01980.023565
160.251182.13130.018238
170.2545072.15960.017069
180.294712.50070.007336
190.1634131.38660.08492
200.1639781.39140.084194
210.092710.78670.217027
22-0.038923-0.33030.371076
230.0874420.7420.23026
240.192851.63640.053061
25-0.021749-0.18450.427053
26-0.091617-0.77740.219736
27-0.093321-0.79190.215522
28-0.082541-0.70040.242974
29-0.069185-0.58710.279501
30-0.040832-0.34650.365
31-0.12291-1.04290.150236
32-0.106496-0.90370.184597
33-0.204313-1.73370.04363
34-0.274614-2.33020.011302
35-0.166256-1.41070.081316
36-0.079816-0.67730.250206
37-0.224197-1.90240.030561
38-0.287098-2.43610.008661
39-0.295088-2.50390.007275
40-0.24381-2.06880.021078
41-0.254385-2.15850.017111
42-0.235643-1.99950.024664
43-0.290244-2.46280.008089
44-0.252736-2.14450.017683
45-0.333681-2.83140.003002
46-0.37372-3.17110.001116
47-0.303557-2.57580.006027
48-0.211399-1.79380.038524
49-0.288478-2.44780.008406
50-0.335067-2.84310.002905
51-0.313512-2.66020.00481
52-0.264136-2.24130.014046
53-0.247372-2.0990.019661
54-0.217673-1.8470.034427
55-0.237031-2.01130.02402
56-0.221629-1.88060.032037
57-0.245644-2.08440.020338
58-0.244767-2.07690.020689
59-0.201204-1.70730.04604
60-0.15022-1.27470.103264


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.614915.21771e-06
20.146511.24320.108917
30.3629113.07940.001468
40.239292.03040.023003
50.126331.07190.143662
60.3371422.86070.002764
7-0.195594-1.65970.050666
80.1769531.50150.0688
9-0.306311-2.59910.005665
10-0.336578-2.8560.002802
110.2030281.72270.044614
120.3319252.81650.003131
13-0.21421-1.81760.03664
14-0.025571-0.2170.414419
15-0.194994-1.65460.051181
160.000720.00610.497572
170.0391790.33240.370259
18-0.039478-0.3350.369305
190.0771130.65430.257493
20-0.161213-1.36790.087792
21-0.010238-0.08690.465507
22-0.14831-1.25850.106146
230.040210.34120.366975
24-0.076831-0.65190.258259
25-0.074678-0.63370.264153
260.0353620.30010.382499
27-0.054005-0.45830.324076
280.1292711.09690.13817
29-0.123572-1.04850.148949
300.098820.83850.202258
310.0117510.09970.460425
320.0024490.02080.491739
33-0.069327-0.58830.2791
34-0.057729-0.48980.312867
35-0.122512-1.03950.151015
360.0658170.55850.289126
37-0.033642-0.28550.388056
38-0.037241-0.3160.376458
390.0473210.40150.344609
400.0132360.11230.455446
41-0.008842-0.0750.470201
42-0.049907-0.42350.336606
43-0.065044-0.55190.291359
44-0.011433-0.0970.461492
450.0537220.45580.324937
46-0.087186-0.73980.230914
47-0.005065-0.0430.48292
48-0.057922-0.49150.31229
490.0287370.24380.404024
500.07790.6610.255359
510.0881380.74790.228484
520.0159670.13550.446304
530.0674750.57250.284369
540.007620.06470.474312
55-0.011316-0.0960.461886
56-0.099886-0.84760.199745
57-0.043239-0.36690.357385
580.0545010.46250.322573
59-0.06126-0.51980.302396
60-0.079387-0.67360.251355
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/28/t1262006143oysb5p71zkmmqlj/1g8ob1262006099.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/28/t1262006143oysb5p71zkmmqlj/1g8ob1262006099.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/28/t1262006143oysb5p71zkmmqlj/2i8wj1262006099.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/28/t1262006143oysb5p71zkmmqlj/2i8wj1262006099.ps (open in new window)


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