Home » date » 2010 » Nov » 19 »

Faillissementen detailhandel Denemarken

*Unverified author*
R Software Module: /rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Fri, 19 Nov 2010 09:29:50 +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/Nov/19/t1290158913olvh482e0lizx0a.htm/, Retrieved Fri, 19 Nov 2010 10:28:34 +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/2010/Nov/19/t1290158913olvh482e0lizx0a.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:
KDGP2W12 - PAUWELS
 
Dataseries X:
» Textbox « » Textfile « » CSV «
12 13 23 24 21 20 18 13 12 25 21 17 10 15 23 12 10 21 9 13 17 14 20 12 13 14 23 14 21 21 21 7 15 28 28 18 22 30 1 26 29 24 26 19 19 41 36 54 49 33 50 43 51 46 45 23 56 41 48 43
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'RServer@AstonUniversity' @ vre.aston.ac.uk


Autocorrelation Function
Time lag kACF(k)T-STATP-value
1-0.506678-3.89190.000128
20.0206330.15850.437307
30.0175920.13510.446485
4-0.037018-0.28430.388573
5-0.04783-0.36740.35732
60.1852151.42270.08005
7-0.120698-0.92710.178827
80.109880.8440.201038
9-0.081156-0.62340.267722
10-0.25411-1.95190.027853
110.365552.80780.003375
12-0.167351-1.28550.101829
130.0976280.74990.228149
14-0.062099-0.4770.317566
150.0082810.06360.47475
16-0.137094-1.0530.148308
170.2702662.0760.021132
18-0.285325-2.19160.016183
190.1671921.28420.102042
200.0934090.71750.237953
21-0.180548-1.38680.085358
22-0.020241-0.15550.43849
230.0893770.68650.247538
240.0225130.17290.43165
25-0.061352-0.47130.319598
260.0833040.63990.262367
27-0.11953-0.91810.181144
280.1790241.37510.087149
29-0.272525-2.09330.020315
300.1389471.06730.145098
310.0672230.51630.303771
32-0.047653-0.3660.357827
33-0.031613-0.24280.404493
340.0518770.39850.34586
35-0.108632-0.83440.203706
360.0411680.31620.376476
370.0654470.50270.30852
38-0.065046-0.49960.309597
390.076490.58750.279545
40-0.076884-0.59060.278536
41-0.037207-0.28580.38802
420.0339040.26040.397721
430.0549560.42210.337235
44-0.023946-0.18390.427347
450.0324310.24910.402072
46-0.076004-0.58380.280791
470.0601560.46210.322865
480.0011150.00860.496599


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.506678-3.89190.000128
2-0.317633-2.43980.00886
3-0.193885-1.48930.070873
4-0.176008-1.35190.090777
5-0.239664-1.84090.035333
60.0310250.23830.406235
70.0151060.1160.45401
80.1704691.30940.097739
90.1237850.95080.172789
10-0.355052-2.72720.0042
11-0.012273-0.09430.462605
12-0.089484-0.68730.24728
130.0774890.59520.276991
14-0.022826-0.17530.43071
150.007120.05470.478286
16-0.08823-0.67770.250304
170.1571461.20710.116112
18-0.106248-0.81610.208862
19-0.215522-1.65550.051571
200.0885520.68020.249525
210.1081960.83110.204642
22-0.105195-0.8080.211163
23-0.084084-0.64590.260436
240.0661830.50840.306548
25-0.02394-0.18390.427366
260.024250.18630.426437
27-0.010822-0.08310.467017
280.0268930.20660.418528
29-0.066674-0.51210.305234
30-0.083044-0.63790.263012
31-0.072129-0.5540.290825
32-0.095012-0.72980.2342
330.0724510.55650.289985
340.0098380.07560.470008
35-0.048753-0.37450.354695
36-0.106927-0.82130.207384
37-0.0746-0.5730.284406
380.0162440.12480.450564
39-0.096138-0.73850.231584
40-0.087794-0.67440.251359
41-0.121421-0.93270.1774
420.0555220.42650.335657
43-0.018626-0.14310.443362
44-0.07508-0.57670.283167
45-0.055379-0.42540.336056
460.0357780.27480.392209
470.0766280.58860.279191
480.0152230.11690.453657
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Nov/19/t1290158913olvh482e0lizx0a/1bh4w1290158987.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/19/t1290158913olvh482e0lizx0a/1bh4w1290158987.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/19/t1290158913olvh482e0lizx0a/2bh4w1290158987.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/19/t1290158913olvh482e0lizx0a/2bh4w1290158987.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