Home » date » 2010 » Nov » 20 »

Autocorrelation consumptieprijzen plat water met trend

*Unverified author*
R Software Module: /rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Sat, 20 Nov 2010 16:55:04 +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/20/t1290272107g6ei0h3wtoddwrc.htm/, Retrieved Sat, 20 Nov 2010 17:55:09 +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/20/t1290272107g6ei0h3wtoddwrc.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 - Kristina Henderickx
 
Dataseries X:
» Textbox « » Textfile « » CSV «
0.65 0.65 0.65 0.65 0.65 0.65 0.66 0.66 0.66 0.65 0.65 0.65 0.65 0.65 0.65 0.65 0.66 0.67 0.66 0.67 0.66 0.66 0.66 0.66 0.71 0.74 0.75 0.75 0.75 0.75 0.7 0.69 0.69 0.68 0.68 0.68 0.67 0.66 0.66 0.67 0.67 0.67 0.67 0.68 0.68 0.67 0.67 0.67 0.67 0.67 0.69 0.69 0.69 0.69 0.69 0.69 0.7 0.69 0.68 0.7 0.7 0.71 0.69 0.7 0.7 0.71 0.71 0.71 0.71 0.7 0.7 0.71 0.71 0.71 0.71 0.7 0.69 0.7 0.7 0.7 0.71 0.7 0.7 0.69
 
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'Gwilym Jenkins' @ 72.249.127.135


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.1478521.3470.090824
20.0476360.4340.332714
3-0.012986-0.11830.453054
4-0.092681-0.84440.200446
5-0.142801-1.3010.098433
6-0.252554-2.30090.011953
70.0384660.35040.363448
8-0.002118-0.01930.492327
9-0.003107-0.02830.488744
100.0068890.06280.475052
11-0.04323-0.39380.347352
12-0.053273-0.48530.314357
13-0.10291-0.93760.175597
14-0.072875-0.66390.254289
150.046850.42680.335305
16-0.042864-0.39050.348581
17-0.002327-0.02120.491568
180.0673020.61320.270727
19-0.001891-0.01720.493149
20-0.152687-1.3910.083965
210.0681980.62130.268048
22-0.012946-0.11790.4532
23-0.052563-0.47890.316644
240.0099440.09060.464018
250.0423930.38620.350163
260.032350.29470.384471
270.0819410.74650.228733
280.0222840.2030.419809
29-0.097971-0.89260.187338
30-0.030273-0.27580.391693
31-0.010741-0.09790.461143
320.0693910.63220.264504
33-0.101444-0.92420.179031
340.0097110.08850.464858
350.0397460.36210.359099
360.0192010.17490.430781
370.0287140.26160.39714
38-0.061483-0.56010.288447
390.1088220.99140.162182
400.0386640.35220.362775
41-0.071089-0.64770.259498
420.03910.35620.361291
43-0.030576-0.27860.390638
440.0194980.17760.429723
45-0.000564-0.00510.497955
460.0795670.72490.235279
47-0.011113-0.10120.4598
480.0284580.25930.398036


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.1478521.3470.090824
20.0263520.24010.405432
3-0.024287-0.22130.412714
4-0.090732-0.82660.205415
5-0.11894-1.08360.140841
6-0.219718-2.00170.02429
70.1125671.02550.154046
8-0.015468-0.14090.444137
9-0.031869-0.29030.386139
10-0.042394-0.38620.350158
11-0.090669-0.8260.205576
12-0.085672-0.78050.218655
13-0.056687-0.51640.303459
14-0.074932-0.68270.24836
150.0507220.46210.322609
16-0.096105-0.87560.191898
17-0.059198-0.53930.295555
180.0228590.20830.417769
19-0.066878-0.60930.271998
20-0.207085-1.88660.031353
210.1373441.25130.107176
22-0.105893-0.96470.168741
23-0.085921-0.78280.217993
240.0054330.04950.48032
25-0.045591-0.41540.339478
26-0.081529-0.74280.229861
270.1566831.42740.078601
28-0.112369-1.02370.154468
29-0.164556-1.49920.06881
300.0056610.05160.479498
31-0.02923-0.26630.395334
320.062540.56980.285188
33-0.151517-1.38040.085587
34-0.078637-0.71640.237872
350.0272420.24820.402303
36-0.063744-0.58070.281497
37-0.000395-0.00360.498568
38-0.019109-0.17410.431109
39-0.015357-0.13990.444537
40-0.006721-0.06120.475663
41-0.023425-0.21340.415764
42-0.063841-0.58160.281198
43-0.056312-0.5130.304648
440.059260.53990.295362
45-0.015669-0.14280.443415
460.0655440.59710.276021
47-0.070895-0.64590.260069
480.0508980.46370.322038
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Nov/20/t1290272107g6ei0h3wtoddwrc/1td6d1290272102.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/20/t1290272107g6ei0h3wtoddwrc/1td6d1290272102.ps (open in new window)


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