Home » date » 2010 » Dec » 27 »

Paper Statistiek

*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: Mon, 27 Dec 2010 18:56:38 +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/Dec/27/t1293476336kij4uk7qvysq7ql.htm/, Retrieved Mon, 27 Dec 2010 19:59:00 +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/Dec/27/t1293476336kij4uk7qvysq7ql.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:
Partial Autocorrelation Function d=1 & D=0 - Gemiddelde bouwgrondprijzen Belgiƫ (1995-2009)
 
Dataseries X:
» Textbox « » Textfile « » CSV «
26 26 27 28 27 29 27 30 27 30 32 30 32 33 34 32 34 37 37 36 34 38 41 41 44 42 45 45 49 54 52 53 51 55 60 60 63 60 64 65 75 70 72 69 75 74 74 75 79 79 85 78 84 85 85 82 91 90 98 98
 
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
1-0.511599-3.92970.000113
20.2788252.14170.018179
3-0.384231-2.95130.002267
40.268932.06570.021629
5-0.099955-0.76780.222844
60.226521.73990.043543
7-0.221804-1.70370.046849
80.1653291.26990.10455
9-0.175952-1.35150.090845
100.185871.42770.079325
11-0.172221-1.32290.095494
120.2939732.2580.013828
13-0.252165-1.93690.028774
140.2170511.66720.050388
15-0.321289-2.46790.008256
160.2379431.82770.036328
17-0.136959-1.0520.148544
180.120870.92840.178486
190.0240580.18480.427014
20-0.067844-0.52110.302118
21-0.058909-0.45250.326289
220.0446570.3430.366403
230.0030250.02320.490769
240.0950960.73040.234004
25-0.129266-0.99290.162403
260.0255940.19660.422411
27-0.008806-0.06760.473151
280.0197730.15190.439899
29-0.031437-0.24150.405012
300.0173250.13310.447293
310.0361630.27780.391079
32-0.024411-0.18750.425955
33-0.030154-0.23160.408817
34-0.052007-0.39950.345493
350.1041220.79980.213525
36-0.047386-0.3640.358588
370.0367520.28230.389353
38-0.074605-0.5730.284395
39-0.005173-0.03970.484219
400.0477990.36710.357411
41-0.018765-0.14410.442941
42-0.041131-0.31590.376585
430.0472430.36290.358995
44-0.052618-0.40420.343775
450.0155990.11980.452517
46-0.026221-0.20140.420535
470.0373820.28710.387507
48-0.063181-0.48530.314629


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.511599-3.92970.000113
20.0231510.17780.429734
3-0.315831-2.42590.009173
4-0.0667-0.51230.305166
50.0696140.53470.297427
60.1851991.42250.080068
70.0077090.05920.476492
80.1007490.77390.221049
90.0106150.08150.467645
100.0257510.19780.421941
11-0.071409-0.54850.292707
120.2087131.60320.05712
130.0276910.21270.416148
140.0679450.52190.301848
15-0.13209-1.01460.15722
16-0.089382-0.68660.247527
17-0.042422-0.32580.372846
18-0.148709-1.14230.128981
190.221651.70250.04696
20-0.001927-0.01480.494119
21-0.060011-0.4610.323264
22-0.007599-0.05840.476826
230.009540.07330.470917
240.006620.05080.479809
25-0.053309-0.40950.341837
26-0.023567-0.1810.428486
270.1324881.01770.156498
28-0.078234-0.60090.275095
29-0.071965-0.55280.291254
30-0.024712-0.18980.425051
310.0136030.10450.45857
320.037750.290.38643
33-0.056374-0.4330.33329
340.0351380.26990.394089
350.027690.21270.416151
36-0.067563-0.5190.302865
370.0290160.22290.4122
38-0.029291-0.2250.411383
39-0.057813-0.44410.329308
400.0607480.46660.321246
41-0.036374-0.27940.390459
42-0.081321-0.62460.267309
43-0.046728-0.35890.360468
440.0167550.12870.449018
45-0.035212-0.27050.393871
46-0.053829-0.41350.340381
470.0626130.48090.31617
48-0.04878-0.37470.354618
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/27/t1293476336kij4uk7qvysq7ql/1v66k1293476195.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/27/t1293476336kij4uk7qvysq7ql/1v66k1293476195.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/27/t1293476336kij4uk7qvysq7ql/26f5n1293476195.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/27/t1293476336kij4uk7qvysq7ql/26f5n1293476195.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/27/t1293476336kij4uk7qvysq7ql/36f5n1293476195.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/27/t1293476336kij4uk7qvysq7ql/36f5n1293476195.ps (open in new window)


 
Parameters (Session):
par1 = 48 ; par2 = 1 ; par3 = 1 ; par4 = 0 ; par5 = 4 ; par6 = White Noise ; par7 = 0.95 ;
 
Parameters (R input):
par1 = 48 ; par2 = 1 ; par3 = 1 ; par4 = 0 ; par5 = 4 ; 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 (par8 != '') par8 <- as.numeric(par8)
ox <- x
if (par8 == '') {
if (par2 == 0) {
x <- log(x)
} else {
x <- (x ^ par2 - 1) / par2
}
} else {
x <- log(x,base=par8)
}
if (par3 > 0) x <- diff(x,lag=1,difference=par3)
if (par4 > 0) x <- diff(x,lag=par5,difference=par4)
bitmap(file='picts.png')
op <- par(mfrow=c(2,1))
plot(ox,type='l',main='Original Time Series',xlab='time',ylab='value')
if (par8=='') {
mytitle <- paste('Working Time Series (lambda=',par2,', d=',par3,', D=',par4,')',sep='')
mysub <- paste('(lambda=',par2,', d=',par3,', D=',par4,', CI=', par7, ', CI type=',par6,')',sep='')
} else {
mytitle <- paste('Working Time Series (base=',par8,', d=',par3,', D=',par4,')',sep='')
mysub <- paste('(base=',par8,', d=',par3,', D=',par4,', CI=', par7, ', CI type=',par6,')',sep='')
}
plot(x,type='l', main=mytitle,xlab='time',ylab='value')
par(op)
dev.off()
bitmap(file='pic1.png')
racf <- acf(x, par1, main='Autocorrelation', xlab='time lag', ylab='ACF', ci.type=par6, ci=par7, sub=mysub)
dev.off()
bitmap(file='pic2.png')
rpacf <- pacf(x,par1,main='Partial Autocorrelation',xlab='lags',ylab='PACF',sub=mysub)
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