Home » date » 2008 » Dec » 23 »

ACF productie

*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, 22 Dec 2008 17:38: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/2008/Dec/23/t12299927509rwz2yr0t7dqwdd.htm/, Retrieved Tue, 23 Dec 2008 01:39:10 +0100
 
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/2008/Dec/23/t12299927509rwz2yr0t7dqwdd.htm/},
    year = {2008},
}
@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 = {2008},
    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 «
98.6 98 106.8 96.6 100.1 107.7 91.5 97.8 107.4 117.5 105.6 97.4 99.5 98 104.3 100.6 101.1 103.9 96.9 95.5 108.4 117 103.8 100.8 110.6 104 112.6 107.3 98.9 109.8 104.9 102.2 123.9 124.9 112.7 121.9 100.6 104.3 120.4 107.5 102.9 125.6 107.5 108.8 128.4 121.1 119.5 128.7 108.7 105.5 119.8 111.3 110.6 120.1 97.5 107.7 127.3 117.2 119.8 116.2
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time4 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.1734161.20150.117734
20.1136460.78740.217471
30.3376382.33920.011767
4-0.037148-0.25740.398998
50.12790.88610.189987
60.258461.79070.039827
7-0.112313-0.77810.220156
80.1964521.36110.089926
90.2231511.5460.064332
10-0.150604-1.04340.150992
110.0228310.15820.437491
12-0.16127-1.11730.134711
13-0.244235-1.69210.048554
140.1089320.75470.227057
15-0.094023-0.65140.258945
16-0.134039-0.92870.178858
170.2035741.41040.082435
18-0.209045-1.44830.077016
19-0.17308-1.19910.118181
20-0.038313-0.26540.395904
21-0.224526-1.55560.063191
22-0.127111-0.88060.191448
230.0284840.19730.422197
24-0.295514-2.04740.023058
25-0.127955-0.88650.189884
26-0.079941-0.55390.291126
27-0.222635-1.54250.064764
28-0.067416-0.46710.321282
29-0.12999-0.90060.18615
30-0.131311-0.90980.18375
31-0.000516-0.00360.49858
32-0.031866-0.22080.413101
33-0.041424-0.2870.387676
34-0.005687-0.03940.484368
35-0.041636-0.28850.387118
360.0407050.2820.389573
370.1085960.75240.227749
380.0496460.3440.366191
390.0360240.24960.401988
400.1016870.70450.24226
410.0298610.20690.418489
420.0782620.54220.295089
430.0402690.2790.390726
440.0114390.07920.468582
450.0512970.35540.361924
460.0243640.16880.433333
470.0149650.10370.458927
48NANANA
49NANANA
50NANANA
51NANANA
52NANANA
53NANANA
54NANANA
55NANANA
56NANANA
57NANANA
58NANANA
59NANANA
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.1734161.20150.117734
20.0861640.5970.276669
30.3164832.19270.016606
4-0.162095-1.1230.133506
50.1307310.90570.184802
60.1430350.9910.163333
7-0.155552-1.07770.143277
80.1807691.25240.108245
90.0896760.62130.268674
10-0.158151-1.09570.139338
11-0.117073-0.81110.210655
12-0.251947-1.74550.043645
13-0.05884-0.40770.342669
140.1041070.72130.23712
15-0.011241-0.07790.469124
160.0126490.08760.465267
170.1736651.20320.117403
18-0.189911-1.31570.097255
19-0.087649-0.60730.273273
20-0.09821-0.68040.249755
210.0964390.66820.253619
22-0.128811-0.89240.188308
23-0.030605-0.2120.416487
24-0.22009-1.52480.066933
25-0.154984-1.07380.14415
26-0.08181-0.56680.286747
270.1152190.79830.214326
280.0624630.43280.333566
290.0167730.11620.453987
300.0279970.1940.423509
31-0.166985-1.15690.126517
320.0375480.26010.397935
330.1095590.7590.225768
34-0.077248-0.53520.297495
350.0541710.37530.354543
36-0.072001-0.49880.310087
37-0.020041-0.13880.445075
38-0.05053-0.35010.363903
390.0169160.11720.453596
400.0660310.45750.324696
410.0605260.41930.338421
42-0.004491-0.03110.487653
43-0.110121-0.76290.224615
44-0.138577-0.96010.17091
45-0.001297-0.0090.496433
46-0.073492-0.50920.306485
47-0.000109-8e-040.499699
48NANANA
49NANANA
50NANANA
51NANANA
52NANANA
53NANANA
54NANANA
55NANANA
56NANANA
57NANANA
58NANANA
59NANANA
60NANANA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/23/t12299927509rwz2yr0t7dqwdd/1wai21229992709.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/23/t12299927509rwz2yr0t7dqwdd/1wai21229992709.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/23/t12299927509rwz2yr0t7dqwdd/2cqkp1229992709.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/23/t12299927509rwz2yr0t7dqwdd/2cqkp1229992709.ps (open in new window)


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