Home » date » 2008 » Dec » 12 »

Autocorrelation function: duurzame consumptiegoederen

*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, 12 Dec 2008 04:27:32 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2008/Dec/12/t1229081379wkrtjxilj3xexjs.htm/, Retrieved Fri, 12 Dec 2008 12:29:44 +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/2008/Dec/12/t1229081379wkrtjxilj3xexjs.htm/},
    year = {2008},
}
@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 = {2008},
    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 «
85,0 95,9 108,9 96,2 100,1 105,7 64,5 66,8 110,3 96,1 102,5 97,6 83,6 86,5 96,0 91,1 87,2 84,5 59,2 61,5 98,8 97,9 92,7 84,2 74,5 79,7 86,8 79,8 87,0 91,4 58,7 62,8 87,9 90,4 80,6 73,5 71,4 70,6 78,3 76,0 77,4 80,9 63,4 58,1 88,2 81,2 84,9 76,4 71,5 76,1 82,9 78,0 82,0 84,7 55,7 59,5 83,2 87,6 76,2 76,4 68,3 70,0 76,3 70,9 72,4 80,1 57,4 62,7 82,6 88,9 80,4 72,0 69,4 69,2 77,3 79,4 78,6 76,1 61,8 59,4 78,1
 
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
10.3711143.08270.001474
20.3582382.97570.002013
30.3473682.88550.002606
40.17651.46610.073579
50.0760210.63150.264907
60.169521.40810.08179
70.1401731.16440.124144
80.1243631.0330.152596
90.1050450.87260.192962
100.1151520.95650.171074
11-0.005095-0.04230.483182
12-0.240681-1.99920.024761
130.0156510.130.448469
14-0.143772-1.19430.118233
15-0.00889-0.07380.470673
16-0.048222-0.40060.344991
170.116370.96660.168549
180.1959311.62750.054092
190.1297731.0780.1424
200.121521.00940.158149
210.2503022.07920.020661
220.0602950.50080.309036
230.1657891.37720.086459
240.1406761.16850.123305
25-0.003446-0.02860.488625
260.0619410.51450.304265
270.0015180.01260.494987
280.0637810.52980.298973
29-0.076851-0.63840.262673
30-0.127547-1.05950.146537
31-0.070566-0.58620.279839
32-0.15494-1.2870.101193
33-0.28216-2.34380.010988
34-0.181114-1.50440.068515
35-0.278088-2.310.011944
36-0.126761-1.0530.148018


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.3711143.08270.001474
20.2557342.12430.018616
30.1904921.58230.059072
4-0.059207-0.49180.312206
5-0.118812-0.98690.163564
60.1114880.92610.178814
70.0990250.82260.206795
80.0487350.40480.343429
9-0.045749-0.380.35255
100.0027310.02270.490982
11-0.097498-0.80990.210396
12-0.349118-2.90.002501
130.1945061.61570.055363
14-0.023392-0.19430.423254
150.2125461.76550.040949
16-0.158479-1.31640.096193
170.174051.44580.076384
180.2905182.41320.009236
19-0.01936-0.16080.436355
20-0.023514-0.19530.422857
210.1476151.22620.112149
22-0.01029-0.08550.466067
230.0210850.17510.430739
24-0.274827-2.28290.012761
25-0.0715-0.59390.277252
26-0.082264-0.68330.248342
27-0.05542-0.46040.323355
28-0.046606-0.38710.349922
29-0.005053-0.0420.483319
30-0.055794-0.46350.322246
310.0287250.23860.406058
32-0.035221-0.29260.385366
33-0.025814-0.21440.415425
34-0.046293-0.38450.350882
35-0.010262-0.08520.466156
360.0547050.45440.32548
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/12/t1229081379wkrtjxilj3xexjs/1j64f1229081251.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/12/t1229081379wkrtjxilj3xexjs/1j64f1229081251.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/12/t1229081379wkrtjxilj3xexjs/26l4y1229081251.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/12/t1229081379wkrtjxilj3xexjs/26l4y1229081251.ps (open in new window)


 
Parameters (Session):
par1 = 36 ; par2 = 1 ; par3 = 0 ; par4 = 1 ; par5 = 12 ;
 
Parameters (R input):
par1 = 36 ; par2 = 1 ; par3 = 0 ; par4 = 1 ; par5 = 12 ;
 
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 (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='lags',ylab='ACF')
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