Home » date » 2010 » Aug » 19 »

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: Thu, 19 Aug 2010 15:24:51 +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/19/t128223145629e2sgt4gknrwx0.htm/, Retrieved Thu, 19 Aug 2010 17:24:18 +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/19/t128223145629e2sgt4gknrwx0.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'Gwilym Jenkins' @ 72.249.127.135


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.2170151.97710.025675
20.0242740.22110.412761
3-0.055941-0.50960.305827
40.0766210.69810.243548
5-0.287804-2.6220.005198
6-0.315307-2.87260.002584
7-0.293-2.66940.00457
80.0280460.25550.39948
9-0.128322-1.16910.122862
10-0.047245-0.43040.334002
110.264162.40660.00916
120.6694016.09850
130.1663621.51560.066707
140.0227630.20740.418111
150.0377530.3440.365877
160.0700950.63860.262421
17-0.257645-2.34730.010647
18-0.318264-2.89950.002391
19-0.197389-1.79830.037882
20-0.068949-0.62820.265815
21-0.103974-0.94720.173132
22-0.030045-0.27370.392489
230.250412.28130.012545
240.4222083.84650.000117
250.1011630.92160.179694
260.0141860.12920.448739
270.0434580.39590.346588
280.0578010.52660.299939
29-0.218203-1.98790.025058
30-0.194367-1.77080.040135
31-0.161218-1.46880.072839
32-0.129592-1.18060.12056
33-0.106377-0.96910.167646
34-0.017081-0.15560.438358
350.1349941.22990.111113
360.2076531.89180.031002
370.0368830.3360.368851
380.0504670.45980.323438
390.0616490.56160.287934
400.0063860.05820.476874
41-0.160501-1.46220.073726
42-0.081154-0.73930.23089
43-0.159883-1.45660.074499
44-0.084846-0.7730.220865
45-0.110148-1.00350.159268
460.0183980.16760.433646
470.0377940.34430.36574
480.0684580.62370.267274


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.2170151.97710.025675
2-0.023949-0.21820.413909
3-0.058946-0.5370.296345
40.1075060.97940.165108
5-0.348662-3.17650.001047
6-0.206152-1.87810.031937
7-0.205828-1.87520.032142
80.0713390.64990.258767
9-0.155351-1.41530.080358
10-0.076655-0.69840.243452
110.2692622.45310.008129
120.5296184.8253e-06
13-0.03619-0.32970.371227
14-0.074293-0.67680.250195
150.0325270.29630.383858
16-0.02947-0.26850.394497
17-0.031312-0.28530.388077
18-0.028411-0.25880.398203
190.077040.70190.242362
20-0.111162-1.01270.157064
210.1204181.09710.137893
220.0748780.68220.248516
23-0.06665-0.60720.272684
24-0.057693-0.52560.300282
25-0.069677-0.63480.263657
26-0.023881-0.21760.414149
27-0.135572-1.23510.110136
280.0836190.76180.224168
290.0253880.23130.408825
300.1195291.0890.139661
31-0.024252-0.22090.412838
32-0.123501-1.12510.131884
33-0.021059-0.19190.424163
34-0.100589-0.91640.181054
35-0.129018-1.17540.121596
36-0.133824-1.21920.113111
37-0.011306-0.1030.459106
380.0760450.69280.245182
390.0645780.58830.278953
40-0.036141-0.32930.371394
41-0.059665-0.54360.294095
42-0.01802-0.16420.434997
43-0.155331-1.41510.080385
440.0480750.4380.331268
45-0.118363-1.07830.142003
460.0429160.3910.348405
470.0225080.20510.419016
480.0380390.34660.364901
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Aug/19/t128223145629e2sgt4gknrwx0/1v89c1282231489.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Aug/19/t128223145629e2sgt4gknrwx0/1v89c1282231489.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Aug/19/t128223145629e2sgt4gknrwx0/2v89c1282231489.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Aug/19/t128223145629e2sgt4gknrwx0/2v89c1282231489.ps (open in new window)


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