Home » date » 2010 » Aug » 18 »

autocorrelation Function diff1 - verkocht aantal producten - Mattias Debbaut

*Unverified author*
R Software Module: /rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Wed, 18 Aug 2010 17:36:01 +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/Aug/18/t1282153201fuopn2z10gtqwpx.htm/, Retrieved Wed, 18 Aug 2010 19:40:03 +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/Aug/18/t1282153201fuopn2z10gtqwpx.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:
mattias debbaut
 
Dataseries X:
» Textbox « » Textfile « » CSV «
376 375 374 372 370 369 370 372 373 373 374 376 371 374 369 363 357 366 362 366 361 362 358 363 360 360 348 345 332 333 323 327 332 337 336 337 343 337 326 321 309 302 293 287 292 292 289 302 310 295 276 264 257 243 227 226 226 229 224 240 244 226 208 199 193 180 167 164 166 173 169 191 193 166 143 147 139 129 115 108 106 116 108 135
 
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.111525-0.93970.175272
20.0117520.0990.460698
3-0.198082-1.66910.049754
40.0732960.61760.269406
5-0.098098-0.82660.205619
60.0904280.7620.224304
7-0.089947-0.75790.225508
80.1138760.95950.170272
9-0.090124-0.75940.225063
10-0.024302-0.20480.419169
110.021840.1840.427258
120.0272880.22990.409402
130.0196640.16570.434434
14-0.060989-0.51390.304459
150.16011.3490.090807
16-0.03473-0.29260.385326
17-0.073357-0.61810.269238
18-0.243471-2.05150.021953
190.1019760.85930.196543
20-0.018281-0.1540.43901
210.0006640.00560.497777
22-0.148679-1.25280.107197
230.2470432.08160.020492
240.0089860.07570.469928
250.0181520.1530.439434
26-0.189084-1.59320.057774
27-0.043703-0.36820.356893
280.0780810.65790.256357
290.0113780.09590.461945
300.0663540.55910.288923
310.104650.88180.190431
32-0.128729-1.08470.140864
33-0.018509-0.1560.438253
34-0.048822-0.41140.341016
350.098930.83360.203651
360.0348110.29330.385067
37-0.064272-0.54160.294907
38-0.01248-0.10520.458275
390.1060550.89360.187268
40-0.132521-1.11660.133956
41-0.063046-0.53120.298457
42-0.004952-0.04170.483416
430.0338340.28510.388202
440.0168710.14220.443678
450.0479290.40390.343767
46-0.078242-0.65930.255926
47-0.008796-0.07410.470563
480.0005020.00420.498319


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.111525-0.93970.175272
2-0.000694-0.00580.497675
3-0.199327-1.67960.04872
40.0307930.25950.398012
5-0.093966-0.79180.215566
60.0355580.29960.382672
7-0.065658-0.55320.290918
80.0685690.57780.282622
9-0.049461-0.41680.339054
10-0.076715-0.64640.260048
110.0615420.51860.302838
12-0.017733-0.14940.440821
130.036550.3080.3795
14-0.069423-0.5850.280211
150.1782021.50160.068823
16-0.01091-0.09190.463506
17-0.097991-0.82570.205874
18-0.203831-1.71750.045122
190.019410.16360.435273
20-0.010825-0.09120.46379
21-0.12314-1.03760.151489
22-0.116823-0.98440.164139
230.1840521.55090.062692
240.083950.70740.240823
25-0.03776-0.31820.375643
26-0.133302-1.12320.132564
27-0.140007-1.17970.121025
280.1179310.99370.161872
29-0.025592-0.21560.414942
300.0646870.54510.29371
310.1051630.88610.189273
32-0.091555-0.77150.221498
330.1104140.93040.177666
34-0.101946-0.8590.196613
350.0225090.18970.425058
36-0.042256-0.35610.361428
37-0.00781-0.06580.473858
38-0.025843-0.21780.414121
390.035660.30050.382346
40-0.121512-1.02390.154685
410.0118070.09950.460516
420.042630.35920.360253
43-0.138679-1.16850.123251
44-0.051246-0.43180.333596
450.0837210.70540.24142
46-0.077545-0.65340.257802
47-0.072096-0.60750.272731
480.0287110.24190.404767
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Aug/18/t1282153201fuopn2z10gtqwpx/1esfn1282152959.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Aug/18/t1282153201fuopn2z10gtqwpx/1esfn1282152959.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Aug/18/t1282153201fuopn2z10gtqwpx/26jx81282152959.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Aug/18/t1282153201fuopn2z10gtqwpx/26jx81282152959.ps (open in new window)


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