Home » date » 2008 » Dec » 02 »

paper

*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, 02 Dec 2008 07:55:43 -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/02/t12282298096upxarnk74wqpbz.htm/, Retrieved Tue, 02 Dec 2008 14:56:51 +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/02/t12282298096upxarnk74wqpbz.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 «
1202454.6 1201423.4 1505916 1513377.6 1977605.3 1873829.6 1424049.1 1322740 1584825.5 1680460.3 1648573.7 3095468.7 1307982.9 1367588.9 1572718.3 1611602.9 1641196.4 1845262.4 1464237.6 1402385.7 2077099.8 1691129.6 1729012.7 3347792.1 1365087.7 1545460 1844355.1 1775549.8 1721779.2 2128726.1 1664319.9 1769471.4 1904578.4 1872042.3 1802181 3222199.4 1491414.2 1658519.2 2079206.9 1748767.4 2084447.4 2067181.6 1718122.8 1782337.1 1958118.4 2028681.3 2076128.1 3383873 1870369 1654852.9 2074338.3 1888653.7 1991137.8 2168237.9 1867424.1 1842359.6 1927476.3 2065555.4 2455608.5 3336170.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
1-0.126245-0.87470.193059
20.0756840.52440.301222
30.0209510.14520.442598
4-0.212469-1.4720.07377
5-0.05824-0.40350.344188
6-0.047365-0.32820.372111
70.0841010.58270.281422
8-0.023038-0.15960.436927
9-0.021698-0.15030.440569
10-0.012821-0.08880.464794
110.0868140.60150.27518
12-0.22076-1.52950.066356
13-0.104744-0.72570.235777
14-0.071097-0.49260.312279
15-0.091714-0.63540.264088
160.0075510.05230.479248
170.1148190.79550.215124
180.1973881.36750.088912
19-0.085678-0.59360.277785
200.1959721.35770.090449
21-0.078805-0.5460.293806
22-0.031717-0.21970.413502
23-0.057984-0.40170.344835
24-0.081123-0.5620.288354
250.1286380.89120.188625
26-0.084743-0.58710.279939
270.1019020.7060.241801
280.0977020.67690.25086
29-0.082157-0.56920.285938
30-0.184408-1.27760.103765
31-0.016154-0.11190.455677
32-0.132317-0.91670.181937
330.0397090.27510.392205
340.036510.2530.400693
350.0683310.47340.319033
360.0080470.05580.477884


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.126245-0.87470.193059
20.0607140.42060.337948
30.0383410.26560.395829
4-0.214541-1.48640.071858
5-0.119779-0.82990.205366
6-0.039748-0.27540.392103
70.1039160.720.237523
8-0.03865-0.26780.395011
9-0.091825-0.63620.26384
10-0.057046-0.39520.347213
110.1379230.95560.172041
12-0.204523-1.4170.081473
13-0.238036-1.64920.052822
14-0.140893-0.97610.166946
15-0.03204-0.2220.412636
16-0.080839-0.56010.289019
17-0.015158-0.1050.4584
180.1309070.90690.184482
19-0.066513-0.46080.323505
200.1507231.04420.150803
21-0.032513-0.22530.411368
22-0.026016-0.18020.42886
23-0.070521-0.48860.313682
24-0.092761-0.64270.26175
250.0467670.3240.373668
26-0.086279-0.59780.276406
27-0.035399-0.24520.403655
280.0527570.36550.358167
29-0.025839-0.1790.429339
30-0.183822-1.27360.104477
31-0.086963-0.60250.274839
32-0.026322-0.18240.428032
330.093050.64470.261106
34-0.048491-0.3360.369183
35-0.054968-0.38080.352504
36-0.116697-0.80850.211395
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/02/t12282298096upxarnk74wqpbz/1wksa1228229741.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/02/t12282298096upxarnk74wqpbz/1wksa1228229741.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/02/t12282298096upxarnk74wqpbz/2us141228229741.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/02/t12282298096upxarnk74wqpbz/2us141228229741.ps (open in new window)


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