Home » date » 2008 » Dec » 18 »

autocorrelation 20-25 d=1

*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: Thu, 18 Dec 2008 08:13:35 -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/18/t1229613257jnrn3766r6jaxzu.htm/, Retrieved Thu, 18 Dec 2008 16:14:19 +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/18/t1229613257jnrn3766r6jaxzu.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 «
40628 40167 43375 45610 46255 44375 35461 38096 40813 41582 44461 46390 45744 47990 51847 56641 55016 53119 44471 45200 46256 46922 48965 49447 51702 52837 56273 59070 57871 54862 44357 45264 47111 49050 50518 51824 53495 54623 58088 61321 60205 56527 45623 46127 48141 50648 52441 53661 54156 54245 58182 60436 59412 55903 43648 43555 45483 46956 49087 50433 50505 50890 53703 55276 53959 49732 37776 38437 40187 41626 42682 43647 43625 44352 49669 50986 48869 43127 33629 34948 36346 37607 38948 40274 40044 41139 45041 47433 48126 41639 33538 34742 37152 38399 41374 43363 44071 45080 48487 52140 52780 46700 38202 39915 42199 44356 46188 47883 48149 48201 51438 55796 55989 48794 39252 41414 43856 46086 48284 50101
 
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
10.3522143.84229.9e-05
2-0.116072-1.26620.103959
3-0.341269-3.72280.000151
4-0.30181-3.29240.000654
5-0.064735-0.70620.24073
6-0.000414-0.00450.498203
7-0.05156-0.56250.287431
8-0.26858-2.92990.002033
9-0.293068-3.1970.00089
10-0.094752-1.03360.151703
110.3405633.71510.000155
120.8688099.47760
130.3092933.3745e-04
14-0.091815-1.00160.159288
15-0.319568-3.48610.000344
16-0.285631-3.11590.00115
17-0.070151-0.76530.222816
18-0.014169-0.15460.438711
19-0.054258-0.59190.277526
20-0.242376-2.6440.004649
21-0.243387-2.6550.004508
22-0.082344-0.89830.185427
230.3133313.4180.000432
240.769878.39830
250.2628682.86760.002447
26-0.084237-0.91890.179999
27-0.301913-3.29350.000652
28-0.268552-2.92960.002035
29-0.06903-0.7530.22646
30-0.003178-0.03470.4862
31-0.037933-0.41380.339884
32-0.21329-2.32670.010836
33-0.219936-2.39920.008991
34-0.079727-0.86970.193103
350.2875873.13720.001075
360.6667837.27370
370.2157662.35370.010113
38-0.072096-0.78650.216575
39-0.274671-2.99630.001663
40-0.241812-2.63790.004729
41-0.068978-0.75250.226631
420.0028740.03140.487519
43-0.026089-0.28460.388222
44-0.191469-2.08870.019434
45-0.1896-2.06830.020389
46-0.068022-0.7420.229764
470.2647912.88850.0023
480.5634176.14620
490.1574551.71760.044233
50-0.075317-0.82160.206471
51-0.229139-2.49960.006898
52-0.189907-2.07160.02023
53-0.060243-0.65720.256169
540.0055020.060.476122
55-0.027648-0.30160.381738
56-0.155696-1.69840.046019
57-0.153891-1.67870.047913
58-0.056747-0.6190.268539
590.2363772.57860.00557
600.4551294.96491e-06


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.3522143.84229.9e-05
2-0.274134-2.99040.001693
3-0.237775-2.59380.005342
4-0.139458-1.52130.065417
50.004870.05310.478859
6-0.154337-1.68360.047439
7-0.17217-1.87820.031404
8-0.383807-4.18682.7e-05
9-0.337204-3.67850.000177
10-0.344902-3.76240.000131
11-0.016397-0.17890.42917
120.7285767.94780
13-0.207539-2.2640.012693
140.177821.93980.027386
150.1186921.29480.098952
160.0928211.01260.156663
170.0320780.34990.363504
180.0070540.07690.469398
190.00320.03490.486105
200.0014350.01570.493767
210.0223210.24350.40402
22-0.074164-0.8090.210056
23-0.051955-0.56680.285972
240.0677030.73860.230817
25-0.12916-1.4090.080725
26-0.047552-0.51870.302456
27-0.036604-0.39930.345194
28-0.052588-0.57370.283639
29-0.034195-0.3730.354895
300.0513340.560.288269
310.0157860.17220.431786
320.0098030.10690.45751
33-0.037357-0.40750.342181
340.0233550.25480.399667
35-0.01837-0.20040.420756
36-0.077165-0.84180.200803
37-0.057072-0.62260.267375
38-0.018589-0.20280.419826
39-0.02106-0.22970.409343
40-0.02719-0.29660.383641
41-0.067482-0.73610.231545
42-0.012934-0.14110.444018
43-0.027583-0.30090.382009
44-0.052962-0.57780.282262
45-0.003897-0.04250.48308
460.0033120.03610.485618
47-0.006336-0.06910.472506
48-0.077054-0.84060.201141
49-0.070631-0.77050.221267
50-0.065459-0.71410.238291
510.036250.39540.346615
52-0.002318-0.02530.489935
53-0.061659-0.67260.251245
54-0.001432-0.01560.49378
55-0.036024-0.3930.347522
560.0738070.80510.211174
57-0.004227-0.04610.481649
580.0068980.07520.470071
59-0.007806-0.08510.466143
60-0.065212-0.71140.239121
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/18/t1229613257jnrn3766r6jaxzu/1zmx21229613214.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/18/t1229613257jnrn3766r6jaxzu/1zmx21229613214.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/18/t1229613257jnrn3766r6jaxzu/22kbv1229613214.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/18/t1229613257jnrn3766r6jaxzu/22kbv1229613214.ps (open in new window)


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