Home » date » 2008 » Dec » 08 »

*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, 08 Dec 2008 12:44: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/08/t1228765518j8rwthlq784cvco.htm/, Retrieved Mon, 08 Dec 2008 19:45:20 +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/08/t1228765518j8rwthlq784cvco.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 «
22780 17351 21382 24561 17409 11514 31514 27071 29462 26105 22397 23843 21705 18089 20764 25316 17704 15548 28029 29383 36438 32034 22679 24319 18004 17537 20366 22782 19169 13807 29743 25591 29096 26482 22405 27044 17970 18730 19684 19785 18479 10698 31956 29506 34506 27165 26736 23691 18157 17328 18205 20995 17382 9367 31124 26551 30651 25859 25100 25778 20418 18688 20424 24776 19814 12738 31566 30111 30019 31934 25826 26835
 
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'George Udny Yule' @ 72.249.76.132


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.2780462.35930.010512
20.0574930.48780.31357
3-0.048273-0.40960.341655
4-0.151204-1.2830.101802
5-0.234595-1.99060.025161
6-0.4355-3.69530.000213
7-0.234993-1.9940.024971
8-0.145526-1.23480.110455
9-0.072724-0.61710.269562
100.0174510.14810.441347
110.2071111.75740.041551
120.7589646.440
130.2285561.93940.028188
140.0507430.43060.334034
15-0.052394-0.44460.328979
16-0.159681-1.35490.089837
17-0.204458-1.73490.043521
18-0.400433-3.39780.000555
19-0.214402-1.81930.036515
20-0.168097-1.42640.079044
21-0.098265-0.83380.203574
220.0149090.12650.449843
230.1793551.52190.06621
240.594165.04162e-06
250.1994841.69270.04742
260.0420470.35680.36115
27-0.004601-0.0390.484484
28-0.072698-0.61690.269637
29-0.147041-1.24770.108095
30-0.302952-2.57060.006109
31-0.139106-1.18040.120873
32-0.145574-1.23520.110379
33-0.097232-0.8250.206038
340.0059790.05070.479838
350.1073780.91110.182632
360.4314313.66080.000238
370.1480741.25640.106508
380.0013210.01120.495544
39-0.002421-0.02050.491835
40-0.028772-0.24410.403909
41-0.131283-1.1140.134498
42-0.182209-1.54610.063233
43-0.095496-0.81030.210217
44-0.09188-0.77960.219083
45-0.064512-0.54740.292898
46-0.000109-9e-040.499631
470.0749130.63570.263507
480.3101282.63150.005196
490.1130610.95940.170295
500.0023090.01960.49221
510.0248120.21050.416921
520.005670.04810.480879
53-0.07062-0.59920.27545
54-0.083718-0.71040.239885
55-0.048719-0.41340.340272
56-0.020098-0.17050.432532
57-0.013718-0.11640.45383
58-0.019983-0.16960.432915
590.0167190.14190.44379
600.141431.20010.117023


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.2780462.35930.010512
2-0.021477-0.18220.427955
3-0.063572-0.53940.295629
4-0.130301-1.10560.136281
5-0.172246-1.46160.074106
6-0.372466-3.16050.001152
7-0.085132-0.72240.236202
8-0.150528-1.27730.102805
9-0.150127-1.27390.103404
10-0.142075-1.20550.11597
110.0311950.26470.395999
120.6651015.64360
13-0.201234-1.70750.046017
14-0.063297-0.53710.296428
15-0.081105-0.68820.246768
16-0.065614-0.55680.28971
170.0182230.15460.438776
18-0.039099-0.33180.370516
19-0.031973-0.27130.393467
20-0.152305-1.29240.100184
21-0.065372-0.55470.29041
220.0063450.05380.478608
23-0.004883-0.04140.483534
24-0.050688-0.43010.334202
25-0.066767-0.56650.286394
26-0.109903-0.93260.177082
270.0606160.51430.304293
280.1362611.15620.125708
29-0.045748-0.38820.349513
300.0486950.41320.340347
310.0246110.20880.417583
32-0.007434-0.06310.47494
330.0248690.2110.416733
34-0.002434-0.02070.49179
35-0.135667-1.15120.126735
36-0.092566-0.78540.217384
37-0.018565-0.15750.437635
38-0.07694-0.65290.257964
39-0.061124-0.51870.302796
40-0.044295-0.37590.354065
41-0.147086-1.24810.108026
420.1058860.89850.185964
43-0.055568-0.47150.31935
440.0822370.69780.243775
45-0.009103-0.07720.469324
46-0.027797-0.23590.407102
470.0438560.37210.355445
480.0170120.14440.442812
490.0634450.53830.295999
500.0337770.28660.387617
510.0072870.06180.475433
52-0.028352-0.24060.405284
530.0936340.79450.214755
54-0.009114-0.07730.469286
550.0086860.07370.470724
560.0517020.43870.331094
570.0405190.34380.365994
58-0.019743-0.16750.433714
59-0.072062-0.61150.271408
60-0.091874-0.77960.219097
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/08/t1228765518j8rwthlq784cvco/1zavb1228765497.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/08/t1228765518j8rwthlq784cvco/1zavb1228765497.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/08/t1228765518j8rwthlq784cvco/20olf1228765497.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/08/t1228765518j8rwthlq784cvco/20olf1228765497.ps (open in new window)


 
Parameters (Session):
par1 = FALSE ; par2 = 1 ; par3 = 0 ; par4 = 1 ; par5 = 12 ; par6 = 3 ; par7 = 0 ; par8 = 2 ; par9 = 1 ;
 
Parameters (R input):
par1 = 60 ; par2 = 0.4 ; par3 = 0 ; par4 = 0 ; par5 = 12 ; par6 = 3 ; par7 = 0 ; par8 = 2 ; par9 = 1 ;
 
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