Home » date » 2009 » Nov » 25 »

ws 8 d=2 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: Wed, 25 Nov 2009 14:12:55 -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/Nov/25/t12591841849ogxzxfai7b4s2e.htm/, Retrieved Wed, 25 Nov 2009 22:23:06 +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/Nov/25/t12591841849ogxzxfai7b4s2e.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 «
100.01 103.84 104.48 95.43 104.80 108.64 105.65 108.42 115.35 113.64 115.24 100.33 101.29 104.48 99.26 100.11 103.52 101.18 96.39 97.56 96.39 85.10 79.77 79.13 80.84 82.75 92.55 96.60 96.92 95.32 98.52 100.22 104.91 103.10 97.13 103.42 111.72 118.11 111.62 100.22 102.03 105.76 107.68 110.77 105.44 112.26 114.07 117.90 124.72 126.42 134.73 135.79 143.36 140.37 144.74 151.98 150.92 163.38 154.43 146.66 157.95 162.10 180.42 179.57 171.58 185.43 190.64 203.00 202.36 193.41 186.17 192.24 209.60 206.41 209.82 230.37 235.80 232.07 244.64 242.19 217.48 209.39 211.73 221.00 203.11 214.71 224.19 238.04 238.36 246.24 259.87 249.97 266.48 282.98 306.31 301.73 314.62 332.62 355.51 370.32 408.13 433.58 440.51 386.29 342.84 254.97 203.42 170.09 174.03 167.85 177.01 188.19 211.20 240.91 230.26 251.25 241.66
 
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.321274-3.26060.000754
2-0.031363-0.31830.375451
3-0.108156-1.09770.137456
40.1410221.43120.077697
5-0.124603-1.26460.104437
6-0.089813-0.91150.18208
70.1496331.51860.065962
80.0658250.6680.252798
9-0.148699-1.50910.067163
100.0039940.04050.483873
110.2047882.07840.02008
12-0.279131-2.83290.002775
13-0.106308-1.07890.141575
140.0110860.11250.455319
150.2595232.63390.004871
16-0.168189-1.70690.045424
170.0303570.30810.379317
18-0.027652-0.28060.389775
190.0920110.93380.176293
20-0.15566-1.57980.058612
210.1318431.33810.091912
220.0030980.03140.487491
23-0.021554-0.21880.413638
24-0.123081-1.24910.107224
250.138181.40240.081905
260.0985160.99980.159869
27-0.092048-0.93420.176197
28-0.016183-0.16420.434933
29-0.053125-0.53920.29547
300.1147711.16480.123396
31-0.087845-0.89150.18736
320.0436230.44270.329447
330.0066450.06740.47318
34-0.084479-0.85740.196615
350.0687180.69740.243559
36-0.010339-0.10490.458317


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.321274-3.26060.000754
2-0.15007-1.5230.065406
3-0.191604-1.94460.027277
40.0348950.35410.361976
5-0.102922-1.04450.14934
6-0.192156-1.95020.026937
70.0558880.56720.285906
80.0947960.96210.169133
9-0.09795-0.99410.161256
10-0.033861-0.34370.365904
110.1875171.90310.02991
12-0.231516-2.34960.010349
13-0.251951-2.5570.006007
14-0.161743-1.64150.05187
150.0629770.63910.262072
16-0.054743-0.55560.289852
17-0.004126-0.04190.48334
18-0.150344-1.52580.065059
19-0.01974-0.20030.420805
20-0.003526-0.03580.485762
210.0820740.8330.203397
22-0.050692-0.51450.304015
23-0.003331-0.03380.486548
24-0.13676-1.3880.084072
25-0.069794-0.70830.240171
260.0311830.31650.376141
270.0703690.71420.238369
280.0261150.2650.395755
29-0.119293-1.21070.114391
30-0.04025-0.40850.341881
310.0303610.30810.379303
320.0059670.06060.475913
330.0647910.65760.256145
34-0.150575-1.52820.064768
350.057110.57960.281722
36-0.085526-0.8680.193709
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Nov/25/t12591841849ogxzxfai7b4s2e/1jo4u1259183573.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/25/t12591841849ogxzxfai7b4s2e/1jo4u1259183573.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/25/t12591841849ogxzxfai7b4s2e/23ora1259183573.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/25/t12591841849ogxzxfai7b4s2e/23ora1259183573.ps (open in new window)


 
Parameters (Session):
par1 = 36 ; par2 = 1 ; par3 = 2 ; par4 = 1 ; par5 = 12 ; par6 = MA ; par7 = 0.95 ;
 
Parameters (R input):
par1 = 36 ; par2 = 1 ; par3 = 2 ; par4 = 1 ; par5 = 12 ; par6 = MA ; 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