Home » date » 2007 » Nov » 29 » attachments

Broodprijs

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 12:46:36 -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/t119636560624sg61k5s678ozb.htm/, Retrieved Thu, 29 Nov 2007 20:46:46 +0100
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
1,43 1,43 1,43 1,43 1,43 1,43 1,44 1,48 1,48 1,48 1,48 1,48 1,48 1,48 1,48 1,48 1,48 1,48 1,48 1,48 1,48 1,48 1,48 1,48 1,48 1,48 1,48 1,48 1,48 1,48 1,48 1,48 1,48 1,48 1,48 1,48 1,48 1,57 1,58 1,58 1,58 1,58 1,59 1,6 1,6 1,61 1,61 1,61 1,62 1,63 1,63 1,64 1,64 1,64 1,64 1,64 1,65 1,65 1,65 1,65
 
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 time6 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001


Autocorrelation Function
Time lag kACF(k)T-STATP-value
017.7460
10.9472117.33710
20.8899166.89330
30.8320216.44480
40.7732245.98940
50.7175265.55790
60.6582235.09862e-06
70.5982254.63381e-05
80.5489614.25223.8e-05
90.4963923.8450.000147
100.4472233.46420.000494
110.3977533.0810.001556
120.3486792.70090.004488
130.3006012.32840.011638
140.2519231.95140.027842
150.200241.55110.063074
160.1522571.17940.121451
170.1042750.80770.211225
180.0599920.46470.321916
190.0191080.1480.441415
20-0.024479-0.18960.574873
21-0.068066-0.52720.700012
22-0.111653-0.86490.804719
23-0.15154-1.17380.877447
24-0.158128-1.22490.887292
25-0.164717-1.27590.896545
26-0.171306-1.32690.90522
27-0.177894-1.3780.913334
28-0.184483-1.4290.920905
29-0.191072-1.480.927952
30-0.19766-1.53110.934496
31-0.215063-1.66590.949524
32-0.236371-1.83090.963961
33-0.257979-1.99830.974889
34-0.279588-2.16570.982839
35-0.301196-2.33310.988492
36-0.324006-2.50970.992601
37-0.348318-2.69810.995478
38-0.346751-2.68590.995329
39-0.343476-2.66060.995004
40-0.340503-2.63750.99469
41-0.337529-2.61450.994359
42-0.335757-2.60080.994152
43-0.332578-2.57610.993765
44-0.32679-2.53130.992999
45-0.322204-2.49580.992333
46-0.31501-2.44010.991172
47-0.307816-2.38430.989855
48-0.300621-2.32860.988366
49-0.290518-2.25030.985947
50-0.278708-2.15890.982565
51-0.267198-2.06970.978603
52-0.252779-1.9580.972559
53-0.23836-1.84630.965111
54-0.209142-1.620.944763
55-0.176225-1.3650.91133
56-0.143307-1.110.864296
57-0.10748-0.83250.795796
58-0.071653-0.5550.709529
59-0.035827-0.27750.60883


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
00.9472117.33710
1-0.070945-0.54950.707663
2-0.03442-0.26660.604659
3-0.040033-0.31010.621219
4-0.002078-0.01610.506394
5-0.070172-0.54360.705618
6-0.039873-0.30890.620749
70.0685440.53090.29871
8-0.072054-0.55810.710583
9-0.001621-0.01260.504988
10-0.040693-0.31520.623151
11-0.024561-0.19020.575121
12-0.037411-0.28980.61351
13-0.041371-0.32050.625134
14-0.0604-0.46790.67921
15-0.01095-0.08480.533656
16-0.037162-0.28790.612774
17-0.010848-0.0840.533344
18-0.01062-0.08230.532644
19-0.06868-0.5320.701653
20-0.046728-0.3620.640671
21-0.052043-0.40310.655855
22-0.004943-0.03830.515207
230.2773562.14840.017864
24-0.04622-0.3580.639208
25-0.027012-0.20920.582514
26-0.037089-0.28730.612561
27-0.010218-0.07910.531411
28-0.054265-0.42030.662128
29-0.025111-0.19450.576783
30-0.08186-0.63410.735781
31-0.095676-0.74110.769239
32-0.020671-0.16010.563336
33-0.042725-0.33090.629082
34-0.0387-0.29980.617304
35-0.059292-0.45930.67615
36-0.067794-0.52510.699286
370.2079351.61070.056252
38-0.018454-0.14290.556592
39-0.028255-0.21890.58625
40-0.018945-0.14670.558087
41-0.01657-0.12840.55085
42-0.053918-0.41760.661151
43-0.012278-0.09510.537726
44-0.00112-0.00870.503445
45-0.007327-0.05680.522535
460.089170.69070.246207
47-0.047973-0.37160.64425
480.0049590.03840.484744
49-0.008059-0.06240.524784
50-0.0263-0.20370.580367
510.003030.02350.490675
52-0.009186-0.07120.528245
530.1164290.90190.185369
54-0.00523-0.04050.51609
550.0189520.14680.441892
560.0064930.05030.480026
57-0.00315-0.02440.509692
58-0.020626-0.15980.5632
59NANANA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Nov/29/t119636560624sg61k5s678ozb/11b2p1196365588.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Nov/29/t119636560624sg61k5s678ozb/11b2p1196365588.ps (open in new window)


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


 
Parameters:
par1 = 60 ; par2 = 1 ; par3 = 0 ; par4 = 0 ; 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