Home » date » 2010 » May » 03 »

Paper : Opgave 6 BIS /(oef2) - Ishia Opgenhaffen

*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, 03 May 2010 15:16:06 +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/May/03/t12728998337mmkubf941xur7v.htm/, Retrieved Mon, 03 May 2010 17:17:15 +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/2010/May/03/t12728998337mmkubf941xur7v.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:
KDGP2W21
 
Dataseries X:
» Textbox « » Textfile « » CSV «
121.67 121.65 121.61 121.5 121.41 121.41 121.4 121.38 121.34 121.19 120.96 120.96 120.96 120.9 120.86 120.73 120.53 120.53 120.53 120.52 120.51 120.43 120.29 120.27 120.27 120.24 120.21 120.06 119.86 119.85 119.85 119.83 119.71 119.57 119.2 119.13 119.13 119.09 118.9 118.54 118.12 118.11 118.1 118.08 117.91 117.63 117.28 117.2 117.17 117.14 116.96 116.34 115.99 115.99 115.97 115.92 115.63 115.31 115.13 115.09 115.07 115.01 114.64 113.86 113.34 113.33 113.32 113.26 113.2 112.61 112.28 112.16
 
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'George Udny Yule' @ 72.249.76.132


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.4418423.7230.000196
2-0.176102-1.48390.071136
3-0.367767-3.09890.001392
4-0.196831-1.65850.050812
50.3218562.7120.004192
60.6841615.76480
70.3394752.86050.002776
8-0.135451-1.14130.128783
9-0.319658-2.69350.004408
10-0.14208-1.19720.117608
110.305712.5760.006039
120.5838114.91933e-06
130.2440162.05610.021725
14-0.189654-1.59810.057237
15-0.297807-2.50940.007189
16-0.107387-0.90490.184299
170.2796432.35630.010611
180.4575783.85560.000126
190.1198571.00990.157978
20-0.203865-1.71780.045097
21-0.279204-2.35260.010709
22-0.107031-0.90190.18509
230.2381222.00650.024309
240.3575393.01270.001793
250.0721990.60840.272445
26-0.196197-1.65320.051354
27-0.264814-2.23140.014408
28-0.130568-1.10020.137484
290.1777721.49790.069292
300.2327571.96120.026886
31-0.00581-0.0490.480547
32-0.186483-1.57130.060276
33-0.248558-2.09440.019898
34-0.143656-1.21050.115057
350.1085550.91470.181723
360.1199921.01110.157708
37-0.056677-0.47760.317213
38-0.173669-1.46340.073891
39-0.201472-1.69760.046978
40-0.125228-1.05520.147458
410.0509760.42950.33442
420.0616320.51930.302577
43-0.091179-0.76830.222432
44-0.170071-1.4330.078117
45-0.180951-1.52470.065886
46-0.107174-0.90310.184773
470.0336640.28370.388748
480.0423090.35650.361262


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.4418423.7230.000196
2-0.461403-3.88790.000113
3-0.079233-0.66760.253268
4-0.015952-0.13440.446728
50.4497513.78970.000157
60.4063953.42430.000514
7-0.117954-0.99390.161825
80.0514060.43320.333107
90.0034280.02890.488518
100.0909390.76630.223028
110.1068780.90060.18543
120.1355491.14220.128613
13-0.162206-1.36680.088005
14-0.024138-0.20340.419704
150.0496530.41840.338465
16-0.007167-0.06040.476008
170.0057990.04890.480581
18-0.068886-0.58040.281727
19-0.123202-1.03810.151369
200.0715110.60260.274359
21-0.062888-0.52990.298916
22-0.052779-0.44470.328936
23-0.025655-0.21620.414736
24-0.025295-0.21310.415914
250.021760.18340.427521
260.0251020.21150.416548
27-0.058227-0.49060.3126
28-0.103821-0.87480.192314
290.03930.33110.370755
30-0.123463-1.04030.150861
310.022330.18820.425646
32-0.017555-0.14790.441414
33-0.095257-0.80270.212428
34-0.047338-0.39890.345591
35-0.021217-0.17880.429311
36-0.101517-0.85540.197605
370.0124780.10510.45828
38-0.03149-0.26530.395757
390.0193310.16290.435535
40-0.033631-0.28340.388856
41-0.029282-0.24670.402911
420.0279090.23520.40738
43-0.03134-0.26410.396242
44-0.011156-0.0940.462685
45-0.019825-0.16710.433903
460.0376280.31710.376065
47-0.039406-0.3320.370419
480.0941790.79360.215046
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/May/03/t12728998337mmkubf941xur7v/138yw1272899765.png (open in new window)
http://www.freestatistics.org/blog/date/2010/May/03/t12728998337mmkubf941xur7v/138yw1272899765.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/May/03/t12728998337mmkubf941xur7v/238yw1272899765.png (open in new window)
http://www.freestatistics.org/blog/date/2010/May/03/t12728998337mmkubf941xur7v/238yw1272899765.ps (open in new window)


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