Home » date » 2010 » Jul » 11 »

Autocorrelation Omzet Product X

*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, 11 Jul 2010 15:04:57 +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/Jul/11/t1278860708thzvan4h64pg15b.htm/, Retrieved Sun, 11 Jul 2010 17:05:11 +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/Jul/11/t1278860708thzvan4h64pg15b.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:
Febiri Lordina
 
Dataseries X:
» Textbox « » Textfile « » CSV «
213 212 211 209 229 228 213 203 204 204 205 207 205 208 201 201 220 218 203 185 179 182 182 185 183 192 177 172 188 182 162 150 141 135 139 148 142 156 143 134 146 142 117 106 104 99 105 106 96 104 96 85 91 98 73 70 62 60 70 82 72 73 68 53 61 73 46 50 52 45 58 73 58 49 44 35 46 61 29 33 37 31 44 57 42 34 27 22 30 47 12 13 18 11 26 41 21 24 30 34 48 64 35 44 55 53 73 94 73 78 87 87 91 104 73 84 103 111 131 155
 
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
1-0.063859-0.69660.243699
2-0.25464-2.77780.00318
30.2292542.50090.006875
4-0.194542-2.12220.017947
5-0.167779-1.83030.034857
60.5606426.11590
7-0.11933-1.30170.097761
8-0.229923-2.50820.006741
90.2313332.52350.006468
10-0.184566-2.01340.023166
11-0.110117-1.20120.116022
120.8148138.88860
13-0.067296-0.73410.232161
14-0.312543-3.40940.000445
150.1648711.79850.037314
16-0.142362-1.5530.06154
17-0.167044-1.82220.035465
180.4891245.33570
19-0.084728-0.92430.178606
20-0.22772-2.48410.007189
210.1891722.06360.020614
22-0.123301-1.34510.090583
23-0.108837-1.18730.118742
240.6324416.89910
25-0.084269-0.91930.179907
26-0.336462-3.67040.000182
270.1289211.40640.081112
28-0.104297-1.13770.128757
29-0.192372-2.09850.018987
300.4024994.39071.2e-05
31-0.068056-0.74240.229653
32-0.236924-2.58450.005479
330.1303891.42240.078766
34-0.081843-0.89280.186882
35-0.108597-1.18470.119258
360.4834145.27340
37-0.04137-0.45130.326298
38-0.323216-3.52593e-04
390.1020391.11310.13395
40-0.043775-0.47750.31693
41-0.187588-2.04630.021463
420.3317093.61850.000218
43-0.02527-0.27570.391642
44-0.218996-2.3890.009234
450.0818020.89240.187001
46-0.039403-0.42980.334045
47-0.101882-1.11140.134318
480.3461093.77560.000125
490.001520.01660.493399
50-0.283776-3.09560.001225
510.0526010.57380.283588
52-0.022217-0.24240.404461
53-0.190641-2.07970.019852
540.2482722.70830.00388
550.0208680.22760.410157
56-0.201237-2.19520.015043
570.0203680.22220.412274
58-0.00622-0.06780.47301
59-0.07573-0.82610.205197
600.2426922.64750.004604


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.063859-0.69660.243699
2-0.259777-2.83380.002702
30.2069312.25730.012905
4-0.266741-2.90980.002159
5-0.069979-0.76340.223373
60.477515.2090
7-0.179078-1.95350.026553
80.0227450.24810.402234
90.0040410.04410.482458
10-0.109422-1.19370.117494
110.1213051.32330.094139
120.6987577.62250
13-0.124118-1.3540.089157
14-0.03908-0.42630.335327
15-0.186214-2.03140.022223
160.0708960.77340.220414
170.0633410.6910.245466
18-0.144576-1.57710.058709
190.0103190.11260.455281
200.06290.68620.246975
21-0.045624-0.49770.309809
220.0367590.4010.344572
230.0347230.37880.352761
24-0.070914-0.77360.220356
25-0.050848-0.55470.290076
26-0.068447-0.74670.228367
270.0865810.94450.173418
28-0.055707-0.60770.272277
29-0.183541-2.00220.023769
30-0.012992-0.14170.443767
310.0027970.03050.487857
32-0.011464-0.12510.450346
33-0.100159-1.09260.138387
34-0.00948-0.10340.458903
350.0585610.63880.262082
36-0.030269-0.33020.370916
370.1604541.75030.041318
380.0038060.04150.483475
390.0029770.03250.487076
400.0038820.04230.483146
410.0118280.1290.448778
420.0918681.00220.15915
43-0.034819-0.37980.352375
44-0.01599-0.17440.430912
450.0081350.08870.464718
460.0016780.01830.492712
470.0074280.0810.467778
48-0.071615-0.78120.218111
490.0454360.49560.310529
500.0221630.24180.404689
51-0.074478-0.81250.209074
52-0.047848-0.5220.301335
53-0.082025-0.89480.186353
54-0.036025-0.3930.347516
550.0230170.25110.401091
56-0.074772-0.81570.20816
57-0.066084-0.72090.236194
58-0.034874-0.38040.352152
590.037360.40750.342168
600.0308760.33680.368426
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Jul/11/t1278860708thzvan4h64pg15b/156s61278860695.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Jul/11/t1278860708thzvan4h64pg15b/156s61278860695.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Jul/11/t1278860708thzvan4h64pg15b/2yyr91278860695.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Jul/11/t1278860708thzvan4h64pg15b/2yyr91278860695.ps (open in new window)


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