Home » date » 2008 » Dec » 08 »

step3

*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:51:58 -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/t1228765953pn84u7q1wnrcm99.htm/, Retrieved Mon, 08 Dec 2008 19:52:35 +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/t1228765953pn84u7q1wnrcm99.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 «
83.1 89.6 105.7 110.7 110.4 109 106 100.9 114.3 101.2 109.2 111.6 91.7 93.7 105.7 109.5 105.3 102.8 100.6 97.6 110.3 107.2 107.2 108.1 97.1 92.2 112.2 111.6 115.7 111.3 104.2 103.2 112.7 106.4 102.6 110.6 95.2 89 112.5 116.8 107.2 113.6 101.8 102.6 122.7 110.3 110.5 121.6 100.3 100.7 123.4 127.1 124.1 131.2 111.6 114.2 130.1 125.9 119 133.8 107.5 113.5 134.4 126.8 135.6 139.9 129.8 131 153.1 134.1 144.1 155.9 123.3 128.1 144.3 153 149.9 150.9 141 138.9 157.4 142.9 151.7 161 138.5 135.9 151.5 164 159.1 157 142.1 144.8 152.1 154.6 148.7 157.7 146.7
 
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
1-0.555815-5.09411e-06
20.1279961.17310.122035
30.0917290.84070.20145
4-0.114054-1.04530.149437
50.0857580.7860.217045
6-0.05221-0.47850.316765
70.0005550.00510.497978
8-0.11644-1.06720.144472
90.238262.18370.015887
10-0.238699-2.18770.015734
110.1368611.25440.106596
12-0.162543-1.48970.07002
130.0207750.19040.424723
140.043470.39840.345668
150.0038610.03540.485926
16-0.028757-0.26360.396381
17-0.0845-0.77450.220417
180.3323783.04630.001548
19-0.336454-3.08360.001383
200.183111.67820.04851
21-0.016605-0.15220.4397
22-0.125514-1.15040.126632
230.2901732.65950.004685
24-0.216763-1.98670.02511
250.0101810.09330.462938
260.0969550.88860.188376
270.0063080.05780.477018
28-0.185297-1.69830.046578
290.2751232.52150.006786
30-0.29764-2.72790.00388
310.1413721.29570.099315
320.0480510.44040.330391
33-0.099884-0.91550.181288
340.0116510.10680.457607
35-0.073553-0.67410.251043
360.0607390.55670.289614
37-0.055474-0.50840.306242
380.0690460.63280.264285
39-0.147179-1.34890.090495
400.2039751.86950.032522
41-0.1-0.91650.18101
420.0038330.03510.486028
43-0.014892-0.13650.445881
440.0673550.61730.269347
45-0.092059-0.84370.200606
460.0625150.5730.284102
470.1147731.05190.147928
48-0.225949-2.07090.020721
490.2099231.9240.028872
50-0.083611-0.76630.22282
51-0.063625-0.58310.280682
520.095490.87520.191987
53-0.132359-1.21310.114247
540.0659090.60410.273713
550.0145740.13360.447031
56-0.016855-0.15450.438802
57-0.047975-0.43970.330644
580.1044860.95760.170498
59-0.102902-0.94310.174163
600.0768460.70430.241596


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.555815-5.09411e-06
2-0.261818-2.39960.009312
30.0558870.51220.304922
40.0132380.12130.45186
50.0413730.37920.352754
6-0.012028-0.11020.456242
7-0.034766-0.31860.375398
8-0.228941-2.09830.019442
90.1112711.01980.155371
10-0.030605-0.28050.389893
110.0259140.23750.40642
12-0.235023-2.1540.017052
13-0.215688-1.97680.025672
14-0.139298-1.27670.102616
150.10430.95590.170925
160.0622720.57070.284852
17-0.134522-1.23290.110523
180.2188792.00610.024034
19-0.006837-0.06270.475093
20-0.082315-0.75440.22635
210.0247440.22680.410572
22-0.088427-0.81040.209987
230.2264232.07520.020514
240.0304170.27880.390552
25-0.148824-1.3640.088107
260.0044590.04090.483749
270.1094981.00360.159236
28-0.104887-0.96130.169578
290.1469811.34710.090786
30-0.02114-0.19370.42342
310.0066650.06110.475717
32-0.084905-0.77820.21933
330.0481860.44160.329945
34-0.036569-0.33520.369169
35-0.098914-0.90660.183616
36-0.266835-2.44560.008275
37-0.0128-0.11730.453447
380.0017130.01570.493756
39-0.06138-0.56260.287616
400.1182411.08370.140801
41-0.113803-1.0430.149966
42-0.032245-0.29550.384158
43-0.112798-1.03380.152096
44-0.04245-0.38910.349109
45-0.016168-0.14820.441278
46-0.020774-0.19040.42473
470.0082580.07570.469923
48-0.008955-0.08210.467391
49-0.122816-1.12560.131764
50-0.030044-0.27540.391859
51-0.016982-0.15560.438345
520.0339140.31080.37835
53-0.000598-0.00550.497821
54-0.05231-0.47940.316441
55-0.150732-1.38150.085397
560.006940.06360.474718
570.1143081.04760.148903
58-0.005085-0.04660.48147
590.0941390.86280.195354
60-0.025335-0.23220.408475
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/08/t1228765953pn84u7q1wnrcm99/143wl1228765916.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/08/t1228765953pn84u7q1wnrcm99/143wl1228765916.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/08/t1228765953pn84u7q1wnrcm99/2ghck1228765916.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/08/t1228765953pn84u7q1wnrcm99/2ghck1228765916.ps (open in new window)


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