Home » date » 2010 » Nov » 15 »

Iko opgave6.2 eigen 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:17:08 +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/t1289837750lpbyzyxggjhqtsk.htm/, Retrieved Mon, 15 Nov 2010 17:15:52 +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/t1289837750lpbyzyxggjhqtsk.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 time1 seconds
R Server'George Udny Yule' @ 72.249.76.132


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.3612643.52120.000331
2-0.094539-0.92150.179573
3-0.275777-2.68790.004245
4-0.168044-1.63790.052377
50.0961150.93680.175615
60.4196454.09024.5e-05
70.1766631.72190.044172
8-0.190679-1.85850.033096
9-0.272159-2.65270.00468
10-0.138788-1.35270.089676
110.2818332.7470.003598
120.4672154.55398e-06
130.2793442.72270.003852
14-0.152648-1.48780.070054
15-0.26356-2.56890.00588
16-0.174982-1.70550.045684
170.1131061.10240.136532
180.1829541.78320.038873
19-0.003792-0.0370.485299
20-0.16779-1.63540.052636
21-0.293436-2.86010.002604
22-0.129311-1.26040.105312
230.1283671.25120.106972
240.3139943.06040.001437
250.0211630.20630.41851
26-0.206112-2.00890.023691
27-0.276325-2.69330.004182
28-0.119354-1.16330.123806
290.0455550.4440.329022
300.1738741.69470.046703
310.0032630.03180.487348
32-0.226754-2.21010.014749
33-0.247886-2.41610.0088
34-0.117516-1.14540.12746
350.1374571.33980.091758
360.2034741.98320.025115
370.0801970.78170.218178
38-0.190523-1.8570.033205
39-0.226432-2.2070.014862
40-0.114409-1.11510.133805
410.0799330.77910.218932
420.195781.90820.02969
430.0234980.2290.409668
44-0.148909-1.45140.074984
45-0.197461-1.92460.028635
46-0.063894-0.62280.267468
470.1015040.98930.162505
480.2496962.43370.008407


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.3612643.52120.000331
2-0.258831-2.52280.006652
3-0.171684-1.67340.048772
4-0.012636-0.12320.451121
50.1309081.27590.102546
60.3364473.27930.000728
7-0.152785-1.48920.069879
8-0.173462-1.69070.047086
90.0146640.14290.443325
100.0130390.12710.449571
110.3394913.30890.000662
120.1039071.01280.156874
130.0595330.58030.281558
14-0.108885-1.06130.145628
150.0158410.15440.438813
160.0062860.06130.475637
17-0.047384-0.46180.322626
18-0.170665-1.66340.04976
19-0.17855-1.74030.042523
200.1174551.14480.127581
21-0.104787-1.02130.154843
22-0.029348-0.2860.387732
23-0.084651-0.82510.205697
240.0924530.90110.184903
25-0.115348-1.12430.131864
26-0.131428-1.2810.101655
270.0067180.06550.473964
28-0.017884-0.17430.430997
29-0.014613-0.14240.443522
300.0441210.430.334071
310.0025110.02450.490261
32-0.025862-0.25210.400766
33-0.043477-0.42380.336348
340.0021470.02090.491674
350.0426860.4160.339157
36-0.013341-0.130.448407
370.0116260.11330.455008
380.0047080.04590.481749
39-0.008086-0.07880.468673
40-0.039723-0.38720.349747
41-0.043618-0.42510.33585
420.113811.10930.135054
43-0.111573-1.08750.139789
44-0.029628-0.28880.386688
450.0145960.14230.443586
460.0036630.03570.485799
47-0.011698-0.1140.454732
48-0.018621-0.18150.428182
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Nov/15/t1289837750lpbyzyxggjhqtsk/1i31l1289837823.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/15/t1289837750lpbyzyxggjhqtsk/1i31l1289837823.ps (open in new window)


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