Home » date » 2008 » Dec » 21 »

autocorr nt duur cons

*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 10:22:22 -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/t1229880228dfcqc10wc9d5k2y.htm/, Retrieved Sun, 21 Dec 2008 18:23:50 +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/t1229880228dfcqc10wc9d5k2y.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 «
95,9 95,3 100,4 97,3 82,3 97,0 93,5 90,9 107,8 110,9 98,1 106,5 93,4 95,7 109,0 97,6 92,7 107,5 91,7 95,7 111,4 106,0 104,8 108,7 97,3 97,1 106,1 98,6 98,5 105,5 86,2 98,3 111,3 105,0 105,7 103,5 96,9 98,1 111,7 94,7 104,2 109,7 91,3 102,6 114,2 115,8 113,5 107,1 104,5 101,9 116,0 102,0 108,1 112,9 104,5 109,1 113,4 123,9 117,7 108,3
 
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.3145672.43660.008905
20.1435041.11160.135378
30.3866672.99510.001991
4-0.00844-0.06540.474046
50.0923250.71510.238646
60.3991913.09210.001507
70.021470.16630.434239
80.0006080.00470.498128
90.2549571.97490.026444
10-0.079915-0.6190.269123
110.163571.2670.105024
120.5736754.44371.9e-05
130.0525380.4070.342743
140.0305520.23670.406865
150.0880840.68230.248838
16-0.226762-1.75650.042053
17-0.035606-0.27580.391822
180.1515971.17430.122464
19-0.129087-0.99990.160686
20-0.076471-0.59230.277923
210.0558090.43230.333539
22-0.182627-1.41460.081174
230.0925490.71690.238115
240.2778612.15230.017703
25-0.03234-0.25050.401528
260.0071460.05540.478019
27-0.024289-0.18810.425699
28-0.235935-1.82750.036296
29-0.045998-0.35630.361433
300.0503790.39020.348874
31-0.111684-0.86510.195216
32-0.041765-0.32350.373717
33-0.019709-0.15270.439586
34-0.149204-1.15570.126187
350.0654880.50730.306914
360.12030.93180.177577
37-0.054212-0.41990.338021
38-0.060828-0.47120.319615
39-0.103646-0.80280.212619
40-0.227203-1.75990.04176
41-0.153789-1.19120.119124
42-0.10737-0.83170.204442
43-0.141276-1.09430.139095
44-0.110023-0.85220.198737
45-0.126692-0.98140.16518
46-0.158103-1.22470.112745
47-0.055921-0.43320.333226
48-0.03066-0.23750.406542
49-0.081061-0.62790.266227
50-0.114629-0.88790.189067
51-0.15001-1.1620.124924
52-0.172052-1.33270.093833
53-0.180267-1.39630.083878
54-0.133699-1.03560.152267
55-0.092092-0.71330.2392
56-0.075589-0.58550.2802
57-0.068604-0.53140.298551
58-0.036012-0.2790.390621
59-0.009265-0.07180.471515
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.3145672.43660.008905
20.0494440.3830.351541
30.3651392.82840.003176
4-0.286732-2.2210.015068
50.2119541.64180.052933
60.2403131.86150.03379
7-0.139667-1.08190.141823
8-0.073556-0.56980.285483
90.1370291.06140.146375
10-0.108558-0.84090.201875
110.307212.37960.010263
120.368342.85310.002966
13-0.261035-2.0220.023823
14-0.156054-1.20880.115743
15-0.301782-2.33760.011381
160.0638160.49430.311445
17-0.02956-0.2290.409835
18-0.026621-0.20620.418665
190.0371830.2880.387161
20-0.061598-0.47710.3175
210.0599990.46480.321895
220.0768210.5950.277024
230.0471370.36510.358152
24-0.086805-0.67240.25196
250.0126830.09820.461034
26-0.033456-0.25910.398205
270.0837160.64850.25958
28-0.058397-0.45230.326328
29-0.010895-0.08440.466513
30-0.058136-0.45030.327051
310.0432520.3350.369385
320.0017150.01330.494724
33-0.017085-0.13230.44758
34-0.01205-0.09330.462973
35-0.058051-0.44970.327287
36-0.018455-0.1430.443404
37-0.038992-0.3020.381838
38-0.111753-0.86560.195069
390.0338960.26260.396896
40-0.038982-0.3020.381867
41-0.135958-1.05310.148253
42-0.085749-0.66420.254551
430.0599070.4640.322149
440.0204360.15830.437378
45-0.025062-0.19410.423365
46-0.046225-0.35810.360779
47-0.034183-0.26480.396043
48-0.045989-0.35620.361461
490.0555460.43030.334275
500.0410930.31830.375678
51-0.069204-0.5360.296953
52-0.001993-0.01540.493866
53-0.041925-0.32470.373251
540.0563080.43620.332143
55-0.020653-0.160.436719
560.0318860.2470.402881
57-0.025061-0.19410.423368
580.0213940.16570.434467
590.0538930.41750.338919
60NANANA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/21/t1229880228dfcqc10wc9d5k2y/10qfe1229880140.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/21/t1229880228dfcqc10wc9d5k2y/10qfe1229880140.ps (open in new window)


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


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