Home » date » 2010 » Apr » 29 »

autocorrelatie - verkoopcijfers X - Lehaen Joni

*Unverified author*
R Software Module: /rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Thu, 29 Apr 2010 08:08:11 +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/Apr/29/t1272528617rp1rj0sx6zxfzah.htm/, Retrieved Thu, 29 Apr 2010 10:10:22 +0200
 
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/Apr/29/t1272528617rp1rj0sx6zxfzah.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:
KDGP2W21
 
Dataseries X:
» Textbox « » Textfile « » CSV «
154 96 73 49 36 59 95 169 210 278 298 245 200 118 90 79 78 91 167 169 289 347 375 203 223 104 107 85 75 99 135 211 335 460 488 326 346 261 224 141 148 145 223 272 445 560 612 467 518 404 300 210 196 186 247 343 464 680 711 610 613 392 273 322 189 257 324 404 677 858 895 664 628 308 324 248 272
 
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
10.871347.6460
20.6632985.82040
30.3786693.32280.000683
40.1178241.03390.152209
5-0.066521-0.58370.280559
6-0.127973-1.1230.132472
7-0.08949-0.78530.217351
80.0591410.5190.302638
90.2627082.30530.011923
100.4621964.05585.9e-05
110.6176525.41990
120.6757095.92930
130.5746315.04241e-06
140.4069753.57120.000308
150.1908891.6750.048991
16-0.014064-0.12340.451051
17-0.155537-1.36480.088141
18-0.213955-1.87740.032122
19-0.184952-1.62290.054344
20-0.077253-0.67790.249936
210.0664850.58340.280662
220.2240641.96620.026443
230.3412632.99460.001847
240.3956113.47150.000426
250.3305312.90040.002428
260.2141211.87890.032021
270.0435380.3820.351741
28-0.119831-1.05150.148155
29-0.250096-2.19460.015604
30-0.311668-2.73490.003871
31-0.314981-2.76390.003571
32-0.252562-2.21620.014814
33-0.153735-1.3490.090642
34-0.02956-0.25940.398015
350.0730820.64130.261618
360.133131.16820.123164
370.106510.93460.176453
380.032670.28670.387563
39-0.08413-0.73820.231306
40-0.210402-1.84630.034348
41-0.304486-2.67190.004601
42-0.359584-3.15530.001144
43-0.36777-3.22720.000919
44-0.331679-2.91050.002358
45-0.254169-2.23030.014319
46-0.157211-1.37950.085863
47-0.068863-0.60430.273721
48-0.008263-0.07250.471194


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.871347.6460
2-0.398463-3.49650.000393
3-0.406771-3.56940.00031
40.0457880.40180.344475
50.1997121.75250.041837
60.2388762.09610.019678
70.0461840.40530.343203
80.2314222.03070.022868
90.2409882.11470.018847
100.0700670.61480.270237
110.106240.93230.17706
12-0.001008-0.00880.496483
13-0.408889-3.5880.000292
140.1127040.9890.162886
150.1861591.63350.053219
16-0.131047-1.14990.126866
17-0.137231-1.20420.1161
18-0.055397-0.48610.314135
190.0636780.55880.288969
20-0.071203-0.62480.266972
21-0.105721-0.92770.178232
220.1822031.59880.056978
23-0.084839-0.74450.229432
240.0495940.43520.332323
25-0.088062-0.77270.221021
26-0.037951-0.3330.370013
27-0.023757-0.20850.417706
28-0.021444-0.18820.42562
29-0.03413-0.29950.382686
30-0.045725-0.40120.344679
31-0.16206-1.42210.079522
320.0162420.14250.443519
330.0122940.10790.457186
34-0.011024-0.09670.461595
35-0.065111-0.57130.284714
36-0.029047-0.25490.399746
37-0.004137-0.03630.485568
38-0.020096-0.17630.430244
390.0263760.23140.40879
40-0.019978-0.17530.430651
410.0377170.3310.370785
42-0.046672-0.40950.341639
43-0.033117-0.29060.386068
44-0.037505-0.32910.371486
450.054460.47790.317045
46-0.029257-0.25670.399035
47-0.072015-0.63190.264651
480.0352550.30940.378942
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Apr/29/t1272528617rp1rj0sx6zxfzah/1d7m11272528489.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Apr/29/t1272528617rp1rj0sx6zxfzah/1d7m11272528489.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Apr/29/t1272528617rp1rj0sx6zxfzah/2d7m11272528489.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Apr/29/t1272528617rp1rj0sx6zxfzah/2d7m11272528489.ps (open in new window)


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