Home » date » 2009 » Dec » 12 »

autocorrelatie zonder trend eigen grafiek (Steffi Poppe MAR202b)

*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, 12 Dec 2009 04:17:29 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2009/Dec/12/t1260616805rfkjuyweq4ax7r5.htm/, Retrieved Sat, 12 Dec 2009 12:20:07 +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/2009/Dec/12/t1260616805rfkjuyweq4ax7r5.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:
KDGP2W21
 
Dataseries X:
» Textbox « » Textfile « » CSV «
1.2 1.21 1.21 1.21 1.21 1.21 1.21 1.2 1.21 1.22 1.22 1.23 1.22 1.23 1.23 1.23 1.23 1.23 1.22 1.22 1.23 1.24 1.24 1.25 1.25 1.25 1.26 1.26 1.26 1.26 1.27 1.27 1.29 1.31 1.32 1.32 1.33 1.33 1.32 1.32 1.31 1.3 1.31 1.29 1.3 1.3 1.32 1.31 1.35 1.35 1.36 1.37 1.37 1.37 1.32 1.32 1.31 1.31 1.34 1.31 1.27 1.28 1.27 1.26 1.27 1.27 1.28 1.27 1.26 1.3 1.31 1.28 1.29 1.31 1.29 1.29 1.32 1.3 1.29 1.31 1.29 1.33 1.35 1.32 1.33
 
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'Gwilym Jenkins' @ 72.249.127.135


Autocorrelation Function
Time lag kACF(k)T-STATP-value
1-0.16777-1.53760.063948
2-0.155635-1.42640.078727
30.2805522.57130.005946
4-0.136887-1.25460.106554
5-0.070861-0.64950.258909
60.1285981.17860.120939
7-0.071092-0.65160.258228
8-0.091281-0.83660.202596
90.0227120.20820.417805
10-0.185145-1.69690.046711
110.0024080.02210.491222
120.1721321.57760.059206
13-0.053555-0.49080.312411
14-0.065576-0.6010.274725
150.0413420.37890.352855
16-0.004094-0.03750.485077
170.0336920.30880.379123
180.1045490.95820.170355
19-0.092898-0.85140.198476
200.0236820.21710.414348
210.0347240.31830.375542
22-0.178712-1.63790.05259
230.0820570.75210.227057
240.1020140.9350.176241
25-0.017041-0.15620.43813
26-0.062133-0.56950.285282
27-0.127643-1.16990.122682
28-0.016641-0.15250.439573
29-0.031998-0.29330.385022
30-0.079678-0.73030.233632
310.0710660.65130.258304
32-0.086983-0.79720.213787
330.0593320.54380.294014
34-0.021419-0.19630.422423
35-0.020787-0.19050.424684
360.0523130.47950.316429
370.0793440.72720.234562
38-0.062371-0.57160.284545
39-0.036836-0.33760.368251
400.0685870.62860.265655
41-0.110283-1.01080.157517
420.0386210.3540.362126
430.0184330.16890.433126
44-0.025164-0.23060.409081
45-0.006702-0.06140.475582
46-0.024648-0.22590.410914
470.0413780.37920.352735
480.0152660.13990.444531


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.16777-1.53760.063948
2-0.189104-1.73320.043368
30.2323962.12990.018051
4-0.086266-0.79060.21569
5-0.02989-0.27390.392398
60.021930.2010.420595
7-0.012727-0.11660.45371
8-0.07951-0.72870.234099
9-0.062167-0.56980.285178
10-0.2094-1.91920.029178
11-0.027019-0.24760.402511
120.1224231.1220.132524
130.0742460.68050.249038
14-0.064949-0.59530.276633
15-0.072272-0.66240.254768
160.0105770.09690.461503
170.075180.6890.24635
180.0839340.76930.221945
19-0.104915-0.96160.169514
20-0.013298-0.12190.451642
210.0144660.13260.447422
22-0.080442-0.73730.231509
230.0197650.18120.428343
240.0269160.24670.402875
250.1169931.07230.143337
26-0.039324-0.36040.359724
27-0.197135-1.80680.037189
28-0.095341-0.87380.192356
29-0.102178-0.93650.175855
30-0.092887-0.85130.198504
310.0468890.42970.334242
32-0.127732-1.17070.122518
330.1351081.23830.109531
34-0.025158-0.23060.409102
350.0078210.07170.471514
36-0.134974-1.23710.109757
370.0117710.10790.457175
38-0.039091-0.35830.360518
39-0.003202-0.02930.488328
40-0.018853-0.17280.431617
41-0.147246-1.34950.090397
420.0162590.1490.44095
430.0115850.10620.457847
440.0704510.64570.260119
45-0.02052-0.18810.42564
46-0.056996-0.52240.301392
470.0902990.82760.205121
48-0.012473-0.11430.454628
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/12/t1260616805rfkjuyweq4ax7r5/11pi91260616648.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/12/t1260616805rfkjuyweq4ax7r5/11pi91260616648.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/12/t1260616805rfkjuyweq4ax7r5/28w841260616648.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/12/t1260616805rfkjuyweq4ax7r5/28w841260616648.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