Home » date » 2008 » Dec » 09 »

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: Tue, 09 Dec 2008 05:52:58 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2008/Dec/09/t1228827323ufxxfyyitmncxlu.htm/, Retrieved Tue, 09 Dec 2008 12:55:25 +0000
 
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/2008/Dec/09/t1228827323ufxxfyyitmncxlu.htm/},
    year = {2008},
}
@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 = {2008},
    note = {{ISBN} 3-900051-07-0},
    url = {http://www.R-project.org},
}
 
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
 
Feedback Forum:
2008-11-27 13:41:43 [a2386b643d711541400692649981f2dc] [reply
test

Post a new message
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
35810356.5 35492936.3 38937434.1 40059102.8 37708710.2 41570965.7 36333563 34181220.1 42593543.9 43119727.6 38497690.9 45473273.4 38399780.4 38882302.6 44051120.6 41677559.9 40699203.5 44150027.6 38225518.7 35447405.7 43075518.3 42302792 39743541.7 44670641.2 37123384 37668266.4 46117528.8 42273156.4 39404153.2 45799994.5 38602505.2 39454830.1 47427901.4 46497980.9 45057149.4 50615569.2 43033396.2 46013056.5 54222266.3 46417306.4 51046271.8 51201279.6 43475288.7 44968981.1 53939345.4 54549319.7 54072107.3 58434230.1 51158751 50039368 57872617.4 51642978.8 54534465.9 56094697.8 48189983.1 47492381 52987449.1 55719803.5 53922860.5 54931231.9
 
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.6860795.31431e-06
20.5858284.53781.4e-05
30.7056195.46570
40.4993483.86790.000136
50.5493324.25513.7e-05
60.7445945.76760
70.4797073.71580.000223
80.3832842.96890.002145
90.4967043.84750.000146
100.2986012.3130.012085
110.337412.61360.005655
120.5211344.03677.8e-05
130.2471871.91470.030151
140.167711.29910.099444
150.2389951.85120.034529
160.0388460.30090.382267
170.0971380.75240.227369
180.2402111.86070.033847
190.0255170.19770.421993
20-0.027013-0.20920.417484
210.0395480.30630.380204
22-0.130003-1.0070.158989
23-0.07812-0.60510.273691
240.0395980.30670.380057
25-0.172487-1.33610.093284
26-0.199037-1.54170.064198
27-0.150414-1.16510.124295
28-0.290502-2.25020.014057
29-0.22574-1.74860.042739
30-0.140259-1.08640.140814
31-0.28911-2.23940.014423
32-0.291667-2.25920.013757
33-0.26279-2.03560.023109
34-0.34782-2.69420.004569
35-0.278713-2.15890.017434
36-0.195743-1.51620.067358
37-0.310115-2.40210.009706
38-0.31861-2.46790.008229
39-0.27615-2.1390.018255
40-0.343551-2.66110.004989
41-0.271698-2.10460.019763
42-0.211573-1.63880.053241
43-0.29304-2.26990.013411
44-0.301719-2.33710.011395
45-0.27952-2.16520.017182
46-0.30384-2.35350.010945
47-0.25227-1.95410.027679
48-0.185432-1.43640.078048
49-0.221126-1.71280.045953
50-0.216643-1.67810.049264
51-0.193235-1.49680.069845
52-0.197151-1.52710.065993
53-0.149325-1.15670.125997
54-0.099099-0.76760.222863
55-0.109607-0.8490.199626
56-0.109313-0.84670.200255
57-0.095435-0.73920.231323
58-0.068847-0.53330.297902
59-0.035674-0.27630.391623
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.6860795.31431e-06
20.2175041.68480.048613
30.4796963.71570.000223
4-0.287227-2.22490.014932
50.404753.13520.001329
60.3363492.60530.005778
7-0.407367-3.15540.001253
8-0.248051-1.92140.029718
90.126050.97640.166398
10-0.025516-0.19760.421994
110.0375240.29070.386157
120.0970930.75210.227472
13-0.279642-2.16610.017144
14-0.059265-0.45910.323923
15-0.159993-1.23930.110029
160.0283160.21930.413567
170.0788040.61040.271947
18-0.059496-0.46090.323286
190.0729540.56510.287056
20-0.026733-0.20710.418328
21-0.041513-0.32160.374453
220.0163470.12660.44983
23-0.069123-0.53540.297168
24-0.093053-0.72080.23692
25-0.080354-0.62240.268012
260.0078510.06080.475854
27-0.000851-0.00660.497382
280.0579280.44870.327629
29-0.096918-0.75070.227876
30-0.068772-0.53270.298103
310.0637330.49370.311669
320.0121160.09380.462772
33-0.106973-0.82860.205306
340.1467631.13680.130067
35-0.027404-0.21230.416308
360.0779120.60350.274225
37-0.038136-0.29540.384353
38-0.160667-1.24450.109074
390.1386151.07370.143626
40-0.108089-0.83730.202887
41-0.036873-0.28560.388077
424.4e-053e-040.499866
43-0.03059-0.23690.406752
44-0.062277-0.48240.315641
450.0040620.03150.487501
46-0.022718-0.1760.430455
470.0049690.03850.484714
480.0430710.33360.369912
490.0641650.4970.310495
500.1419041.09920.138039
51-0.11668-0.90380.184858
520.0382070.2960.384144
53-0.028686-0.22220.412456
54-0.00213-0.01650.493447
55-0.050347-0.390.348964
560.0532910.41280.340615
570.0084330.06530.474066
580.003890.03010.488032
590.00980.07590.46987
60NANANA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/09/t1228827323ufxxfyyitmncxlu/1dyjz1228827177.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/09/t1228827323ufxxfyyitmncxlu/1dyjz1228827177.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/09/t1228827323ufxxfyyitmncxlu/2k8j71228827177.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/09/t1228827323ufxxfyyitmncxlu/2k8j71228827177.ps (open in new window)


 
Parameters (Session):
par1 = 60 ; par2 = 1 ; par3 = 0 ; par4 = 0 ; par5 = 12 ;
 
Parameters (R input):
par1 = 60 ; par2 = 1 ; par3 = 0 ; par4 = 0 ; par5 = 12 ;
 
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 (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='lags',ylab='ACF')
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