Home » date » 2010 » Aug » 15 »

Autocorrelation omzet product A

*Unverified author*
R Software Module: /rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Sun, 15 Aug 2010 12:54:02 +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/15/t12818768233a1eq7xgxh5gr7n.htm/, Retrieved Sun, 15 Aug 2010 14:53:43 +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/15/t12818768233a1eq7xgxh5gr7n.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:
Sebastien Delforge
 
Dataseries X:
» Textbox « » Textfile « » CSV «
75 74 73 71 91 90 75 65 66 66 67 69 75 79 75 77 100 100 94 83 83 83 84 88 89 98 94 84 111 98 98 83 79 78 80 94 98 104 94 90 115 104 114 99 96 98 104 111 117 125 117 118 151 145 155 133 124 125 131 133 136 141 130 137 177 183 191 166 156 153 164 164 168 173 164 165 205 207 215 190 169 175 188 188 196 201 194 197 237 236 244 222 195 199 207 204 212 222 214 217 258 256 251 223 198 206 214 212 227 238 228 235 275 278 278 251 225 232 238 239
 
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
10.9604210.52090
20.91672110.04220
30.8808689.64940
40.8581359.40040
50.8446799.2530
60.8237299.02350
70.7922468.67860
80.7590918.31540
90.7435088.14470
100.739558.10140
110.7400838.10720
120.7398438.10460
130.7015147.68470
140.660817.23880
150.6260856.85840
160.6050876.62840
170.5934746.50120
180.5735226.28260
190.5432945.95150
200.5104595.59180
210.4931695.40240
220.4851425.31450
230.480465.26320
240.4752265.20580
250.4364164.78073e-06
260.3971644.35071.4e-05
270.363293.97965.9e-05
280.339123.71490.000155
290.3229813.53810.000287
300.2968133.25140.000745
310.2645162.89760.002235
320.2293932.51290.006651
330.2067332.26460.012665
340.1925982.10980.018476
350.1822541.99650.024072
360.1728381.89330.03036
370.1369021.49970.068161
380.099951.09490.137877
390.0677670.74230.229664
400.045310.49630.310281
410.0302640.33150.370411
420.0042040.0460.481674
43-0.024653-0.27010.39379
44-0.054178-0.59350.276985
45-0.072692-0.79630.213714
46-0.083775-0.91770.180305
47-0.091546-1.00280.158979
48-0.098288-1.07670.141889


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.9604210.52090
2-0.073275-0.80270.211872
30.0815220.8930.186816
40.1407521.54190.062871
50.1033071.13170.130014
6-0.087014-0.95320.171204
7-0.098847-1.08280.14053
8-0.010171-0.11140.455734
90.1913782.09640.019072
100.0844440.9250.178401
110.0628880.68890.246108
120.0772160.84590.199656
13-0.440903-4.82992e-06
14-0.012159-0.13320.447132
15-0.038963-0.42680.33514
160.0616250.67510.250465
170.0896140.98170.164118
18-0.017951-0.19660.422219
19-0.014841-0.16260.435565
20-0.020575-0.22540.411031
210.0009820.01080.49572
22-0.019448-0.2130.415829
230.0156250.17120.432192
240.0420120.46020.323096
25-0.231764-2.53880.006201
260.0136330.14930.440766
27-0.034964-0.3830.351194
28-0.045619-0.49970.309089
290.0323340.35420.361907
30-0.064429-0.70580.240846
310.0544440.59640.276015
32-0.033408-0.3660.357518
33-0.065155-0.71370.238388
34-0.001538-0.01690.493291
350.0037930.04150.483464
360.0176390.19320.423554
37-0.093505-1.02430.153879
38-0.030324-0.33220.370167
39-0.007923-0.08680.465491
40-0.02234-0.24470.403543
41-0.006177-0.06770.473082
42-0.059357-0.65020.258395
430.0679120.74390.229184
440.0122570.13430.446707
45-0.05349-0.58590.279505
460.0070060.07670.469478
47-6e-06-1e-040.499975
48-0.005971-0.06540.473979
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Aug/15/t12818768233a1eq7xgxh5gr7n/1gzug1281876839.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Aug/15/t12818768233a1eq7xgxh5gr7n/1gzug1281876839.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Aug/15/t12818768233a1eq7xgxh5gr7n/2gzug1281876839.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Aug/15/t12818768233a1eq7xgxh5gr7n/2gzug1281876839.ps (open in new window)


 
Parameters (Session):
 
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