Home » date » 2008 » Dec » 19 »

auto corr 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 03:57:15 -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/t122968433099a09ouvvex10mq.htm/, Retrieved Fri, 19 Dec 2008 11:58:54 +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/t122968433099a09ouvvex10mq.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 «
99.3 98.7 107.9 101.0 97.6 103.0 94.1 94.1 115.1 116.5 103.4 112.5 95.6 97.5 119.3 100.9 97.7 115.3 92.8 99.2 118.7 110.1 110.3 112.9 102.2 99.4 116.1 103.8 101.8 113.7 89.7 99.5 122.9 108.6 114.4 110.5 104.1 103.6 121.6 101.1 116.0 120.1 96.0 105.0 124.7 123.9 123.6 114.8 108.8 106.1 123.2 106.2 115.2 120.6 109.5 114.4 121.4 129.5 124.3 112.6
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'George Udny Yule' @ 72.249.76.132


Autocorrelation Function
Time lag kACF(k)T-STATP-value
1-0.514826-3.52950.000472
2-0.100668-0.69010.246749
30.2799751.91940.030508
4-0.241501-1.65560.052228
50.154331.0580.147724
60.0260170.17840.429601
7-0.227725-1.56120.062592
80.1503191.03050.154016
90.034350.23550.407424
100.0219870.15070.440415
11-0.086701-0.59440.27755
12-0.004841-0.03320.486833
13-0.015827-0.10850.457029
140.1273720.87320.193492
15-0.044976-0.30830.379594
16-0.162827-1.11630.134988
170.1287290.88250.190994
180.1092090.74870.228886
19-0.203719-1.39660.084543
200.0460270.31550.376872
210.1143550.7840.218493
22-0.243068-1.66640.051144
230.299652.05430.022766
24-0.104023-0.71310.239642
25-0.179889-1.23330.111807
260.2243951.53840.065331
27-0.074649-0.51180.305604
28-0.001832-0.01260.495016
290.0212080.14540.442511
30-0.073988-0.50720.30718
310.0887540.60850.272905
320.0324110.22220.412561
33-0.062999-0.43190.333894
34-0.038047-0.26080.397678
350.1009720.69220.246101
36-0.145707-0.99890.161476
370.0930110.63770.263398
380.0587970.40310.344354
39-0.184505-1.26490.106071
400.150011.02840.154508
410.0456460.31290.377857
42-0.133372-0.91440.182599
430.0672830.46130.323366
44-0.005632-0.03860.484683
45-0.020788-0.14250.443641
46-0.002697-0.01850.492663
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.514826-3.52950.000472
2-0.4976-3.41140.000669
3-0.097325-0.66720.253945
4-0.218778-1.49990.070169
50.0119190.08170.467611
60.0917530.6290.266188
7-0.123218-0.84470.201267
8-0.174806-1.19840.118383
9-0.085308-0.58480.280726
100.1912491.31110.098091
110.075230.51580.304223
120.0085740.05880.476688
13-0.196062-1.34410.092679
14-0.003131-0.02150.491483
150.0964460.66120.255855
16-0.049795-0.34140.36717
17-0.083304-0.57110.285325
180.1117750.76630.223668
19-0.070043-0.48020.316659
20-0.236172-1.61910.056057
210.0766110.52520.30095
22-0.149369-1.0240.155534
230.0601020.4120.341091
240.0279060.19130.424552
250.00460.03150.487487
26-0.077457-0.5310.298954
27-0.044233-0.30320.381519
280.0526160.36070.359963
290.0315380.21620.414879
300.1156350.79280.215953
310.0014250.00980.496123
320.0563550.38640.350489
330.04820.33040.371267
340.0529450.3630.359128
350.0678310.4650.32203
36-0.153699-1.05370.148702
37-0.119607-0.820.208182
38-0.038643-0.26490.396114
39-0.013731-0.09410.462701
400.0159580.10940.456675
410.0434870.29810.383457
420.012160.08340.466959
430.0309630.21230.416407
44-0.042099-0.28860.387073
450.0732710.50230.308893
46-0.031322-0.21470.415453
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/t122968433099a09ouvvex10mq/1o3491229684233.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/19/t122968433099a09ouvvex10mq/1o3491229684233.ps (open in new window)


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


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