Home » date » 2008 » Dec » 12 »

Autocorrelation function: niet-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:39:18 -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/t1229082078ex8sn3t5hbcc5gx.htm/, Retrieved Fri, 12 Dec 2008 12:41:21 +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/t1229082078ex8sn3t5hbcc5gx.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 «
99.5 98.2 108.9 100.0 105.0 108.4 96.7 100.5 115.6 114.9 110.7 107.7 113.5 106.9 119.6 109.4 106.9 118.7 108.9 113.1 125.1 126.5 122.7 127.5 107.1 112.0 122.1 111.5 113.2 128.2 115.1 117.4 132.0 130.8 128.0 132.7 117.0 110.9 123.5 117.4 122.7 123.5 111.5 113.8 131.2 127.0 126.2 121.2 118.8 117.9 135.2 120.7 126.4 129.6 113.4 120.5 135.5 137.6 130.6 133.1 121.5 120.5 136.9 123.7 128.5 135.0 120.9 121.1 132.2 134.5 133.6 136.1 124.5 124.6 133.5 132.3 125.3 135.5 121.2 117.5 135.9
 
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
1-0.488892-4.03157.1e-05
20.1012170.83470.203416
3-0.1668-1.37550.08675
40.1236131.01930.155827
5-0.074928-0.61790.269362
60.0555620.45820.324142
7-0.057181-0.47150.319387
8-0.022668-0.18690.426139
90.0458310.37790.353328
100.0109140.090.464277
110.1206590.9950.161637
12-0.252767-2.08440.020443
130.1278711.05450.147704
14-0.005082-0.04190.483349
15-0.035694-0.29430.384696
16-0.056685-0.46740.320842
170.1875931.54690.063261
18-0.084386-0.69590.244443
19-0.043129-0.35570.361601
20-0.074427-0.61370.270716
210.1731741.4280.07893
22-0.097878-0.80710.211205
230.1809731.49230.070118
24-0.270374-2.22960.014541
250.1232851.01660.156466
26-0.116719-0.96250.169608
270.2217931.8290.035896
28-0.132124-1.08950.139885
29-0.038397-0.31660.376247
300.041370.34110.367024
310.0433930.35780.36079
320.067510.55670.289779
33-0.135223-1.11510.134371
340.0644080.53110.298532
35-0.085537-0.70540.2415
360.1017450.8390.202201


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.488892-4.03157.1e-05
2-0.181078-1.49320.070004
3-0.267492-2.20580.015391
4-0.113544-0.93630.176214
5-0.114704-0.94590.173782
6-0.066372-0.54730.292976
7-0.08079-0.66620.253765
8-0.148629-1.22560.112283
9-0.071133-0.58660.279715
10-0.033473-0.2760.391682
110.1663161.37150.087367
12-0.128341-1.05830.146825
13-0.078544-0.64770.259684
140.0229290.18910.425297
15-0.121128-0.99880.160705
16-0.172025-1.41860.080298
170.0984730.8120.209804
180.0920240.75890.225282
19-0.070434-0.58080.281644
20-0.207083-1.70770.046132
210.0457410.37720.353604
22-0.000754-0.00620.497528
230.2576942.1250.018612
24-0.097585-0.80470.211897
25-0.066765-0.55060.291869
26-0.114718-0.9460.173752
270.025970.21420.415534
28-0.03606-0.29740.383549
29-0.03788-0.31240.377859
300.0732960.60440.273791
31-0.008708-0.07180.471482
320.0509270.420.33792
330.0221070.18230.427944
34-0.018168-0.14980.440677
350.0622720.51350.304631
360.013680.11280.455256
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/12/t1229082078ex8sn3t5hbcc5gx/1fwfv1229081956.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/12/t1229082078ex8sn3t5hbcc5gx/1fwfv1229081956.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/12/t1229082078ex8sn3t5hbcc5gx/2b2i71229081956.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/12/t1229082078ex8sn3t5hbcc5gx/2b2i71229081956.ps (open in new window)


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