Home » date » 2008 » Dec » 16 »

autocorrelation mannen

*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: Tue, 16 Dec 2008 12:08:07 -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/16/t1229454530ogdw58zt8fi6wow.htm/, Retrieved Tue, 16 Dec 2008 20:08:50 +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/16/t1229454530ogdw58zt8fi6wow.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 «
7,5 7,6 7,9 7,9 8,1 8,2 8 7,5 6,8 6,5 6,6 7,6 8 8 7,7 7,5 7,6 7,7 7,9 7,8 7,5 7,5 7,1 7,5 7,5 7,6 7,7 7,7 7,9 8,1 8,2 8,2 8,1 7,9 7,3 6,9 6,6 6,7 6,9 7 7,1 7,2 7,1 6,9 7 6,8 6,4 6,7 6,7 6,4 6,3 6,2 6,5 6,8 6,8 6,5 6,3 5,9 5,9 6,4
 
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'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Autocorrelation Function
Time lag kACF(k)T-STATP-value
017.7460
10.8844996.85130
20.674335.22331e-06
30.4703913.64360.000281
40.3508052.71730.004294
50.3221742.49550.007672
60.3308642.56290.006454
70.3314142.56710.006383
80.3055882.36710.010586
90.28652.21920.015132
100.2864992.21920.015132
110.3028912.34620.011144
120.3204242.4820.007941
130.2865812.21980.01511
140.2300051.78160.039937
150.1574921.21990.113633
160.0759020.58790.279391
170.0017390.01350.49465
18-0.046805-0.36260.640894
19-0.072618-0.56250.712063
20-0.095433-0.73920.768671
21-0.110601-0.85670.802494
22-0.142423-1.10320.862828
23-0.16979-1.31520.903274
24-0.178963-1.38620.914598
25-0.169529-1.31320.902937
26-0.135824-1.05210.851511
27-0.110962-0.85950.803258
28-0.115088-0.89150.811879
29-0.1398-1.08290.858404
30-0.182775-1.41580.918993
31-0.223274-1.72950.955567
32-0.250049-1.93690.971263
33-0.247987-1.92090.97025
34-0.226012-1.75070.957444
35-0.187356-1.45130.924041


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
00.8844996.85130
1-0.496217-3.84370.999852
20.1029130.79720.214251
30.2445371.89420.031512
40.095170.73720.231942
5-0.070812-0.54850.707311
60.0051840.04020.48405
70.0333510.25830.398517
80.1744761.35150.090806
90.0131590.10190.459577
100.0039040.03020.487988
110.0416290.32250.374114
12-0.211127-1.63540.946397
130.1447351.12110.133354
14-0.111733-0.86550.804889
15-0.19958-1.54590.936311
16-0.026302-0.20370.580376
170.0635480.49220.312172
18-0.091931-0.71210.760416
19-0.121428-0.94060.824653
200.003740.0290.488494
21-0.136963-1.06090.853508
220.0868320.67260.251893
23-0.021442-0.16610.565676
240.036110.27970.390332
250.0621330.48130.316033
26-0.063622-0.49280.688028
270.0090150.06980.472282
280.0984980.7630.224238
29-0.20395-1.57980.940293
300.0359490.27850.39081
310.0759540.58830.279258
32-0.059201-0.45860.6759
330.1022580.79210.215716
340.0184990.14330.443269
35-0.177782-1.37710.9132
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/16/t1229454530ogdw58zt8fi6wow/1dfbv1229454482.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/16/t1229454530ogdw58zt8fi6wow/1dfbv1229454482.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/16/t1229454530ogdw58zt8fi6wow/2iojv1229454482.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/16/t1229454530ogdw58zt8fi6wow/2iojv1229454482.ps (open in new window)


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

  • 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