Home » date » 2009 » Jun » 01 »

Annelies Reul cons vertrouwen oef 6 BIS

*Unverified author*
R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Mon, 01 Jun 2009 15:19:54 -0600
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2009/Jun/01/t1243891273581qn1rzit1up0n.htm/, Retrieved Mon, 01 Jun 2009 23:21:13 +0200
 
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/Jun/01/t1243891273581qn1rzit1up0n.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:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
-9 -13 -18 -11 -9 -10 -13 -11 -5 -15 -6 -6 -3 -1 -3 -4 -6 0 -4 -2 -2 -6 -7 -6 -6 -3 -2 -5 -11 -11 -11 -10 -14 -8 -9 -5 -1 -2 -5 -4 -6 -2 -2 -2 -2 2 1 -8 -1 1 -1 2 2 1 -1 -2 -2 -1 -8 -4 -6 -3 -3 -7 -9 -11 -13 -11 -9 -17 -22 -25 -20
 
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'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.7488166.39790
20.5723414.89013e-06
30.4403953.76270.000168
40.3557683.03970.001643
50.3217312.74890.003766
60.2599722.22120.01472
70.2002831.71120.045644
80.086480.73890.231173
90.0223270.19080.424621
10-0.05569-0.47580.317812
11-0.084444-0.72150.236456
12-0.106883-0.91320.182069
13-0.152056-1.29920.098987
14-0.202085-1.72660.044233
15-0.243988-2.08460.0203
16-0.232129-1.98330.025547
17-0.276622-2.36350.010385
18-0.27451-2.34540.010863
19-0.255915-2.18650.015991
20-0.2607-2.22740.014501
21-0.24628-2.10420.019402
22-0.175642-1.50070.068875
23-0.124566-1.06430.145352
24-0.113549-0.97020.167584
25-0.079054-0.67540.250766
26-0.057806-0.49390.311431
27-0.060065-0.51320.304681
28-0.023269-0.19880.421482
29-0.01517-0.12960.448613
30-0.014229-0.12160.451786
310.0363920.31090.37837
320.0338040.28880.38677
33-0.00833-0.07120.471727
34-0.028179-0.24080.405206
35-0.014867-0.1270.449635
360.0364680.31160.378122
370.1004680.85840.19674
380.137491.17470.121964
390.0758630.64820.259454
400.0661180.56490.286934
410.0412450.35240.362777
420.0079240.06770.473105
43-0.071968-0.61490.270268
44-0.133335-1.13920.129168
45-0.165232-1.41170.081137
46-0.185272-1.5830.058876
47-0.168165-1.43680.077523
48-0.153232-1.30920.097284


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.7488166.39790
20.0264420.22590.410948
30.0076280.06520.474106
40.0390460.33360.369815
50.0830410.70950.240135
6-0.048534-0.41470.339799
7-0.02292-0.19580.422645
8-0.154809-1.32270.095033
90.0028880.02470.490192
10-0.105895-0.90480.184283
110.0193910.16570.434435
12-0.035049-0.29950.38272
13-0.064591-0.55190.291364
14-0.082322-0.70340.242034
15-0.029166-0.24920.401957
160.0312460.2670.395124
17-0.142639-1.21870.113439
180.002570.0220.491271
190.019460.16630.434205
20-0.062745-0.53610.296763
21-0.015136-0.12930.448728
220.1344071.14840.127282
23-0.019701-0.16830.433395
24-0.054217-0.46320.32229
250.0245750.210.417138
260.013710.11710.453535
27-0.100518-0.85880.196624
280.0406890.34760.364554
29-0.05268-0.45010.326987
30-0.035982-0.30740.379694
310.0938040.80150.212734
32-0.079063-0.67550.250743
33-0.10619-0.90730.18362
34-0.018006-0.15380.439078
350.0234420.20030.420907
360.106120.90670.183777
370.091790.78430.217713
38-0.008445-0.07220.471337
39-0.141278-1.20710.115649
400.1075730.91910.180534
41-0.072031-0.61540.270091
42-0.106825-0.91270.182198
43-0.179138-1.53060.065101
44-0.093324-0.79740.213913
45-0.037255-0.31830.375579
460.0573660.49010.312755
47-0.037392-0.31950.375139
480.0253850.21690.414449
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/01/t1243891273581qn1rzit1up0n/1k4hy1243891190.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/01/t1243891273581qn1rzit1up0n/1k4hy1243891190.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/01/t1243891273581qn1rzit1up0n/2ggdf1243891190.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/01/t1243891273581qn1rzit1up0n/2ggdf1243891190.ps (open in new window)


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