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 03:53:04 -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/t1229079466izl0j8w27h4hohs.htm/, Retrieved Fri, 12 Dec 2008 11:57:46 +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/t1229079466izl0j8w27h4hohs.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 time3 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.5705495.13491e-06
20.4266093.83950.000122
30.5660435.09441e-06
40.3484783.13630.001192
50.3960383.56430.000308
60.5997145.39740
70.3199442.87950.002547
80.2072941.86560.032856
90.3872873.48560.000398
100.2293242.06390.021113
110.2978922.6810.004445
120.5406044.86543e-06
130.2702972.43270.008596
140.1235111.11160.134799
150.2667692.40090.009323
160.0571070.5140.30434
170.0942080.84790.199505
180.2964442.6680.004607
190.0552190.4970.310278
20-0.022053-0.19850.421583
210.1404811.26430.104869
22-0.012213-0.10990.456374
230.0821590.73940.230891
240.2960542.66450.004651
250.056870.51180.305083
26-0.059148-0.53230.297977
270.0818170.73640.23182
28-0.105897-0.95310.171693
29-0.087004-0.7830.217945
300.1018960.91710.180915
31-0.078516-0.70660.240909
32-0.148969-1.34070.091879
33-0.041862-0.37680.353669
34-0.116625-1.04960.148507
35-0.03462-0.31160.378081
360.1753181.57790.059247


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.5705495.13491e-06
20.1498681.34880.090577
30.414993.73490.000174
4-0.193683-1.74320.042551
50.2930622.63760.005005
60.2852342.56710.006047
7-0.250484-2.25440.013437
8-0.153359-1.38020.085657
90.1691671.52250.065889
10-0.019818-0.17840.429444
110.1885831.69720.046745
120.2208651.98780.025107
13-0.160565-1.44510.076146
14-0.228146-2.05330.021634
15-0.054887-0.4940.311327
16-0.209259-1.88330.031622
170.0652050.58680.279469
180.0475650.42810.334864
190.02630.23670.406743
200.0514870.46340.322166
210.03210.28890.386698
22-0.076567-0.68910.246363
230.1443391.29910.098806
24-0.008934-0.08040.468056
25-0.053813-0.48430.314734
26-0.139206-1.25290.106932
270.0328220.29540.384224
28-0.122416-1.10170.136918
29-0.018894-0.170.4327
30-0.050816-0.45730.324323
310.1894081.70470.046045
32-0.041395-0.37260.355227
33-0.115345-1.03810.151155
340.1217581.09580.138202
350.1071260.96410.168923
360.0133470.12010.452341
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/12/t1229079466izl0j8w27h4hohs/1edv31229079173.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/12/t1229079466izl0j8w27h4hohs/1edv31229079173.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/12/t1229079466izl0j8w27h4hohs/23r671229079173.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/12/t1229079466izl0j8w27h4hohs/23r671229079173.ps (open in new window)


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