Home » date » 2010 » Dec » 21 »

*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: Tue, 21 Dec 2010 16:00:40 +0000
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2010/Dec/21/t12929471101eoug79li916asu.htm/, Retrieved Tue, 21 Dec 2010 16:58:30 +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/2010/Dec/21/t12929471101eoug79li916asu.htm/},
    year = {2010},
}
@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 = {2010},
    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 «
77.33 75.28 77.43 73.25 68.41 72.87 65.61 69.04 57.84 51.07 47.48 44.01 45.29 43.8 55.48 75.73 101.42 116.07 135.81 132.69 124.05 109.65 102.79 94.09 92.23 90.6 92.6 81.71 76.36 71.44 75.26 70.3 67.68 67.65 61.92 58.34 55.04 62.5 59.44 60.03 64.24 74.33 74.41 69.75 72.03 68.18 63.01 61.71 63.52
 
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'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.5592673.87470.000162
20.4189932.90290.002785
30.0764780.52990.299328
4-0.066637-0.46170.323201
5-0.303871-2.10530.020263
6-0.335604-2.32510.01217
7-0.222988-1.54490.064469
8-0.185052-1.28210.102986
9-0.196198-1.35930.090202
10-0.156375-1.08340.142022
11-0.026396-0.18290.427833
12-0.092226-0.6390.262943
13-0.070913-0.49130.312728
14-0.048027-0.33270.370389
150.0057870.04010.484092
16-0.064011-0.44350.329704
17-0.070198-0.48630.314469
18-0.061912-0.42890.334943
190.0080590.05580.477854
20-0.078643-0.54490.294189
210.0288210.19970.421287
220.055430.3840.351325
230.1741641.20660.116742
240.1242880.86110.196734
250.1593041.10370.137615
260.1211550.83940.202706
27-0.005706-0.03950.484315
28-0.040946-0.28370.388936
29-0.091689-0.63520.264144
30-0.032073-0.22220.412548
31-0.083831-0.58080.282047
32-0.015458-0.10710.457579
33-0.033135-0.22960.409702
340.012320.08540.466166
350.0114960.07960.468425
360.0012440.00860.49658
370.0165410.11460.454621
38-0.010214-0.07080.471939
390.016840.11670.453803
40-0.006969-0.04830.480846
41-0.004328-0.030.488102
420.0098850.06850.472841
430.0065730.04550.481934
44-0.003626-0.02510.490031
45-0.000655-0.00450.4982
460.0022270.01540.493878
47-0.001193-0.00830.496719
48NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.5592673.87470.000162
20.1545561.07080.144809
3-0.310183-2.1490.018353
4-0.097643-0.67650.250988
5-0.22183-1.53690.065444
6-0.072396-0.50160.30913
70.2038071.4120.082197
8-0.110455-0.76530.223934
9-0.273277-1.89330.032176
10-0.05297-0.3670.357621
110.1502591.0410.15154
12-0.180549-1.25090.108521
13-0.096078-0.66560.254412
14-0.009631-0.06670.473538
15-0.088893-0.61590.270445
16-0.100123-0.69370.245615
17-0.051885-0.35950.36041
18-0.153824-1.06570.14594
190.0450850.31240.378061
20-0.135597-0.93940.176104
21-0.012811-0.08880.464823
22-0.044025-0.3050.380837
230.109650.75970.225581
24-0.054841-0.380.352829
25-0.090701-0.62840.266362
26-0.052675-0.36490.358378
27-0.167403-1.15980.125933
280.0891640.61770.26983
29-0.001572-0.01090.495676
30-0.093547-0.64810.260001
31-0.048496-0.3360.369171
32-0.01569-0.10870.456945
33-0.091932-0.63690.263601
34-0.00705-0.04880.480624
350.1167140.80860.211361
36-0.193704-1.3420.092952
37-0.061277-0.42450.336535
380.0413980.28680.387745
39-0.012406-0.0860.46593
40-0.032203-0.22310.4122
41-0.015048-0.10430.4587
42-0.056798-0.39350.347844
43-0.018516-0.12830.449232
440.0088450.06130.475696
45-0.030471-0.21110.416849
46-0.06687-0.46330.322627
47-0.012375-0.08570.466016
48NANANA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/21/t12929471101eoug79li916asu/139uh1292947236.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t12929471101eoug79li916asu/139uh1292947236.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/21/t12929471101eoug79li916asu/239uh1292947236.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t12929471101eoug79li916asu/239uh1292947236.ps (open in new window)


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