Home » date » 2009 » May » 14 »

Duncan huysmans oefening 6BIS 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: Thu, 14 May 2009 10:59:24 -0600
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2009/May/14/t1242321080ubife425nq2sje2.htm/, Retrieved Thu, 14 May 2009 19:11:22 +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/2009/May/14/t1242321080ubife425nq2sje2.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 «
49.1 52.7 55.1 60.4 57.5 55.9 62.6 61.3 67.1 68.6 74.8 76.9 85.7 86.5 90.8 89.7 96.3 107.5 109.2 100.2 116.8 120.1 123.3 130.2 131.4 125.6 124.5 134.3 135.2 151.8 146.4 140.0 127.8 148.0 165.9 165.5 179.9 190.0 189.8 190.9 203.6 183.5 169.3 144.2 141.5 154.3 169.5 194.0 203.2 192.9 209.4 227.2 263.7 297.8 337.1 361.3 355.2 312.6 309.9 323.7 324.1 355.3 383.4 395.1 412.8 407.0 438.0 446.1 452.5 447.3 475.9 487.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.9451238.01960
20.8870187.52660
30.8331837.06980
40.7777436.59940
50.7234946.13910
60.6713955.6970
70.6262075.31351e-06
80.5756384.88453e-06
90.526324.4661.4e-05
100.4784844.06016.2e-05
110.4386833.72240.000194
120.4058563.44380.00048
130.3728453.16370.001141
140.3420292.90220.002457
150.3076782.61070.005493
160.2590292.19790.015585
170.2051311.74060.043013
180.1555871.32020.095475
190.1138520.96610.168623
200.077390.65670.256742
210.0522470.44330.329428
220.0324670.27550.391865
230.0174410.1480.44138
240.001140.00970.496155
25-0.013275-0.11260.455313
26-0.024053-0.20410.419426
27-0.033046-0.28040.389987
28-0.038133-0.32360.373603
29-0.044321-0.37610.353984
30-0.054256-0.46040.323317
31-0.069926-0.59330.277405
32-0.092496-0.78490.217558
33-0.114946-0.97530.166327
34-0.136125-1.15510.125943
35-0.156402-1.32710.094332
36-0.175012-1.4850.070951
37-0.188421-1.59880.057121
38-0.202039-1.71440.045382
39-0.212363-1.8020.037869
40-0.218277-1.85210.034052
41-0.225588-1.91420.029786
42-0.238392-2.02280.023403
43-0.255639-2.16920.016686
44-0.272821-2.3150.011735
45-0.291539-2.47380.007864
46-0.306543-2.60110.005636
47-0.320855-2.72250.00406
48-0.333946-2.83360.002984


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.9451238.01960
2-0.058456-0.4960.310697
30.0101910.08650.465665
4-0.046845-0.39750.34609
5-0.017445-0.1480.441368
6-0.013235-0.11230.455447
70.033930.28790.387124
8-0.081966-0.69550.244488
9-0.01239-0.10510.45828
10-0.025156-0.21350.415789
110.0479660.4070.342606
120.033320.28270.389096
13-0.022884-0.19420.423293
14-0.009246-0.07850.468842
15-0.056083-0.47590.317799
16-0.157803-1.3390.09239
17-0.074163-0.62930.265573
18-0.006939-0.05890.476604
190.0307880.26120.397324
200.0180450.15310.439368
210.0748590.63520.263657
220.0167730.14230.443611
230.0381430.32370.37357
24-0.0315-0.26730.395007
25-0.003343-0.02840.488723
26-0.015555-0.1320.44768
27-0.016019-0.13590.446129
280.0120910.10260.459283
29-0.014267-0.12110.451991
30-0.034919-0.29630.383927
31-0.030317-0.25720.398861
32-0.060783-0.51580.303799
33-0.023077-0.19580.422655
34-0.030944-0.26260.396816
35-0.04185-0.35510.361773
36-0.037688-0.31980.375026
370.0078990.0670.473373
38-0.031694-0.26890.394377
390.033560.28480.388319
400.0232580.19730.422055
41-0.027605-0.23420.407734
42-0.081887-0.69480.244698
43-0.075162-0.63780.262822
44-0.038365-0.32550.37286
45-0.027169-0.23050.409163
460.0289360.24550.403371
470.0025350.02150.49145
48-0.001722-0.01460.49419
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/14/t1242321080ubife425nq2sje2/1fbk21242320363.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/14/t1242321080ubife425nq2sje2/1fbk21242320363.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/14/t1242321080ubife425nq2sje2/2xhzl1242320363.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/14/t1242321080ubife425nq2sje2/2xhzl1242320363.ps (open in new window)


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