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:23:59 -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/t1229865878ustg0cjsd2w7ux1.htm/, Retrieved Sun, 21 Dec 2008 14:24:38 +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/t1229865878ustg0cjsd2w7ux1.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 time2 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001


Autocorrelation Function
Time lag kACF(k)T-STATP-value
1-0.477162-4.04896.4e-05
20.0589820.50050.309132
30.1961591.66450.050183
4-0.186687-1.58410.058778
50.014840.12590.450073
60.0801910.68040.249204
7-0.233129-1.97820.025869
80.1414161.20.117045
90.053640.45520.325185
10-0.145301-1.23290.110809
110.1149460.97530.166327
12-0.229627-1.94840.027629
13-0.011752-0.09970.460422
140.0590450.5010.308945
15-0.008597-0.0730.471024
16-0.140547-1.19260.118475
170.1199511.01780.156086
180.1987351.68630.048031
19-0.125392-1.0640.145445
20-0.002213-0.01880.492534
210.1862211.58010.05923
22-0.235585-1.9990.024692
230.2659552.25670.013531
24-0.134703-1.1430.128414
25-0.092782-0.78730.216851
260.2127471.80520.037611
27-0.137605-1.16760.123406
280.0121250.10290.459171
290.0821480.6970.24401
30-0.20797-1.76470.040929
310.0567340.48140.315845
320.079840.67750.25014
33-0.211532-1.79490.038433
340.0079280.06730.473277
350.1264251.07270.143483
36-0.091895-0.77980.219045
370.1279561.08570.140607
38-0.050441-0.4280.334962
390.0240480.20410.419444
400.0248810.21110.416694
410.0225380.19120.424437
42-0.079942-0.67830.249868
430.0340260.28870.386812
440.0837650.71080.239763
45-0.096547-0.81920.207679
460.1727411.46580.073535
47-0.112251-0.95250.17202
48-0.05585-0.47390.318502
490.0708840.60150.274707
50-0.08265-0.70130.242687
51-0.068165-0.57840.282399
520.0503860.42750.33513
53-0.007892-0.0670.473398
54-0.000171-0.00140.499425
550.0661890.56160.288056
56-0.070462-0.59790.275894
570.0201950.17140.432211
580.0094830.08050.468045
59-0.032817-0.27850.390729
600.0336310.28540.388092


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.477162-4.04896.4e-05
2-0.218436-1.85350.033954
30.1716211.45630.074835
40.0124610.10570.458043
5-0.096245-0.81670.208406
6-0.009527-0.08080.467897
7-0.20776-1.76290.04108
8-0.07085-0.60120.274804
90.1138040.96570.168724
100.0168930.14330.443212
11-0.020437-0.17340.431406
12-0.353017-2.99540.001878
13-0.367129-3.11520.00132
14-0.221028-1.87550.032391
150.1512761.28360.101695
16-0.017767-0.15080.440294
17-0.245004-2.07890.020594
180.1346131.14220.128572
190.1500271.2730.103553
20-0.121631-1.03210.152747
210.1545491.31140.096947
22-0.009572-0.08120.467747
230.1560651.32430.094804
24-0.115742-0.98210.164669
25-0.23182-1.96710.026515
260.0007480.00640.497475
270.0115740.09820.46102
280.0184170.15630.438126
29-0.029211-0.24790.402474
300.0909640.77190.221364
310.0430510.36530.35798
32-0.171332-1.45380.075173
33-0.006008-0.0510.479742
34-0.106187-0.9010.185289
350.1107430.93970.17526
36-0.091917-0.77990.21899
370.0073980.06280.475061
380.0709620.60210.274488
39-0.020276-0.1720.431942
40-0.083396-0.70760.240727
41-0.107654-0.91350.18202
420.0421950.3580.360681
430.0591160.50160.308734
44-0.082801-0.70260.242288
45-0.04961-0.4210.337521
460.0149940.12720.449556
470.0138740.11770.453306
48-0.073771-0.6260.266659
49-0.075397-0.63980.262179
500.0123650.10490.458365
510.0583430.49510.311034
52-0.063901-0.54220.29467
53-0.032723-0.27770.391034
54-0.022312-0.18930.425186
550.0049860.04230.483186
56-0.076598-0.650.258893
570.0014230.01210.495201
58-0.061386-0.52090.302025
59-0.009422-0.07990.468251
60-0.026665-0.22630.41082
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/21/t1229865878ustg0cjsd2w7ux1/19jyz1229865833.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/21/t1229865878ustg0cjsd2w7ux1/19jyz1229865833.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/21/t1229865878ustg0cjsd2w7ux1/2lryr1229865833.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/21/t1229865878ustg0cjsd2w7ux1/2lryr1229865833.ps (open in new window)


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