Home » date » 2009 » Dec » 28 »

paper acf export

*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, 28 Dec 2009 07:10: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/2009/Dec/28/t12620094904o1pu12f7z87fyi.htm/, Retrieved Mon, 28 Dec 2009 15:11:32 +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/28/t12620094904o1pu12f7z87fyi.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 «
4223.4 4627.3 5175.3 4550.7 4639.3 5498.7 5031.0 4033.3 4643.5 4873.2 4608.7 4733.5 3955.6 4590.9 5127.5 5257.3 5416.9 5813.3 5261.9 4669.2 5855.8 5274.6 5516.7 5819.5 5156.0 5377.3 6386.8 5144.0 6138.5 5567.8 5822.6 5145.5 5706.6 6078.5 6074.5 5577.6 5727.5 6067.0 7069.9 5490.0 5948.3 6177.5 6890.1 5756.2 6528.8 6792.0 6657.4 5753.7 5750.9 5968.4 5871.7 7004.9 6363.4 6694.7 7101.6 5364.0 6958.6 6503.3 5316.0 5312.7 4478.0
 
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.5493894.29093.2e-05
20.5038253.9350.000108
30.5328474.16175e-05
40.4636353.62110.000299
50.4394063.43190.000541
60.4026983.14520.001283
70.3565272.78460.003565
80.3948953.08420.001532
90.3104612.42480.009147
100.2988112.33380.011459
110.2890642.25770.013779
120.3806462.97290.002109
130.1520141.18730.119863
140.0798060.62330.267704
150.10410.8130.209677
160.1018360.79540.214742
170.0233560.18240.42793
180.0682590.53310.297943
190.0321540.25110.401279
20-0.012137-0.09480.462394
21-0.024809-0.19380.423502
22-0.119641-0.93440.176885
23-0.066584-0.520.302459
24-0.037104-0.28980.386479
25-0.120665-0.94240.174846
26-0.192851-1.50620.068587
27-0.152787-1.19330.118686
28-0.087228-0.68130.249138
29-0.161878-1.26430.105464
30-0.219724-1.71610.045609
31-0.168593-1.31680.096424
32-0.278887-2.17820.016634
33-0.246564-1.92570.029402
34-0.278684-2.17660.016696
35-0.267839-2.09190.020309
36-0.173348-1.35390.090382
37-0.260862-2.03740.022977
38-0.327466-2.55760.006521
39-0.23893-1.86610.033418
40-0.231302-1.80650.037884
41-0.273594-2.13680.018315
42-0.301794-2.35710.010822
43-0.254531-1.98790.025655
44-0.303216-2.36820.01053
45-0.247094-1.92990.029138
46-0.184457-1.44070.077398
47-0.138249-1.07980.14225
48-0.085171-0.66520.254213
49-0.130992-1.02310.155155
50-0.143345-1.11960.133646
51-0.099079-0.77380.22101
52-0.061536-0.48060.316256
53-0.088468-0.6910.246108
54-0.066896-0.52250.301617
55-0.020182-0.15760.437635
56-0.035202-0.27490.392147
570.007640.05970.476307
580.0298250.23290.408294
590.0392750.30670.380041
600.0412210.32190.374297


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.5493894.29093.2e-05
20.2893232.25970.013712
30.2769662.16320.017228
40.0928490.72520.235558
50.0748750.58480.280423
60.0176250.13770.445482
7-0.012646-0.09880.460822
80.1035460.80870.21091
9-0.053407-0.41710.339027
100.0078920.06160.475525
11-0.004758-0.03720.48524
120.2138021.66980.050037
13-0.293996-2.29620.012557
14-0.216119-1.68790.048265
15-0.083152-0.64940.259248
160.0735260.57430.283953
17-0.058578-0.45750.324465
180.1029550.80410.21223
190.0210790.16460.43489
20-0.115911-0.90530.184436
21-0.000228-0.00180.499292
22-0.180376-1.40880.081988
230.0653660.51050.305764
240.0160360.12520.450371
250.1607911.25580.106986
26-0.153888-1.20190.117023
27-0.014159-0.11060.456155
280.0564330.44080.330473
29-0.045813-0.35780.36086
30-0.206329-1.61150.056119
310.0122050.09530.462184
32-0.095566-0.74640.229149
330.0102590.08010.4682
340.0341580.26680.395267
35-0.055531-0.43370.333015
360.0955830.74650.229109
37-0.126289-0.98640.163928
38-0.000713-0.00560.497787
39-0.110156-0.86030.196484
400.0776690.60660.273179
41-0.039788-0.31080.378522
420.0533630.41680.339151
43-0.047244-0.3690.356708
44-0.059811-0.46710.321032
450.0823430.64310.261278
460.085060.66430.254489
470.1342731.04870.149226
48-0.017661-0.13790.445372
490.0263960.20620.418677
50-0.02158-0.16850.433356
51-0.02705-0.21130.41669
52-0.102869-0.80340.212422
530.0444040.34680.364964
54-0.003458-0.0270.489272
550.0715990.55920.289035
56-0.037684-0.29430.384755
57-0.027227-0.21260.416156
58-0.062003-0.48430.314967
59-0.083661-0.65340.257972
60-0.021087-0.16470.434864
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/28/t12620094904o1pu12f7z87fyi/1yd8e1262009433.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/28/t12620094904o1pu12f7z87fyi/1yd8e1262009433.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/28/t12620094904o1pu12f7z87fyi/2si4k1262009433.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/28/t12620094904o1pu12f7z87fyi/2si4k1262009433.ps (open in new window)


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