Home » date » 2007 » Nov » 29 » attachments

WS10_ARIMA

R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Thu, 29 Nov 2007 02:53:25 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2007/Nov/29/t11963294149iwfbr7pllbqya0.htm/, Retrieved Thu, 29 Nov 2007 10:43:34 +0100
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
140 132 117 513 503 471 471 476 475 470 461 455 456 517 525 523 519 509 512 519 517 510 509 501 507 569 580 578 565 547 555 562 561 555 544 537 543 594 611 613 611 594 595 591 589 584 573 567 569 621 629 628 612 595 597 593 590 580 574 573 573 620 626 620 588 566 557 561 549 532 526 511 499 555 565 542 113 110 107 103 98 98 137 148 147 139 130 128 127 123 118 114 108 111 151 159 158 148 138 137 136 133 126 120 114 116 153 162 161 149 139 135 130 127 122 117 112 113 149 157 157 147 137 132 125 123 117 114 111 112 144 150 149 134 123 116 117 111 105 102 95 93 124 130 124
 
Text written by user:
 
Output produced by software:


Summary of compuational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001


Autocorrelation Function
Time lag kACF(k)T-STATP-value
0111.48910
1-0.000525-0.0060.502404
2-0.102082-1.17280.878512
3-0.059834-0.68740.753495
40.0127580.14660.441843
50.0250550.28790.386951
60.0069980.08040.468019
7-0.009772-0.11230.544609
80.0023190.02660.489393
90.0318920.36640.357322
100.0282430.32450.37304
110.0009020.01040.495872
12-0.321662-3.69560.99984
13-0.001952-0.02240.508928
140.0125510.14420.442783
150.0038530.04430.482381
16-0.009573-0.110.543704
17-0.019676-0.22610.58925
18-0.010244-0.11770.546754
190.0084510.09710.461401
20-0.007714-0.08860.535244
210.006240.07170.47148
225e-056e-040.499773
23-0.011544-0.13260.552657
24-0.009804-0.11260.544756
25-0.011559-0.13280.552724
260.0066360.07620.469673
270.0037020.04250.483069
280.0102240.11750.453334
290.0020240.02320.490743
302e-0600.49999
31-0.009072-0.10420.541429
32-0.000994-0.01140.504547
330.015470.17770.429601
340.0054090.06210.47527
350.0062180.07140.47158
36-0.017592-0.20210.579931
370.0052240.060.476117
38-0.015218-0.17480.569265
390.0055080.06330.474817
40-0.004277-0.04910.519558
410.0015780.01810.492784
420.0107750.12380.450832
43-0.003387-0.03890.515492
44-0.008081-0.09280.536913
45-0.014578-0.16750.566378
46-0.008109-0.09320.537045
470.0054540.06270.475063


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
0-0.000525-0.0060.502404
1-0.102082-1.17280.878512
2-0.060578-0.6960.756171
30.0019250.02210.491196
40.0130440.14990.440552
50.0051980.05970.476237
6-0.00502-0.05770.522955
70.0057670.06630.473636
80.03140.36080.35943
90.0286430.32910.371307
100.0081260.09340.462879
11-0.317204-3.64440.999808
12-0.002893-0.03320.513231
13-0.056546-0.64970.74148
14-0.036548-0.41990.662383
15-0.010592-0.12170.548336
16-0.015804-0.18160.571901
17-0.009855-0.11320.544986
180.0035470.04080.483778
19-0.007213-0.08290.53296
200.0244340.28070.389682
210.009640.11080.45599
22-0.006274-0.07210.528677
23-0.123269-1.41630.920471
24-0.018043-0.20730.581951
25-0.025323-0.29090.614224
26-0.019782-0.22730.589719
270.0026670.03060.4878
28-0.009362-0.10760.542746
29-0.005892-0.06770.526933
30-0.006169-0.07090.5282
31-0.007714-0.08860.535243
320.0289030.33210.370183
330.0074460.08550.465979
340.0046870.05390.478566
35-0.065421-0.75160.773195
36-0.006168-0.07090.528194
37-0.03344-0.38420.649276
38-0.006054-0.06960.527674
39-0.006552-0.07530.529947
40-0.004875-0.0560.52229
410.0077430.0890.464626
42-0.008779-0.10090.540094
43-0.010712-0.12310.548879
440.0023210.02670.489382
45-0.007951-0.09130.536324
460.0064120.07370.470695
47-0.00472-0.05420.521583
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Nov/29/t11963294149iwfbr7pllbqya0/13rhp1196330000.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Nov/29/t11963294149iwfbr7pllbqya0/13rhp1196330000.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Nov/29/t11963294149iwfbr7pllbqya0/2podr1196330000.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Nov/29/t11963294149iwfbr7pllbqya0/2podr1196330000.ps (open in new window)


 
Parameters:
par1 = 48 ; par2 = 1 ; par3 = 1 ; par4 = 1 ; par5 = 12 ;
 
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 (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='lags',ylab='ACF')
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 1:par1) {
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(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-1,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(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:

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