Home » date » 2008 » Dec » 21 »

*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: Sun, 21 Dec 2008 06:20:21 -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/21/t1229865771as9q6jhxr1migdn.htm/, Retrieved Sun, 21 Dec 2008 14:22:51 +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/21/t1229865771as9q6jhxr1migdn.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 «
13139,7 14532,2 15167 16071,1 14827,5 15082 14772,7 16083 14272,5 15223,3 14897,3 13062,6 12603,8 13629,8 14421,1 13978,3 12927,9 13429,9 13470,1 14785,8 14292 14308,8 14013 13240,9 12153,4 14289,7 15669,2 14169,5 14569,8 14469,1 14264,9 15320,9 14433,5 13691,5 14194,1 13519,2 11857,9 14616 15643,4 14077,2 14887,5 14159,9 14643 17192,5 15386,1 14287,1 17526,6 14497 14398,3 16629,6 16670,7 16614,8 16869,2 15663,9 16359,9 18447,7 16889 16505 18320,9 15052,1 15699,8 18135,3 16768,7 18883 19021 18101,9 17776,1 21489,9 17065,3 18690 18953,1 16398,9 16895,7 18553 19270 19422,1 17579,4 18637,3 18076,7 20438,6 18075,2 19563 19899,2 19227,5 17789,6 19220,8 21968,9 21131,5 19484,6 22404,1 21099 22486,5 23707,5 21897,5 23326,4 23765,4 20444
 
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
10.8214748.09060
20.7513917.40030
30.7742767.62570
40.7137417.02950
50.6887256.78320
60.7093816.98660
70.6148266.05530
80.6078775.98690
90.606925.97750
100.5241145.16191e-06
110.5634995.54980
120.6329176.23350
130.5005734.93012e-06
140.4536874.46831.1e-05
150.4531334.46281.1e-05
160.4132324.06994.8e-05
170.4142324.07974.6e-05
180.4060513.99916.2e-05
190.3371143.32020.000634
200.3386143.3350.000605
210.326233.2130.000892
220.2619492.57990.005691
230.3035962.99010.001767
240.3167173.11930.001194
250.2300862.26610.012834
260.1865181.8370.034636
270.1667071.64190.051927
280.1358931.33840.091949
290.1281651.26230.104937
300.0860240.84720.199474
310.0453550.44670.328047
320.0332490.32750.37201
33-0.006359-0.06260.475097
34-0.050068-0.49310.311524
35-0.021336-0.21010.417001
36-0.011855-0.11680.453646
37-0.072532-0.71440.23836
38-0.118941-1.17140.122148
39-0.126467-1.24560.107964
40-0.147197-1.44970.075181
41-0.160954-1.58520.058087
42-0.194806-1.91860.028987
43-0.215802-2.12540.018047
44-0.217686-2.1440.017268
45-0.247284-2.43550.008349
46-0.276573-2.72390.003826
47-0.270861-2.66770.004476
48-0.254451-2.5060.006937
49-0.291018-2.86620.002547
50-0.33441-3.29360.000691
51-0.339269-3.34140.000592
52-0.335093-3.30030.000676
53-0.348869-3.4360.000435
54-0.358488-3.53070.000318
55-0.372572-3.66940.000199
56-0.36648-3.60940.000244
57-0.36507-3.59550.000256
58-0.370494-3.64890.000213
59-0.364685-3.59170.000259
60-0.327018-3.22080.00087


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.8214748.09060
20.2354732.31910.011243
30.3546733.49310.00036
4-0.032722-0.32230.37397
50.1066711.05060.148029
60.1400861.37970.085428
7-0.222414-2.19050.015441
80.1299731.28010.101784
9-0.047827-0.4710.319333
10-0.112538-1.10840.135221
110.2587822.54870.00619
120.2351612.31610.01133
13-0.347281-3.42030.000458
14-0.144555-1.42370.07887
15-0.068421-0.67390.250999
160.1122261.10530.135882
170.0085120.08380.466682
18-0.037111-0.36550.357766
190.0551240.54290.294218
20-0.047816-0.47090.319373
210.0102750.10120.459802
22-0.016988-0.16730.433735
230.0494760.48730.313578
24-0.088107-0.86780.193835
25-0.035077-0.34550.365247
26-0.094852-0.93420.176265
27-0.031859-0.31380.377182
28-0.028151-0.27730.391088
29-0.077648-0.76470.22314
30-0.055211-0.54380.293927
310.066890.65880.255797
32-0.053054-0.52250.301248
33-0.069333-0.68290.248163
34-0.014617-0.1440.442917
350.0280310.27610.391538
360.1179241.16140.124161
37-0.118824-1.17030.122378
38-0.056472-0.55620.289682
390.0331070.32610.372538
40-0.103538-1.01970.155196
41-0.014741-0.14520.442433
42-0.032064-0.31580.376419
430.02020.19890.42136
440.0406530.40040.344875
45-0.041368-0.40740.342294
460.0196820.19380.423353
47-0.129733-1.27770.102198
480.000220.00220.499139
490.0373550.36790.356873
50-0.051129-0.50360.307854
51-0.008041-0.07920.468522
520.0236340.23280.408216
53-4.1e-05-4e-040.499839
540.0464550.45750.324158
55-0.075925-0.74780.228202
560.046470.45770.324103
570.022360.22020.413079
580.049210.48470.314505
59-0.004501-0.04430.482368
60-0.01661-0.16360.435197
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/21/t1229865771as9q6jhxr1migdn/11do21229865616.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/21/t1229865771as9q6jhxr1migdn/11do21229865616.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/21/t1229865771as9q6jhxr1migdn/20s331229865616.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/21/t1229865771as9q6jhxr1migdn/20s331229865616.ps (open in new window)


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