Home » date » 2008 » Dec » 15 »

*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, 15 Dec 2008 04:05:07 -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/15/t1229339142qn0g58ff520hrex.htm/, Retrieved Mon, 15 Dec 2008 12:05:42 +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/2008/Dec/15/t1229339142qn0g58ff520hrex.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},
}
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
1961782 1787447 1953757 1828167 2078223 1777226 1538059 1678452 2262924 1616451 1829222 1763216 2138777 1565784 1781485 1962103 1775358 1837255 1917824 1878651 2124030 1948811 1947985 1719466 2139078 2086587 2020001 2405555 2152069 2791310 2397287 1885473 1978324 2165120 2052877 1726766 2267082 2501737 1916630 2177682 1859283 1718749 1819181 1463556 1979279 1723911 1528538 1635412 2255789 1698773 1635959 2054968 1794346 1938855 2112672 1446965 1610773 1576815 1509935 1769046
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001


Autocorrelation Function
Time lag kACF(k)T-STATP-value
1-0.604116-4.60081.2e-05
2-0.00058-0.00440.498244
30.1629321.24090.109827
4-0.017731-0.1350.446524
5-0.054585-0.41570.339578
60.0009380.00710.497162
70.0043880.03340.486729
80.0179260.13650.445942
9-0.020052-0.15270.439577
100.1048510.79850.213914
11-0.271648-2.06880.021516
120.3665772.79180.003543
13-0.247123-1.8820.032426
14-0.035759-0.27230.393167
150.2558581.94860.028096
16-0.292835-2.23020.014811
170.2039731.55340.062883
18-0.098606-0.7510.227857
190.0840570.64020.262295
20-0.117669-0.89610.186941
210.0510280.38860.349491
220.1200070.91390.182264
23-0.228935-1.74350.043271
240.1229030.9360.176576
250.0762620.58080.281814
26-0.142803-1.08760.140644
270.1240940.94510.174272
28-0.128057-0.97530.166742
290.1038770.79110.216053
30-0.001754-0.01340.494694
31-0.110142-0.83880.202508
320.1016820.77440.220924
33-0.049993-0.38070.352395
340.0957970.72960.234296
35-0.175207-1.33430.093654
360.1520151.15770.125863
37-0.024617-0.18750.42597
38-0.046915-0.35730.361083
39-0.03118-0.23750.406569
400.113520.86450.195426
41-0.085106-0.64820.259722
420.0252430.19220.42411
43-0.020943-0.15950.436916
440.0536350.40850.342216
45-0.08986-0.68430.24824
460.1145510.87240.193295
47-0.076523-0.58280.281149
48-0.015773-0.12010.452399


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.604116-4.60081.2e-05
2-0.575609-4.38372.5e-05
3-0.436501-3.32430.00077
4-0.250136-1.9050.030873
5-0.085407-0.65040.258989
6-0.029254-0.22280.41224
7-0.10613-0.80830.211121
8-0.172866-1.31650.096591
9-0.219467-1.67140.050014
100.1288540.98130.165255
11-0.168652-1.28440.102052
120.1491771.13610.130294
130.0744780.56720.28638
14-0.160894-1.22530.112701
150.1087640.82830.205441
16-0.168579-1.28390.102148
170.0718160.54690.29326
18-0.037509-0.28570.388077
190.2009751.53060.065655
200.026340.20060.420857
21-0.083676-0.63730.263233
220.0594790.4530.326128
23-0.032302-0.2460.403274
24-0.106683-0.81250.209922
25-0.067428-0.51350.30477
260.0989690.75370.227032
270.0292070.22240.41238
280.1191710.90760.183928
29-0.092915-0.70760.241008
300.0611310.46560.321638
31-0.123928-0.94380.174592
32-0.095444-0.72690.235111
33-0.033506-0.25520.399746
34-0.082517-0.62840.266096
35-0.024442-0.18610.426489
36-0.06934-0.52810.299731
37-0.072197-0.54980.292271
380.0636070.48440.314957
39-0.160655-1.22350.113042
40-0.042278-0.3220.374313
41-0.006104-0.04650.48154
42-0.052066-0.39650.346587
430.0778440.59280.277797
44-0.084097-0.64050.262197
45-0.128702-0.98020.165537
46-0.024646-0.18770.425883
470.030240.23030.409334
480.094340.71850.237676
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/15/t1229339142qn0g58ff520hrex/1lcp91229339101.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/15/t1229339142qn0g58ff520hrex/1lcp91229339101.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/15/t1229339142qn0g58ff520hrex/2twg41229339101.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/15/t1229339142qn0g58ff520hrex/2twg41229339101.ps (open in new window)


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