Home » date » 2010 » Dec » 14 »

biefstuk 3

*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, 14 Dec 2010 15:31:38 +0000
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2010/Dec/14/t129234062367trjl7lunbkrz4.htm/, Retrieved Tue, 14 Dec 2010 16:30:25 +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/2010/Dec/14/t129234062367trjl7lunbkrz4.htm/},
    year = {2010},
}
@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 = {2010},
    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 «
10,92 10,98 11,15 11,19 11,33 11,38 11,4 11,45 11,56 11,61 11,82 11,77 11,85 11,82 11,92 11,86 11,87 11,94 11,86 11,92 11,83 11,91 11,93 11,99 11,96 12,12 11,85 12,01 12,1 12,21 12,31 12,31 12,39 12,35 12,41 12,51 12,27 12,51 12,44 12,47 12,51 12,58 12,5 12,52 12,59 12,51 12,67 12,64 12,54 12,66 12,67 12,62 12,72 12,85 12,85 12,82
 
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
10.9084766.79840
20.8335146.23740
30.7617555.70050
40.6944415.19671e-06
50.6423344.80686e-06
60.5894744.41122.4e-05
70.5311043.97440.000102
80.4778073.57560.000364
90.4286313.20760.001107
100.3769422.82080.003308
110.3484782.60780.00583
120.3160372.3650.01076
130.2854862.13640.018516
140.2529791.89310.031757
150.2267121.69660.047666
160.1931411.44530.076968
170.1611161.20570.116505
180.1374511.02860.154048
190.0987890.73930.231417
200.073820.55240.291429
210.0264310.19780.421961
22-0.014929-0.11170.455724
23-0.053342-0.39920.345642
24-0.09309-0.69660.244461
25-0.131652-0.98520.164384
26-0.166586-1.24660.108863
27-0.215749-1.61450.056018
28-0.252465-1.88930.032018
29-0.277322-2.07530.021283
30-0.286802-2.14620.018101
31-0.305573-2.28670.013008
32-0.31659-2.36910.010651
33-0.322929-2.41660.009475
34-0.332482-2.48810.007923
35-0.333726-2.49740.007739
36-0.323453-2.42050.009384


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.9084766.79840
20.0468590.35070.363579
3-0.01469-0.10990.45643
4-0.011517-0.08620.465812
50.0524280.39230.348149
6-0.020975-0.1570.437919
7-0.060752-0.45460.325567
8-0.009047-0.06770.473132
9-0.00162-0.01210.495184
10-0.044963-0.33650.368886
110.0921650.68970.246615
12-0.021735-0.16260.43569
13-0.00915-0.06850.472825
14-0.032691-0.24460.403815
150.0265620.19880.421581
16-0.059953-0.44870.327707
17-0.030128-0.22550.411222
180.0257480.19270.423953
19-0.095365-0.71370.239204
200.0274130.20510.419104
21-0.135889-1.01690.156788
22-0.015417-0.11540.454283
23-0.030931-0.23150.408898
24-0.048169-0.36050.359928
25-0.036522-0.27330.392813
26-0.034496-0.25810.39862
27-0.118522-0.88690.189452
280.0122420.09160.463666
290.0062430.04670.481451
300.0778710.58270.281205
31-0.115314-0.86290.195928
320.0326960.24470.403801
330.0026350.01970.492169
34-0.02806-0.210.417221
35-0.004986-0.03730.485184
360.0657450.4920.312324
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/14/t129234062367trjl7lunbkrz4/170b61292340695.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/14/t129234062367trjl7lunbkrz4/170b61292340695.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/14/t129234062367trjl7lunbkrz4/270b61292340695.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/14/t129234062367trjl7lunbkrz4/270b61292340695.ps (open in new window)


 
Parameters (Session):
par1 = 36 ; par2 = 1 ; par3 = 0 ; par4 = 0 ; par5 = 12 ; par6 = MA ; par7 = 0.95 ;
 
Parameters (R input):
par1 = 36 ; par2 = 1 ; par3 = 0 ; par4 = 0 ; par5 = 12 ; par6 = MA ; par7 = 0.95 ;
 
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 (par6 == 'White Noise') par6 <- 'white' else par6 <- 'ma'
par7 <- as.numeric(par7)
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='time lag', ylab='ACF', ci.type=par6, ci=par7, sub=paste('(lambda=',par2,', d=',par3,', D=',par4,', CI=', par7, ', CI type=',par6,')',sep=''))
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