Home » date » 2010 » Nov » 15 »

Opgave iko6.2eigen bis

*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 16:15:07 +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/t1289837634js7ax84m52abr7s.htm/, Retrieved Mon, 15 Nov 2010 17:13:55 +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/t1289837634js7ax84m52abr7s.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 «
101,02 101,15 101,51 101,75 101,8 101,8 101,8 101,82 101,99 102,25 102,34 102,35 102,35 102,39 102,49 102,67 102,68 102,7 102,71 102,72 102,83 102,92 103,04 103,08 103,09 103,11 103,18 103,18 103,22 103,25 103,25 103,25 103,47 103,57 103,66 103,7 103,7 103,75 103,85 104,02 104,13 104,17 104,18 104,2 104,5 104,78 104,88 104,89 104,9 104,95 105,24 105,35 105,44 105,46 105,47 105,48 105,75 106,1 106,19 106,23 106,24 106,25 106,35 106,48 106,52 106,55 106,55 106,56 106,89 107,09 107,24 107,28 107,3 107,31 107,47 107,35 107,31 107,32 107,32 107,34 107,53 107,72 107,75 107,79 107,81 107,9 107,8 107,86 107,8 107,74 107,75 107,83 107,8 107,81 107,86 107,83
 
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'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.9714239.5180
20.9419759.22940
30.9152138.96720
40.8901978.72210
50.864748.47270
60.8385848.21640
70.8106087.94230
80.7810027.65220
90.7518567.36670
100.7249677.10320
110.6974836.83390
120.6690896.55570
130.6388566.25950
140.6076525.95370
150.5768295.65180
160.5484275.37350
170.5207665.10241e-06
180.4922344.82293e-06
190.4624594.53128e-06
200.4318764.23152.7e-05
210.4013813.93277.9e-05
220.3705093.63020.000228
230.3410653.34170.000594
240.3108293.04550.001499
250.2792142.73570.003707
260.2470322.42040.008692
270.2159332.11570.018479
280.1857841.82030.035914
290.1575261.54340.063008
300.1286311.26030.105303
310.0984970.96510.168468
320.0676560.66290.254494
330.0386370.37860.352922
340.0110270.1080.457095
35-0.015706-0.15390.43901
36-0.043118-0.42250.336815
37-0.071708-0.70260.242005
38-0.100582-0.98550.163428
39-0.128398-1.2580.105714
40-0.15268-1.49590.068974
41-0.174664-1.71130.045123
42-0.197077-1.9310.028219
43-0.220432-2.15980.01664
44-0.244228-2.39290.00933
45-0.265105-2.59750.005434
46-0.28296-2.77240.003342
47-0.298439-2.92410.002155
48-0.314256-3.07910.001354


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.9714239.5180
2-0.029951-0.29350.384904
30.0327870.32120.37436
40.0155650.15250.439555
5-0.019894-0.19490.422933
6-0.023114-0.22650.41066
7-0.046065-0.45130.326378
8-0.044921-0.44010.330414
9-0.011073-0.10850.456915
100.0190860.1870.426027
11-0.027869-0.27310.392699
12-0.027263-0.26710.394973
13-0.046968-0.46020.323208
14-0.035852-0.35130.363075
15-0.015925-0.1560.438166
160.0181910.17820.429457
17-0.007323-0.07180.471474
18-0.027616-0.27060.393647
19-0.033851-0.33170.370429
20-0.033932-0.33250.37013
21-0.023188-0.22720.410378
22-0.035493-0.34780.364393
233.3e-053e-040.499871
24-0.035421-0.34710.364657
25-0.04006-0.39250.347777
26-0.03196-0.31310.377427
27-0.010473-0.10260.459242
28-0.014399-0.14110.444052
290.0070960.06950.472359
30-0.033389-0.32710.372137
31-0.039746-0.38940.348912
32-0.033961-0.33280.370023
33-0.000667-0.00650.497398
34-0.009611-0.09420.462588
35-0.013628-0.13350.447027
36-0.03523-0.34520.365355
37-0.044015-0.43130.333624
38-0.030595-0.29980.382499
39-0.01899-0.18610.426392
400.0236960.23220.40845
410.008430.08260.467173
42-0.026362-0.25830.398367
43-0.0332-0.32530.372832
44-0.033551-0.32870.371536
450.0159210.1560.438182
460.0136080.13330.447104
470.0117010.11460.454481
48-0.024033-0.23550.407171
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Nov/15/t1289837634js7ax84m52abr7s/1sx2h1289837703.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/15/t1289837634js7ax84m52abr7s/1sx2h1289837703.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/15/t1289837634js7ax84m52abr7s/2sx2h1289837703.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/15/t1289837634js7ax84m52abr7s/2sx2h1289837703.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