Home » date » 2009 » Dec » 07 »

acf na diff d=1

*The author of this computation has been verified*
R Software Module: /rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Mon, 07 Dec 2009 06:41:12 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2009/Dec/07/t12601933341szi95ag7e62qra.htm/, Retrieved Mon, 07 Dec 2009 14:42:16 +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/2009/Dec/07/t12601933341szi95ag7e62qra.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 «
104.1 90.2 99.2 116.5 98.4 90.6 130.5 107.4 106 196.5 107.8 90.5 123.8 114.7 115.3 197 88.4 93.8 111.3 105.9 123.6 171 97 99.2 126.6 103.4 121.3 129.6 110.8 98.9 122.8 120.9 133.1 203.1 110.2 119.5 135.1 113.9 137.4 157.1 126.4 112.2 128.8 136.8 156.5 215.2 146.7 130.8 133.1 153.4 159.9 174.6 145 112.9 137.8 150.6 162.1 226.4 112.3 126.3
 
Output produced by software:


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


Autocorrelation Function
Time lag kACF(k)T-STATP-value
1-0.400133-3.07350.001601
2-0.206669-1.58750.058877
30.258691.9870.025784
4-0.296928-2.28080.013095
5-0.129375-0.99380.162201
60.5921744.54861.4e-05
7-0.208768-1.60360.057074
8-0.233635-1.79460.038922
90.2300211.76680.041215
10-0.218382-1.67740.049375
11-0.150505-1.15610.12616
120.5833294.48061.7e-05
13-0.240974-1.8510.034592
14-0.163223-1.25370.10744
150.1805271.38670.085383
16-0.177078-1.36020.089477
17-0.110755-0.85070.199181
180.3966333.04660.001729
19-0.122359-0.93990.175562
20-0.190357-1.46220.074502
210.1963461.50820.068425
22-0.161318-1.23910.110107
23-0.15993-1.22840.112078
240.4874963.74450.000206
25-0.213931-1.64320.052827
26-0.086355-0.66330.25486
270.1223560.93980.175568
28-0.150618-1.15690.125984
29-0.071541-0.54950.292361
300.283152.17490.016828
31-0.069887-0.53680.296707
32-0.128414-0.98640.16399
330.0949980.72970.234233
34-0.087398-0.67130.252319
35-0.09962-0.76520.223602
360.3086472.37080.010519
37-0.092134-0.70770.240962
38-0.106855-0.82080.207542
390.0617150.4740.318609
40-0.044407-0.34110.367122
41-0.092738-0.71230.239533
420.2585461.98590.025847
43-0.111137-0.85370.198373
44-0.066448-0.51040.305838
450.0608110.46710.321075
46-0.051769-0.39760.346164
47-0.04002-0.30740.37981
480.1778111.36580.088594
49-0.118703-0.91180.182799
50-0.012372-0.0950.462305
510.056140.43120.333941
52-0.04844-0.37210.355585
530.0024670.01890.492474
540.0310460.23850.406171
55-0.018567-0.14260.443538
56-0.017251-0.13250.447517
570.0181040.13910.444938
58-0.00201-0.01540.493867
59NANANA
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.400133-3.07350.001601
2-0.436693-3.35430.000698
3-0.051276-0.39390.347553
4-0.382459-2.93770.002355
5-0.616248-4.73357e-06
60.0285270.21910.413658
70.1893341.45430.075581
8-0.074107-0.56920.28568
9-0.126039-0.96810.168467
10-0.043037-0.33060.37107
11-0.282121-2.1670.017142
120.0520190.39960.345458
130.03230.24810.40246
140.0869710.6680.253357
150.0097870.07520.470164
160.1334651.02520.154735
170.0558250.42880.334815
18-0.108802-0.83570.203341
19-0.067239-0.51650.303728
20-0.066725-0.51250.305099
21-0.017455-0.13410.446901
22-0.058247-0.44740.328112
23-0.255846-1.96520.027053
240.0431490.33140.370747
25-0.027269-0.20950.417407
260.0815460.62640.266744
27-0.041248-0.31680.376244
280.0080390.06170.475486
290.1116120.85730.197371
30-0.067806-0.52080.302218
31-0.028446-0.21850.413897
32-0.008896-0.06830.472877
33-0.092521-0.71070.240045
34-0.034041-0.26150.397318
35-0.05455-0.4190.338367
36-0.022825-0.17530.430713
37-0.001972-0.01520.493982
38-0.051296-0.3940.347495
39-0.044141-0.33910.367887
40-0.012184-0.09360.462876
41-0.025097-0.19280.4239
420.1570851.20660.116202
43-0.073172-0.5620.288108
440.0802840.61670.26991
450.0596180.45790.32434
460.0878660.67490.251185
470.1627461.25010.108104
48-0.039389-0.30260.381648
49-0.105646-0.81150.210175
50-0.118061-0.90680.184089
510.0017010.01310.49481
52-0.011191-0.0860.465895
530.0308240.23680.406829
54-0.118833-0.91280.182537
550.0151650.11650.453832
56-0.021711-0.16680.434062
57-0.055823-0.42880.33482
58-0.131956-1.01360.157463
59NANANA
60NANANA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/07/t12601933341szi95ag7e62qra/1hftu1260193270.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/07/t12601933341szi95ag7e62qra/1hftu1260193270.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/07/t12601933341szi95ag7e62qra/2n5jq1260193270.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/07/t12601933341szi95ag7e62qra/2n5jq1260193270.ps (open in new window)


 
Parameters (Session):
par1 = 60 ; par2 = 1 ; par3 = 1 ; par4 = 0 ; par5 = 12 ; par6 = White Noise ; par7 = 0.95 ;
 
Parameters (R input):
par1 = 60 ; par2 = 1 ; par3 = 1 ; par4 = 0 ; par5 = 12 ; par6 = White Noise ; par7 = 0.95 ;
 
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 (par6 == 'White Noise') par6 <- 'white' else par6 <- 'ma'
par7 <- as.numeric(par7)
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='time lag', ylab='ACF', ci.type=par6, ci=par7, sub=paste('(lambda=',par2,', d=',par3,', D=',par4,', CI=', par7, ', CI type=',par6,')',sep=''))
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