Home » date » 2007 » Nov » 29 » attachments

Autocorrelation Function (personenwagens..)

R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Thu, 29 Nov 2007 04:08:41 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2007/Nov/29/t11963339224qeppyjrga08lns.htm/, Retrieved Thu, 29 Nov 2007 11:58:44 +0100
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
-11,8 -11,4 -17,7 -17,3 -18,6 -17,9 -21,4 -19,4 -15,5 -7,7 -0,7 -1,6 1,4 0,7 9,5 1,4 4,1 6,6 18,4 16,9 9,2 -4,3 -5,9 -7,7 -5,4 -2,3 -4,8 2,3 -5,2 -10 -17,1 -14,4 -3,9 3,7 6,5 0,9 -4,1 -7 -12,2 -2,5 4,4 13,7 12,3 13,4 2,2 1,7 -7,2 -4,8 -2,9 -2,4 -2,5 -5,3 -7,1 -8
 
Text written by user:
Inducing Stationary in Time Series vraag 2
 
Output produced by software:


Summary of compuational 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
017.28010
10.1949021.41890.08089
20.1231560.89660.186997
3-0.49259-3.58610.999634
4-0.224751-1.63620.94614
5-0.196895-1.43340.921194
60.031130.22660.41079
70.1760921.2820.102716
80.3112242.26570.013789
90.2890642.10440.020051
10-0.130671-0.95130.827114
11-0.372493-2.71180.995499
12-0.516354-3.75910.999787
13-0.104955-0.76410.775897
140.1032430.75160.227802
150.270741.9710.026977
160.1525731.11070.135845
170.0188410.13720.44571
18-0.051788-0.3770.646169
19-0.20796-1.5140.932013
20-0.184466-1.34290.907492
21-0.033903-0.24680.596997
220.0992130.72230.236648
230.2844032.07050.021647
240.1045930.76140.224882
250.1047860.76290.224466
26-0.105266-0.76630.776566
27-0.014047-0.10230.540534
28-0.145435-1.05880.852749
290.0775110.56430.287468
30-0.009671-0.07040.527931
310.1563851.13850.130016
320.0108520.0790.468664
330.0269560.19620.422584
34-0.049327-0.35910.639529
35-0.07205-0.52450.698952
36-0.031581-0.22990.590477
37-0.100385-0.73080.765943
38-0.003754-0.02730.510851
39-0.041879-0.30490.619176
400.0427750.31140.378356
41-0.024501-0.17840.570445
420.0269950.19650.422475
43-0.023372-0.17020.567231
440.0214620.15620.438218
45-0.008935-0.06510.525811
46-0.004484-0.03260.51296
470.002420.01760.493005


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
00.1949021.41890.08089
10.0885320.64450.261008
2-0.557085-4.05560.999918
3-0.041722-0.30370.618743
40.0314680.22910.40984
5-0.23415-1.70460.952941
60.148541.08140.142211
70.2942832.14240.018386
80.0829930.60420.274145
9-0.330868-2.40880.990242
10-0.220791-1.60740.943044
11-0.148357-1.08010.857496
12-0.019062-0.13880.554924
13-0.025825-0.1880.574207
14-0.143953-1.0480.850302
15-0.071028-0.51710.696379
16-0.158187-1.15160.872676
17-0.013028-0.09480.537601
180.0378230.27540.392057
19-0.019622-0.14290.556526
200.1525241.11040.135922
21-0.262731-1.91270.969403
22-0.100017-0.72810.765133
230.0096930.07060.472004
240.135610.98730.164002
250.0875490.63740.263316
26-0.004721-0.03440.513645
27-0.150684-1.0970.861199
280.0548540.39930.345622
29-0.011893-0.08660.534336
300.0076210.05550.477981
310.1090040.79360.215496
320.04640.33780.368425
33-0.110992-0.8080.788658
34-0.076284-0.55540.709507
350.0814280.59280.277917
360.0776880.56560.287033
37-0.016761-0.1220.548328
38-0.077409-0.56350.712279
39-0.083023-0.60440.725926
40-0.057874-0.42130.662392
410.061670.4490.327644
420.1049630.76410.224086
430.0191580.13950.444804
440.0604190.43990.330915
45-0.034073-0.24810.597476
46-0.106438-0.77490.779072
470.0184030.1340.446966
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Nov/29/t11963339224qeppyjrga08lns/1qdkz1196334519.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Nov/29/t11963339224qeppyjrga08lns/1qdkz1196334519.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Nov/29/t11963339224qeppyjrga08lns/2sqqb1196334519.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Nov/29/t11963339224qeppyjrga08lns/2sqqb1196334519.ps (open in new window)


 
Parameters:
par1 = 1 ;
 
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 1:par1) {
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(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-1,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(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:

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