Home » date » 2008 » Dec » 19 »

auto corr d 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: Fri, 19 Dec 2008 04:16: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/19/t1229685442i407p0jrgp5zo11.htm/, Retrieved Fri, 19 Dec 2008 12:17:26 +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/19/t1229685442i407p0jrgp5zo11.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 «
72.5 72.0 98.8 75.2 81.2 88.0 54.6 68.6 101.5 93.4 84.5 91.4 64.5 64.5 117.3 73.5 79.7 102.6 57.9 73.1 102.4 82.3 89.1 84.7 81.4 67.5 113.9 83.8 73.9 103.9 67.9 62.5 125.4 79.1 106.3 96.2 94.3 85.6 117.4 88.5 124.2 119.3 76.8 70.6 122.1 109.5 119.9 102.3 79.6 78.2 103.6 77.8 99.1 105.7 84.1 88.7 108.0 98.1 101.0 82.0
 
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.545204-3.73770.000251
20.0549050.37640.354154
30.1839961.26140.106692
4-0.332761-2.28130.013553
50.2811671.92760.029981
6-0.079735-0.54660.293609
7-0.157484-1.07970.142902
80.2674221.83340.036544
9-0.413915-2.83770.003344
100.4864393.33490.000836
11-0.217227-1.48920.071553
12-0.122221-0.83790.203163
130.3445442.36210.011183
14-0.412726-2.82950.003418
150.241871.65820.051971
160.0347860.23850.406272
17-0.207293-1.42110.080941
180.2438881.6720.050584
19-0.158462-1.08640.141429
200.0380370.26080.397704
210.0817860.56070.288834
22-0.121216-0.8310.205084
230.1883521.29130.101461
24-0.246678-1.69110.048716
250.1159970.79520.215237
260.0316640.21710.414544
27-0.096144-0.65910.256514
280.1008680.69150.246323
29-0.062077-0.42560.336178
30-0.028878-0.1980.421959
310.1283890.88020.191617
32-0.098157-0.67290.252143
330.0448790.30770.379844
34-0.09244-0.63370.264662
350.0049520.03390.486531
360.0264670.18150.428397
370.0071120.04880.480659
380.0163430.1120.455634
39-0.027042-0.18540.426861
400.0147950.10140.459821
410.0513660.35210.363151
42-0.058336-0.39990.345509
43-5e-05-3e-040.499864
440.0016710.01150.495454
45-0.013194-0.09050.464157
46-0.000456-0.00310.498761
47NANANA
48NANANA
49NANANA
50NANANA
51NANANA
52NANANA
53NANANA
54NANANA
55NANANA
56NANANA
57NANANA
58NANANA
59NANANA
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.545204-3.73770.000251
2-0.344849-2.36420.011127
30.0585290.40130.345025
4-0.248076-1.70070.047802
5-0.018458-0.12650.449923
60.0330820.22680.410782
7-0.149056-1.02190.156035
80.0280080.1920.424278
9-0.367648-2.52050.007587
100.2565851.75910.042538
110.0383360.26280.39692
12-0.05277-0.36180.359571
130.1288590.88340.190754
14-0.132509-0.90840.184142
150.016560.11350.455046
16-0.074005-0.50740.307141
170.1289430.8840.1906
18-0.05127-0.35150.363397
190.1790531.22750.112869
20-0.061076-0.41870.338666
21-0.034405-0.23590.407281
220.1977851.35590.090797
23-0.020509-0.14060.444392
240.0291260.19970.421297
25-0.07349-0.50380.308369
26-0.016106-0.11040.456275
270.0518890.35570.361815
28-0.070486-0.48320.31559
29-0.01154-0.07910.468638
30-0.020061-0.13750.445598
310.1144990.7850.218207
32-0.049289-0.33790.368469
33-0.029489-0.20220.42033
34-0.091598-0.6280.266534
35-0.201111-1.37870.08725
36-0.068636-0.47050.320071
37-0.060673-0.4160.339668
380.0136380.09350.462954
39-0.013232-0.09070.464054
40-0.011067-0.07590.469921
410.0334310.22920.409858
42-0.071052-0.48710.314223
43-0.051986-0.35640.361568
44-0.045785-0.31390.377498
450.0682640.4680.320976
460.0021740.01490.494086
47NANANA
48NANANA
49NANANA
50NANANA
51NANANA
52NANANA
53NANANA
54NANANA
55NANANA
56NANANA
57NANANA
58NANANA
59NANANA
60NANANA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/19/t1229685442i407p0jrgp5zo11/18u491229685380.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/19/t1229685442i407p0jrgp5zo11/18u491229685380.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/19/t1229685442i407p0jrgp5zo11/2wah71229685380.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/19/t1229685442i407p0jrgp5zo11/2wah71229685380.ps (open in new window)


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