Home » date » 2009 » Nov » 27 »

shw-ws8

*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: Fri, 27 Nov 2009 05:12: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/2009/Nov/27/t1259323995lo9tfsf7zax98gi.htm/, Retrieved Fri, 27 Nov 2009 13:13:18 +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/2009/Nov/27/t1259323995lo9tfsf7zax98gi.htm/},
    year = {2009},
}
@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 = {2009},
    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:
Workshop 8 - Model ACF 1
 
Dataseries X:
» Textbox « » Textfile « » CSV «
1178 2141 2238 2685 4341 5376 4478 6404 4617 3024 1897 2075 1351 2211 2453 3042 4765 4992 4601 6266 4812 3159 1916 2237 1595 2453 2226 3597 4706 4974 5756 5493 5004 3225 2006 2291 1588 2105 2191 3591 4668 4885 5822 5599 5340 3082 2010 2301 1514 1979 2480 3499 4676 5585 5610 5796 6199 3030 1930 2552
 
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.7358065.69950
20.3820082.9590.002206
3-0.0234-0.18130.428388
4-0.428421-3.31850.000771
5-0.714546-5.53480
6-0.775354-6.00590
7-0.662668-5.1332e-06
8-0.3424-2.65220.005108
90.0426420.33030.371161
100.3633182.81420.003301
110.6200794.80315e-06
120.7610225.89490
130.5746474.45121.9e-05
140.2988812.31510.012022
15-0.039346-0.30480.380796
16-0.335411-2.59810.005889
17-0.553885-4.29043.3e-05
18-0.605433-4.68978e-06
19-0.510487-3.95420.000103
20-0.260596-2.01860.024004
210.031810.24640.403108
220.2783782.15630.017539
230.4797843.71640.000223
240.5559254.30623.1e-05
250.4381353.39380.000613
260.2175371.6850.048589
27-0.040754-0.31570.37667
28-0.245143-1.89890.031197
29-0.414433-3.21020.001066
30-0.445617-3.45170.000513
31-0.351592-2.72340.004225
32-0.188122-1.45720.07514
330.0279930.21680.414538
340.1979771.53350.065201
350.3300772.55680.006556
360.3824262.96230.002186
370.30292.34630.011142
380.1176940.91170.1828
39-0.041184-0.3190.375414
40-0.168429-1.30460.098497
41-0.272311-2.10930.019549
42-0.280265-2.17090.016952
43-0.211813-1.64070.053047
44-0.109299-0.84660.200284
450.0325540.25220.400888
460.1252620.97030.167903
470.1772661.37310.087417
480.2026021.56940.060913
490.1501971.16340.124632
500.0339510.2630.396731
51-0.039295-0.30440.380947
52-0.095155-0.73710.231977
53-0.122242-0.94690.173748
54-0.100241-0.77650.220263
55-0.054629-0.42320.336849
56-0.017634-0.13660.445905
570.0347010.26880.394506
580.0375590.29090.386053
590.0169750.13150.447915
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.7358065.69950
2-0.347593-2.69240.00459
3-0.363174-2.81310.003311
4-0.416363-3.22510.00102
5-0.34813-2.69660.004539
6-0.161931-1.25430.107296
7-0.233533-1.80890.037736
80.019970.15470.438792
9-0.043567-0.33750.36847
10-0.150901-1.16890.123538
110.0776370.60140.274928
120.2821072.18520.016395
13-0.265498-2.05650.022044
140.0455290.35270.362786
150.0011120.00860.496579
160.1852821.43520.078213
17-0.007196-0.05570.477868
180.0113420.08790.465141
190.053380.41350.340363
20-0.01137-0.08810.465058
210.0007680.00590.497636
220.0057650.04470.482265
230.0843570.65340.25799
24-0.060789-0.47090.319721
250.0091040.07050.472006
26-0.077026-0.59660.276496
270.0407150.31540.376785
280.0606220.46960.320181
29-0.06368-0.49330.311813
300.0628160.48660.314168
310.0778270.60280.274441
32-0.128495-0.99530.161789
330.0745830.57770.282807
34-0.06446-0.49930.309694
350.0265780.20590.418793
360.0270170.20930.417473
37-0.096708-0.74910.228362
38-0.081574-0.63190.264936
390.0384250.29760.383504
40-0.000843-0.00650.497405
410.0409160.31690.376197
42-0.026487-0.20520.419068
43-0.019045-0.14750.441609
44-0.009317-0.07220.471352
45-0.014128-0.10940.456611
460.0097850.07580.469918
47-0.104866-0.81230.209918
48-0.03144-0.24350.404213
49-0.067123-0.51990.302511
500.0012880.010.496038
51-0.066538-0.51540.304083
52-0.005503-0.04260.483072
530.0189310.14660.441955
540.0184560.1430.443399
550.0446750.34610.365256
56-0.080228-0.62140.26833
570.0201410.1560.438273
58-0.044779-0.34690.364956
59-0.095104-0.73670.232097
60NANANA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Nov/27/t1259323995lo9tfsf7zax98gi/1q4v51259323941.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/27/t1259323995lo9tfsf7zax98gi/1q4v51259323941.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/27/t1259323995lo9tfsf7zax98gi/2475q1259323941.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/27/t1259323995lo9tfsf7zax98gi/2475q1259323941.ps (open in new window)


 
Parameters (Session):
par1 = 60 ; par2 = 1 ; par3 = 0 ; par4 = 0 ; par5 = 12 ; par6 = MA ; par7 = 0.95 ;
 
Parameters (R input):
par1 = 60 ; par2 = 1 ; par3 = 0 ; par4 = 0 ; par5 = 12 ; par6 = MA ; par7 = 0.95 ;
 
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 (par6 == 'White Noise') par6 <- 'white' else par6 <- 'ma'
par7 <- as.numeric(par7)
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='time lag', ylab='ACF', ci.type=par6, ci=par7, sub=paste('(lambda=',par2,', d=',par3,', D=',par4,', CI=', par7, ', CI type=',par6,')',sep=''))
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