Home » date » 2007 » Nov » 29 » attachments

autocorreltatie f

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 07:44:20 -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/t11963468861li7v5b57o2qp4d.htm/, Retrieved Thu, 29 Nov 2007 15:34:46 +0100
 
User-defined keywords:
stat time serie
 
Dataseries X:
» Textbox « » Textfile « » CSV «
103.52 103.5 103.52 103.53 103.53 103.53 103.52 103.54 103.59 103.59 103.59 103.59 103.63 103.74 103.7 103.72 103.81 103.8 104.22 106.91 107.06 107.17 107.25 107.28 107.24 107.23 107.34 107.34 107.3 107.24 107.3 107.32 107.28 107.33 107.33 107.33 107.28 107.28 107.29 107.29 107.23 107.24 107.24 107.2 107.23 107.2 107.21 107.24 107.21 113.89 114.05 114.05 114.05 114.05 115.12 115.68 116.05 116.18 116.35 116.44 117 117.61 118.17 118.33 118.33 118.42 118.5 118.67 119.09 119.14 119.23 119.33
 
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
018.42610
10.0137140.11560.454166
2-0.034906-0.29410.61524
3-0.044053-0.37120.644201
4-0.051106-0.43060.665976
50.0919360.77470.220553
60.0337710.28460.388406
70.0138540.11670.453701
8-0.030551-0.25740.601205
9-0.051242-0.43180.666392
10-0.053732-0.45280.673946
110.0186250.15690.437869
120.0229530.19340.423598
130.0064590.05440.478374
14-0.035211-0.29670.616216
15-0.064933-0.54710.707001
16-0.045062-0.37970.647348
17-0.059394-0.50050.690851
18-0.036533-0.30780.620443
190.0127340.10730.457429
20-0.05156-0.43450.667362
21-0.045866-0.38650.649849
22-0.038059-0.32070.625306
23-0.007617-0.06420.525497
24-0.025147-0.21190.583599
25-0.029336-0.24720.597263
26-0.023537-0.19830.578321
27-0.015389-0.12970.551402
28-0.008723-0.07350.529194
29-0.008496-0.07160.528433
300.320162.69770.004358
310.0336970.28390.388643
32-0.029673-0.250.598357
33-0.017528-0.14770.558498
34-0.024086-0.2030.580123
350.0212320.17890.429262
360.0193050.16270.435622
37-0.00543-0.04580.518181
38-0.023345-0.19670.57769
39-0.023955-0.20180.579693
40-0.028992-0.24430.596146
410.0023650.01990.492077
420.0034740.02930.488364
43-0.007149-0.06020.523931
44-0.02829-0.23840.593862
45-0.039908-0.33630.631171
46-0.035057-0.29540.615723
47-0.033968-0.28620.612227


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
00.0137140.11560.454166
1-0.035101-0.29580.615864
2-0.043137-0.36350.641337
3-0.051327-0.43250.666653
40.090630.76370.2238
50.02630.22160.412628
60.0150720.1270.449651
7-0.024455-0.20610.581334
8-0.038459-0.32410.626579
9-0.059509-0.50140.69119
100.0112320.09460.462433
110.0097890.08250.467246
120.002910.02450.490252
13-0.029877-0.25170.599017
14-0.04902-0.41310.659593
15-0.044528-0.37520.645686
16-0.070478-0.59390.722754
17-0.054236-0.4570.675468
180.0012450.01050.495831
19-0.054789-0.46170.677133
20-0.041913-0.35320.637494
21-0.032613-0.27480.607867
22-0.009327-0.07860.531212
23-0.048407-0.40790.657709
24-0.043026-0.36250.640988
25-0.03435-0.28940.613454
26-0.023585-0.19870.57848
27-0.022518-0.18970.574972
28-0.01848-0.15570.56165
290.318182.6810.00456
300.0254780.21470.415315
31-0.021082-0.17760.570245
32-0.002022-0.0170.506774
33-0.006243-0.05260.520903
34-0.062467-0.52640.699861
35-0.021683-0.18270.572223
36-0.023555-0.19850.578379
37-0.023403-0.19720.577882
38-0.014185-0.11950.547402
39-0.010599-0.08930.535455
40-0.026055-0.21950.586572
41-0.040431-0.34070.632822
42-0.037782-0.31840.624427
43-0.026782-0.22570.588947
44-0.022233-0.18730.574034
45-0.025769-0.21710.585636
46-0.004592-0.03870.515379
47-0.016569-0.13960.555319
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Nov/29/t11963468861li7v5b57o2qp4d/1qpzg1196347455.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Nov/29/t11963468861li7v5b57o2qp4d/1qpzg1196347455.ps (open in new window)


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


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