Home » date » 2010 » Nov » 15 »

autocorrelatiefunctie met trend, consumptieprijzen

*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 11:14:14 +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/t12898195921qxmhv9q1gv9cks.htm/, Retrieved Mon, 15 Nov 2010 12:13:14 +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/t12898195921qxmhv9q1gv9cks.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 «
96.92 99.06 99.65 99.82 99.99 100.33 99.31 101.1 101.1 100.93 100.85 100.93 99.6 101.88 101.81 102.38 102.74 102.82 101.72 103.47 102.98 102.68 102.9 103.03 101.29 103.69 103.68 104.2 104.08 104.16 103.05 104.66 104.46 104.95 105.85 106.23 104.86 107.44 108.23 108.45 109.39 110.15 109.13 110.28 110.17 109.99 109.26 109.11 107.06 109.53 108.92 109.24 109.12 109 107.23 109.49 109.04 109.02 109.23 109.46
 
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
1-0.436377-3.35190.000703
20.0948210.72830.234646
30.0219640.16870.433302
40.0707830.54370.29435
5-0.454907-3.49420.000454
60.7400955.68480
7-0.422538-3.24560.000967
80.0449940.34560.365433
9-0.016767-0.12880.448981
10-0.00167-0.01280.494905
11-0.364592-2.80050.003444
120.6477444.97543e-06
13-0.38532-2.95970.002214
140.0304930.23420.407811
150.0324330.24910.402064
16-0.012831-0.09860.460912
17-0.362743-2.78630.00358
180.5719454.39322.4e-05
19-0.329762-2.53290.006995
200.0068020.05220.479254
21-0.009698-0.07450.470435
220.0526640.40450.343647
23-0.316564-2.43160.009044
240.5133443.94310.000108
25-0.230853-1.77320.040677
260.0549560.42210.337235
27-0.004994-0.03840.484766
280.0149030.11450.454627
29-0.266777-2.04920.022451
300.4080223.13410.001343
31-0.222607-1.70990.046272
320.026910.20670.418478
330.0332870.25570.399542
340.0297080.22820.410143
35-0.201409-1.54710.063599
360.3505822.69290.004604
37-0.129961-0.99820.161118
380.0352590.27080.393734
390.0027180.02090.491707
400.0307580.23630.407027
41-0.149298-1.14680.128052
420.2383031.83040.036118
43-0.13769-1.05760.147271
440.0231290.17770.429802
45-0.031071-0.23870.406098
46-0.027481-0.21110.416773
47-0.096737-0.74310.230199
480.1502851.15440.126503


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.436377-3.35190.000703
2-0.118092-0.90710.184026
30.0209130.16060.436463
40.1263270.97030.167919
5-0.472439-3.62890.000298
60.5771514.43322.1e-05
7-0.077306-0.59380.277458
8-0.161353-1.23940.110057
9-0.137949-1.05960.146821
10-0.23053-1.77070.040885
110.0582450.44740.328118
120.2026561.55660.062453
13-0.044258-0.340.367549
14-0.154289-1.18510.120362
15-0.039702-0.3050.380735
160.0211640.16260.435709
17-0.154112-1.18380.120629
18-0.057381-0.44070.330503
19-0.018359-0.1410.444168
20-0.046393-0.35640.361424
21-0.179405-1.3780.086699
220.0598260.45950.323771
230.0246250.18920.425312
24-0.021513-0.16520.434657
250.1160570.89140.188155
260.0378290.29060.3862
27-0.025985-0.19960.421242
28-0.183525-1.40970.081942
29-0.009738-0.07480.470312
30-0.091734-0.70460.241908
31-0.095406-0.73280.233282
320.0288290.22140.412758
330.081310.62460.267335
340.0947590.72790.234789
350.1144120.87880.191534
360.007470.05740.47722
37-0.005917-0.04540.481951
380.0567270.43570.332311
39-0.025913-0.1990.421457
40-0.042065-0.32310.373878
410.0724640.55660.289952
420.0334860.25720.398955
430.0096630.07420.470543
44-0.030122-0.23140.408913
450.0187630.14410.442947
46-0.071131-0.54640.293438
470.0212480.16320.435455
48-0.110609-0.84960.199491
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Nov/15/t12898195921qxmhv9q1gv9cks/1gxkh1289819652.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/15/t12898195921qxmhv9q1gv9cks/1gxkh1289819652.ps (open in new window)


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