Home » date » 2010 » Nov » 15 »

opdracht 6 bis eigen reeks

*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, 15 Nov 2010 14:56:33 +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/Nov/15/t1289832975wqg0wgbxjv5plkj.htm/, Retrieved Mon, 15 Nov 2010 15:56:17 +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/Nov/15/t1289832975wqg0wgbxjv5plkj.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:
KDGP2W12
 
Dataseries X:
» Textbox « » Textfile « » CSV «
78,1 66,7 79 65,2 66,5 77,2 80,2 77,9 78 86,8 92,9 185,8 91 79,1 84,2 70,1 71,3 79,6 92,3 78,7 82,5 98,2 115,4 205,6 94 83,2 80,3 70,4 71,1 78,8 86,3 77,5 80,1 89,8 99,9 218 85,4 77,5 78,6 68,8 64,8 79,8 94,3 79,9 87,5 99,1 109,9 273,6 91,3 80,6 80,4 71,8 75,5 86,6 91,5 86,8 84,6 88,6 102,1 260,3 79 70,6 79,3 66,8 61,2 72,5 83,5 75,8 83,4 89,4 104,9 251,6 80 76,3 81,1 63,1 63,5 78,8 91,7 83,8 83,8 95,8 108,9 258,2 88,7 79,5 74,3 70,5 59,1 73,2 81,2 75 74,6 89,5 107 246,4 83,6 72,1 68,7 60,1 61,1 72,7 85,3 71,4 75,2 89,8 100,9 222,7
 
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.1323891.37580.085861
2-0.020452-0.21250.416043
3-0.091719-0.95320.171316
4-0.171307-1.78030.038921
5-0.153163-1.59170.057186
6-0.159647-1.65910.049998
7-0.168103-1.7470.041742
8-0.190346-1.97810.02523
9-0.109638-1.13940.12853
10-0.052104-0.54150.294644
110.0977121.01550.156079
120.9007649.3610
130.1045581.08660.139816
14-0.029995-0.31170.377926
15-0.09292-0.96570.168187
16-0.160876-1.67190.048722
17-0.146921-1.52680.064861
18-0.152906-1.5890.057487
19-0.161322-1.67650.048266
20-0.176755-1.83690.034488
21-0.099689-1.0360.151258
22-0.053244-0.55330.290591
230.0811350.84320.200496
240.7966698.27920
250.0959930.99760.160354
26-0.017336-0.18020.428682
27-0.072269-0.7510.227131
28-0.130388-1.3550.089118
29-0.114962-1.19470.117406
30-0.12095-1.25690.105742
31-0.128542-1.33590.092203
32-0.148046-1.53850.063421
33-0.077453-0.80490.211318
34-0.045188-0.46960.319791
350.0707280.7350.231958
360.6769397.0350
370.0801540.8330.203346
38-0.017758-0.18450.426966
39-0.068216-0.70890.239951
40-0.116445-1.21010.114435
41-0.103603-1.07670.142012
42-0.111027-1.15380.12556
43-0.122005-1.26790.103777
44-0.137093-1.42470.078561
45-0.079369-0.82480.205644
46-0.053688-0.55790.28902
470.0498750.51830.302648
480.5318335.5270


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.1323891.37580.085861
2-0.038656-0.40170.34434
3-0.085411-0.88760.188358
4-0.152222-1.58190.058294
5-0.122382-1.27180.103082
6-0.153171-1.59180.057176
7-0.188568-1.95970.026306
8-0.256059-2.6610.004489
9-0.229231-2.38220.009478
10-0.266712-2.77170.003284
11-0.192085-1.99620.024214
120.8608088.94580
13-0.315676-3.28060.000698
14-0.155262-1.61350.054774
15-0.058352-0.60640.272758
16-0.047606-0.49470.310896
17-0.090686-0.94240.174037
18-0.014141-0.1470.441719
190.0315290.32770.3719
200.0481020.49990.309086
21-0.010693-0.11110.455861
220.0108660.11290.45515
23-0.057927-0.6020.274219
24-0.203294-2.11270.018466
250.0766370.79640.213763
260.0624540.6490.258845
270.0196070.20380.419461
280.0320510.33310.369859
290.0974711.01290.156675
300.0482870.50180.308411
310.0307240.31930.375062
32-0.016433-0.17080.43236
330.0333440.34650.364814
340.0115910.12050.452171
350.0395170.41070.341064
36-0.107778-1.12010.132586
370.0610850.63480.263445
380.0171530.17830.429426
39-0.0067-0.06960.472309
400.0022150.0230.490837
41-0.022998-0.2390.405778
42-0.049587-0.51530.30369
43-0.080362-0.83510.20274
44-0.003133-0.03260.487043
45-0.07706-0.80080.212493
46-0.056169-0.58370.280311
47-0.022211-0.23080.408943
48-0.189927-1.97380.02548
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Nov/15/t1289832975wqg0wgbxjv5plkj/1zrlv1289832991.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/15/t1289832975wqg0wgbxjv5plkj/1zrlv1289832991.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/15/t1289832975wqg0wgbxjv5plkj/2zrlv1289832991.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/15/t1289832975wqg0wgbxjv5plkj/2zrlv1289832991.ps (open in new window)


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