Home » date » 2009 » Nov » 27 »

Methode 1 met d=1, D=1 en lambda=1

*The author of this computation has been verified*
R Software Module: /rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Fri, 27 Nov 2009 15:20:00 -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/Nov/27/t1259360919kzui2i7deomiqs3.htm/, Retrieved Fri, 27 Nov 2009 23:28:41 +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/Nov/27/t1259360919kzui2i7deomiqs3.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:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
104.08 103.86 107.47 111.1 117.33 119.04 123.68 125.9 124.54 119.39 118.8 114.81 117.9 120.53 125.15 126.49 131.85 127.4 131.08 122.37 124.34 119.61 119.97 116.46 117.03 120.96 124.71 127.08 131.91 137.69 142.46 144.32 138.06 124.45 126.71 121.83 122.51 125.48 127.77 128.03 132.84 133.41 139.99 138.53 136.12 124.75 122.88 121.46 118.4 122.45 128.94 133.25 137.94 140.04 130.74 131.55 129.47 125.45 127.87 124.68
 
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.099267-0.68050.249751
20.1170050.80210.213252
3-0.264116-1.81070.038292
4-0.227563-1.56010.062723
50.0491220.33680.368897
60.0616820.42290.33716
70.0116890.08010.468234
80.0962220.65970.256344
90.007150.0490.480555
10-0.256548-1.75880.04256
110.0665750.45640.325098
12-0.409922-2.81030.003597
130.2336481.60180.057949
14-0.022284-0.15280.439617
150.0603380.41370.340504
160.1277650.87590.192766
17-0.086348-0.5920.278354
18-0.001936-0.01330.494732
19-0.048751-0.33420.36985
200.008950.06140.475666
210.1489131.02090.156266
220.2440281.6730.050489
23-0.204703-1.40340.083539
240.0515220.35320.362752
25-0.292137-2.00280.025494
260.0638830.4380.33171
270.0662230.4540.325957
280.0193750.13280.447448
290.0738030.5060.307621
300.0104170.07140.471684
31-0.003387-0.02320.490787
32-0.066037-0.45270.326415
33-0.039793-0.27280.393097
34-0.099045-0.6790.250228
350.1620411.11090.136132
36-0.013352-0.09150.463727


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.099267-0.68050.249751
20.1082180.74190.230919
3-0.248343-1.70260.047629
4-0.303406-2.08010.0215
50.0584880.4010.345128
60.0779620.53450.297765
7-0.15301-1.0490.149774
80.0321150.22020.413347
90.1344520.92180.180682
10-0.342485-2.3480.011568
11-0.004394-0.03010.488047
12-0.314877-2.15870.018006
130.0188520.12920.448858
14-0.076454-0.52410.301321
15-0.176248-1.20830.116489
160.0493850.33860.368222
17-0.02991-0.20510.419209
18-0.064315-0.44090.330645
19-0.12017-0.82380.207095
200.0399020.27360.392812
210.18371.25940.107056
220.0570650.39120.348701
23-0.212897-1.45950.075534
24-0.085316-0.58490.280707
25-0.008537-0.05850.476789
26-0.022411-0.15360.439275
27-0.122331-0.83870.202953
280.0570040.39080.348855
290.0148320.10170.459721
300.0463080.31750.376145
310.080280.55040.292335
320.0024690.01690.493282
330.0735960.50450.308117
340.0064010.04390.482592
35-0.082839-0.56790.286397
360.0738950.50660.307403
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Nov/27/t1259360919kzui2i7deomiqs3/1j6cl1259360398.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/27/t1259360919kzui2i7deomiqs3/1j6cl1259360398.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/27/t1259360919kzui2i7deomiqs3/2obli1259360398.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/27/t1259360919kzui2i7deomiqs3/2obli1259360398.ps (open in new window)


 
Parameters (Session):
par1 = 36 ; par2 = 1 ; par3 = 1 ; par4 = 1 ; par5 = 12 ; par6 = MA ; par7 = 0.95 ;
 
Parameters (R input):
par1 = 36 ; par2 = 1 ; par3 = 1 ; par4 = 1 ; par5 = 12 ; par6 = MA ; 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