Home » date » 2008 » Dec » 19 »

Paper12

*Unverified author*
R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Fri, 19 Dec 2008 06:29:09 -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/19/t1229693371jzkh3vusp5hnky0.htm/, Retrieved Fri, 19 Dec 2008 14:29:31 +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/19/t1229693371jzkh3vusp5hnky0.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 «
65.1 72.5 70.6 81.9 72 70.9 71.1 65.1 78.1 92 77.8 63.3 56.2 79.2 69 66.1 77.5 69.3 70.2 70.2 78.2 85.4 82.4 61.2 52.2 85.3 79.9 72.2 85.7 75.5 69.2 77.6 85.3 77 89.9 60 54.3 84 69.9 75.1 81.7 69.9 68.3 77.3 77.4 85.3 91 60.6 57.6 93.8 78.7 80.3 89.8 77.5 71.7 83.2 86.2 100.7 100.8 57.1
 
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'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.1416180.98120.165717
20.1358830.94140.1756
30.4385833.03860.00192
40.031660.21930.413656
50.0875330.60640.273538
60.1923941.33290.094421
7-0.070282-0.48690.314264
8-0.021416-0.14840.441334
90.0361080.25020.401763
10-0.223055-1.54540.064412
11-0.222123-1.53890.065196
12-0.186965-1.29530.100701
13-0.237446-1.64510.053244
14-0.245021-1.69760.048033
15-0.119971-0.83120.204993
16-0.210025-1.45510.076076
17-0.133765-0.92680.179345
180.0911650.63160.26532
19-0.112405-0.77880.219971
20-0.00169-0.01170.495354
210.1740431.20580.116902
22-0.001788-0.01240.495084
230.2823581.95620.028135
240.0603040.41780.338978
250.0443470.30720.379992
260.2793431.93530.029426
270.0607150.42060.337946
280.0085740.05940.47644
290.1857881.28720.102102
300.0340970.23620.40713
310.0163840.11350.455051
320.0616740.42730.33554
33-0.110804-0.76770.223221
34-0.138634-0.96050.170812
35-0.092274-0.63930.262836
36-0.069177-0.47930.316961
37-0.130804-0.90620.184669
38-0.069352-0.48050.316533
39-0.034025-0.23570.407321
40-0.09141-0.63330.264769
41-0.079071-0.54780.293178
42-0.108694-0.75310.227547
43-0.110786-0.76750.223257
440.0300240.2080.418051
45-0.045822-0.31750.376135
46-0.05658-0.3920.348396
470.0307920.21330.415986
48NANANA
49NANANA
50NANANA
51NANANA
52NANANA
53NANANA
54NANANA
55NANANA
56NANANA
57NANANA
58NANANA
59NANANA
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.1416180.98120.165717
20.1181980.81890.208446
30.4190152.9030.002784
4-0.087471-0.6060.273679
50.0090130.06240.475235
60.0059980.04160.483514
7-0.094031-0.65150.258926
8-0.072565-0.50270.308721
9-0.026796-0.18560.426752
10-0.181062-1.25440.107879
11-0.207467-1.43740.07855
12-0.178234-1.23480.11145
13-0.027255-0.18880.425511
14-0.076344-0.52890.299647
150.0742470.51440.304668
16-0.045791-0.31720.376215
170.0593320.41110.341426
180.2209611.53090.066184
190.0198950.13780.445473
200.0560360.38820.349782
210.0536960.3720.35576
22-0.037284-0.25830.398635
230.2301831.59480.058666
24-0.294916-2.04320.02327
25-0.042607-0.29520.384561
26-0.060519-0.41930.338439
27-0.060537-0.41940.338394
28-0.091401-0.63320.26479
290.0343030.23770.40658
300.091460.63370.264659
310.112770.78130.219234
320.0353350.24480.403824
330.0585610.40570.343374
34-0.094727-0.65630.257387
35-0.031461-0.2180.414189
36-0.010659-0.07380.47072
370.0586650.40640.343111
38-0.051801-0.35890.360627
39-0.00531-0.03680.485402
40-0.002904-0.02010.492015
41-0.147573-1.02240.155856
42-0.054639-0.37860.353344
43-0.058895-0.4080.342531
44-0.045193-0.31310.377777
450.0303240.21010.417242
46-0.141989-0.98370.165091
470.0499980.34640.365279
48NANANA
49NANANA
50NANANA
51NANANA
52NANANA
53NANANA
54NANANA
55NANANA
56NANANA
57NANANA
58NANANA
59NANANA
60NANANA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/19/t1229693371jzkh3vusp5hnky0/1wn8s1229693344.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/19/t1229693371jzkh3vusp5hnky0/1wn8s1229693344.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/19/t1229693371jzkh3vusp5hnky0/2izzz1229693345.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/19/t1229693371jzkh3vusp5hnky0/2izzz1229693345.ps (open in new window)


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