Home » date » 2009 » May » 11 »

Ken Soltvedt eigenreeks 6bis

*Unverified author*
R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Mon, 11 May 2009 12:37:04 -0600
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2009/May/11/t1242067063o36bgp37583vo56.htm/, Retrieved Mon, 11 May 2009 20:37:45 +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/2009/May/11/t1242067063o36bgp37583vo56.htm/},
    year = {2009},
}
@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 = {2009},
    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:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
3,42 3,42 3,43 3,47 3,51 3,52 3,52 3,52 3,52 3,52 3,52 3,52 3,52 3,52 3,58 3,6 3,61 3,61 3,61 3,63 3,68 3,69 3,69 3,69 3,69 3,69 3,69 3,69 3,69 3,78 3,79 3,79 3,8 3,8 3,8 3,8 3,81 3,95 3,99 4 4,06 4,16 4,19 4,2 4,2 4,2 4,2 4,2 4,23 4,38 4,43 4,44 4,44 4,44 4,44 4,44 4,45 4,45 4,45 4,45 4,45 4,45 4,45 4,45 4,46 4,46 4,46 4,48 4,58 4,67 4,68 4,68
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.9608358.1530
20.9175137.78540
30.8739387.41560
40.8364347.09740
50.8053816.83390
60.7751066.5770
70.7441026.31390
80.7120046.04160
90.6776195.74980
100.6411085.440
110.6034345.12031e-06
120.5638854.78474e-06
130.521214.42261.7e-05
140.4772774.04986.4e-05
150.4357653.69760.000211
160.3943993.34660.000651
170.3535272.99980.001854
180.3114392.64270.005043
190.267922.27340.012994
200.2229561.89180.031267
210.1773651.5050.068351
220.1313911.11490.134302
230.0876690.74390.22968
240.0520290.44150.330094
250.0177520.15060.440344
26-0.017237-0.14630.442062
27-0.053641-0.45520.325183
28-0.092189-0.78230.218316
29-0.132569-1.12490.132187
30-0.169488-1.43820.077361
31-0.205319-1.74220.042873
32-0.236795-2.00930.024129
33-0.265577-2.25350.013637
34-0.294692-2.50050.007339
35-0.322507-2.73660.003907
36-0.343184-2.9120.002389
37-0.363539-3.08470.001445
38-0.377803-3.20580.001005
39-0.390875-3.31670.000715
40-0.404543-3.43270.000497
41-0.415453-3.52520.00037
42-0.421577-3.57720.000313
43-0.425682-3.6120.000279
44-0.423888-3.59680.000294
45-0.422373-3.5840.000306
46-0.421544-3.57690.000313
47-0.421461-3.57620.000314
48-0.42189-3.57990.00031


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.9608358.1530
2-0.074121-0.62890.26569
3-0.023124-0.19620.422499
40.0564660.47910.316649
50.0559850.47510.318094
6-0.016283-0.13820.445248
7-0.022974-0.19490.422995
8-0.020096-0.17050.432538
9-0.041083-0.34860.364202
10-0.045974-0.39010.348807
11-0.036596-0.31050.378528
12-0.051156-0.43410.332768
13-0.071746-0.60880.272293
14-0.04701-0.39890.345576
15-0.001493-0.01270.494963
16-0.039764-0.33740.368394
17-0.032317-0.27420.392352
18-0.044545-0.3780.353279
19-0.044754-0.37970.352625
20-0.050287-0.42670.335434
21-0.042743-0.36270.358951
22-0.04495-0.38140.35201
23-0.014482-0.12290.451272
240.0636370.540.29544
25-0.02514-0.21330.415839
26-0.042471-0.36040.35981
27-0.035638-0.30240.381609
28-0.0467-0.39630.346541
29-0.060212-0.51090.305487
300.0029190.02480.490153
31-0.035428-0.30060.382287
320.0027710.02350.490652
33-0.011642-0.09880.46079
34-0.044099-0.37420.354682
35-0.02182-0.18510.426816
360.0571170.48470.314696
37-0.037159-0.31530.376722
380.0526740.4470.328126
39-0.006353-0.05390.478579
40-0.029148-0.24730.40268
410.0114540.09720.461422
420.0369460.31350.377405
43-0.013411-0.11380.454857
440.0493070.41840.338455
45-0.027193-0.23070.409087
46-0.019091-0.1620.435882
47-0.017274-0.14660.44194
48-0.032243-0.27360.392592
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/11/t1242067063o36bgp37583vo56/1xwwp1242067021.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/11/t1242067063o36bgp37583vo56/1xwwp1242067021.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/11/t1242067063o36bgp37583vo56/26yda1242067021.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/11/t1242067063o36bgp37583vo56/26yda1242067021.ps (open in new window)


 
Parameters (Session):
par1 = 48 ; par2 = 1 ; par3 = 0 ; par4 = 0 ; par5 = 12 ;
 
Parameters (R input):
par1 = 48 ; 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 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