Home » date » 2010 » Jul » 24 »

Autocorrelation Omzet Product Y

*Unverified author*
R Software Module: /rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Sat, 24 Jul 2010 08:56: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/Jul/24/t1279961762f80y5g0b4xahq5y.htm/, Retrieved Sat, 24 Jul 2010 10:56:04 +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/24/t1279961762f80y5g0b4xahq5y.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 «
297 296 295 293 291 290 291 293 294 294 295 297 302 297 301 298 295 287 290 288 288 287 274 282 296 292 298 296 292 296 293 295 294 291 279 284 299 296 299 299 291 298 288 284 277 270 251 257 269 271 268 268 258 261 255 251 239 229 210 218 226 227 222 215 203 205 194 190 182 179 158 163 165 169 163 154 142 146 133 131 128 120 88 95
 
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.003474-0.03160.487415
20.0128180.11680.453658
3-0.062487-0.56930.28535
40.0413240.37650.353759
5-0.084856-0.77310.220837
60.2947822.68560.004371
7-0.094633-0.86210.195545
80.0319980.29150.385691
9-0.108043-0.98430.163909
10-0.029767-0.27120.393459
110.0027550.02510.490019
120.7031546.4060
130.0206130.18780.42575
140.0142190.12950.448622
15-0.065289-0.59480.276795
16-0.033097-0.30150.381885
17-0.034255-0.31210.377881
180.2362032.15190.017155
19-0.113774-1.03650.151482
200.0074730.06810.472941
21-0.064157-0.58450.280234
22-0.109982-1.0020.159632
23-0.005172-0.04710.481266
240.492064.48291.2e-05
250.0329030.29980.382554
26-0.009105-0.0830.467045
27-0.082613-0.75260.226897
28-0.058291-0.53110.2984
29-0.008421-0.07670.469516
300.1271541.15840.125005
31-0.1347-1.22720.111613
32-0.062382-0.56830.285675
33-0.055009-0.50120.308793
34-0.182972-1.6670.049646
35-0.014351-0.13070.448147
360.2984272.71880.003988
37-0.029724-0.27080.393608
38-0.056269-0.51260.304783
39-0.049356-0.44970.327066
40-0.069909-0.63690.26297
41-0.006725-0.06130.475647
420.0481460.43860.331036
43-0.110988-1.01110.157443
44-0.097089-0.88450.189486
45-0.018029-0.16420.434968
46-0.197784-1.80190.037596
47-0.018679-0.17020.432645
480.1271081.1580.125091


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.003474-0.03160.487415
20.0128060.11670.453701
3-0.06241-0.56860.285589
40.0409480.37310.355028
5-0.083637-0.7620.224118
60.2938682.67730.004472
7-0.107509-0.97950.1651
80.0309560.2820.389314
9-0.084367-0.76860.22215
10-0.064661-0.58910.2787
110.0729880.6650.253962
120.66666.0730
130.0779920.71050.239681
14-0.0407-0.37080.355866
15-0.049853-0.45420.325442
16-0.152132-1.3860.084732
170.0558080.50840.306248
18-0.039118-0.35640.36123
19-0.064136-0.58430.280299
20-0.015338-0.13970.444605
210.1110421.01160.157326
22-0.065375-0.59560.276535
23-0.041928-0.3820.351727
24-0.015311-0.13950.444701
25-0.005404-0.04920.480425
26-0.012694-0.11570.454104
27-0.067821-0.61790.269174
280.0333880.30420.380876
290.0046110.0420.483295
30-0.094586-0.86170.195661
31-0.08696-0.79220.215239
32-0.13603-1.23930.109365
330.0037810.03440.486301
34-0.061373-0.55910.288789
35-0.009871-0.08990.464281
36-0.059719-0.54410.293926
37-0.122146-1.11280.134502
38-0.069185-0.63030.265112
390.0451460.41130.340957
400.0609030.55490.290243
41-0.04702-0.42840.334743
42-0.043556-0.39680.346261
430.0312350.28460.388344
440.0162270.14780.441416
450.057030.51960.302373
46-0.054413-0.49570.310699
47-0.025153-0.22920.409655
48-0.086699-0.78990.215929
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Jul/24/t1279961762f80y5g0b4xahq5y/1ot7s1279961759.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Jul/24/t1279961762f80y5g0b4xahq5y/1ot7s1279961759.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Jul/24/t1279961762f80y5g0b4xahq5y/2ot7s1279961759.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Jul/24/t1279961762f80y5g0b4xahq5y/2ot7s1279961759.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