Home » date » 2009 » Jan » 24 »

Dennis Collin oef 6 bis deel 2

*Unverified author*
R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Sat, 24 Jan 2009 11:00:52 -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/Jan/24/t1232820133zfxiz40t3rph74e.htm/, Retrieved Sat, 24 Jan 2009 19:02:13 +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/Jan/24/t1232820133zfxiz40t3rph74e.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 «
1,29 1,29 1,3 1,3 1,3 1,3 1,31 1,31 1,31 1,31 1,31 1,32 1,32 1,32 1,32 1,33 1,33 1,33 1,34 1,34 1,34 1,34 1,34 1,34 1,34 1,35 1,36 1,36 1,36 1,37 1,37 1,37 1,37 1,37 1,37 1,37 1,38 1,38 1,38 1,39 1,4 1,4 1,4 1,4 1,41 1,42 1,43 1,43 1,43 1,44 1,45 1,45 1,46 1,46 1,47 1,47 1,47 1,48 1,49 1,49 1,49 1,5 1,51 1,51 1,51 1,52 1,52 1,52 1,52 1,53 1,53 1,53 1,53 1,54 1,54 1,55 1,55 1,55 1,56 1,56 1,58 1,58 1,58 1,58 1,58 1,58 1,59 1,59 1,6 1,6 1,6 1,61 1,62 1,62 1,63 1,63
 
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
1-0.5-4.84772e-06
2-0.053571-0.51940.302353
3-0.017857-0.17310.43146
40.1251.21190.11429
5-0.017857-0.17310.43146
6-0.053571-0.51940.302353
7-0.035714-0.34630.36496
80.1607141.55820.061275
9-0.142857-1.38510.084658
10-0.053571-0.51940.302353
110.1785711.73130.043338
12-0.142857-1.38510.084658
130.0892860.86570.194441
14-0.035714-0.34630.36496
150.0178570.17310.43146
16000.5
17-0.053571-0.51940.302353
180.0178570.17310.43146
190.1071431.03880.150784
20-0.178571-1.73130.043338
210.1785711.73130.043338
22-0.178571-1.73130.043338
230.1607141.55820.061275
24-0.107143-1.03880.150784
250.0357140.34630.36496
260.0714290.69250.245157
27-0.125-1.21190.11429
28000.5
290.1071431.03880.150784
30-0.035714-0.34630.36496
31000.5
32-0.053571-0.51940.302353
33-0.035714-0.34630.36496
340.1785711.73130.043338
35-0.160714-1.55820.061275
360.1071431.03880.150784
37-0.035714-0.34630.36496
38-0.071429-0.69250.245157
390.0535710.51940.302353
400.0714290.69250.245157
41-0.125-1.21190.11429
420.0535710.51940.302353
43-0.017857-0.17310.43146
440.1428571.38510.084658
45-0.214286-2.07760.020238
460.0714290.69250.245157
470.0535710.51940.302353
48000.5


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.5-4.84772e-06
2-0.404762-3.92438.3e-05
3-0.411186-3.98666.6e-05
4-0.255737-2.47950.00747
5-0.150843-1.46250.073473
6-0.1292-1.25260.106721
7-0.19307-1.87190.032166
80.0274310.2660.395428
9-0.041849-0.40570.342929
10-0.211289-2.04850.021648
11-0.021502-0.20850.417657
12-0.190932-1.85120.033644
13-0.10199-0.98880.162642
14-0.025377-0.2460.403093
150.0179160.17370.431236
160.0629480.61030.271567
170.0171350.16610.434205
18-0.032362-0.31380.377199
190.0549460.53270.297741
20-0.097877-0.9490.172538
210.1155671.12050.132685
22-0.106242-1.03010.152813
230.0842260.81660.20811
24-0.01961-0.19010.424811
25-0.020058-0.19450.423113
260.1619521.57020.059866
27-0.05858-0.5680.285709
28-0.092463-0.89650.186148
29-0.075485-0.73190.233039
30-0.06679-0.64750.259428
310.0779750.7560.225771
32-0.036506-0.35390.36209
33-0.107563-1.04290.149844
34-0.05782-0.56060.288208
35-0.106786-1.03530.151585
360.0932480.90410.184135
370.0734260.71190.239147
380.0251320.24370.404012
39-0.009989-0.09690.461526
400.0943780.9150.181258
410.0798690.77440.220331
42-0.093108-0.90270.184493
430.0158030.15320.439279
440.1756161.70270.045968
45-0.011042-0.10710.457487
460.1629941.58030.0587
470.0468880.45460.325225
480.0539060.52260.301229
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jan/24/t1232820133zfxiz40t3rph74e/1ox4r1232820047.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jan/24/t1232820133zfxiz40t3rph74e/1ox4r1232820047.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jan/24/t1232820133zfxiz40t3rph74e/24wgq1232820047.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jan/24/t1232820133zfxiz40t3rph74e/24wgq1232820047.ps (open in new window)


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