Home » date » 2009 » Dec » 13 »

paper - ACF link 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: Sun, 13 Dec 2009 05:15:54 -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/13/t12607066727443py20xtludgw.htm/, Retrieved Sun, 13 Dec 2009 13:17:54 +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/13/t12607066727443py20xtludgw.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 «
1213,8 1245,6 1306,3 1255,8 1257,6 1287,8 1300,4 1320,9 1370,8 1327,3 1320 1345,3 1346,7 1395,4 1462 1491,6 1461,8 1477,9 1490,3 1521,1 1561,9 1552,6 1523,6 1548,3 1552,4 1587 1621,3 1648,7 1641,8 1650,6 1688,6 1670,7 1682,2 1678,9 1650,6 1662,4 1664,5 1683,2 1736,2 1747,6 1749 1759,7 1793,6 1817,4 1858,4 1839,9 1809,1 1877,7 1880,3 1930,9 2039,3 1992,7 1987,8 1984,4 2016,5 2016,7 2064,1 2031,5 2000,3 2057,8 2041,2 2093,2 2158,3 2128,8 2131,9 2170,3 2190,8 2217,7 2254,4 2223,3 2210,5 2250,8 2249,1 2288,6 2329,2 2313,8 2309,8 2345,9 2361,3 2372 2410,4 2398,5 2362,3 2419,1 2421,6 2465 2480,5 2506,1 2506,6 2525,8 2550 2578,3 2807,8 2815,3 2767,7 2815,4 2838,8 2864 2948,6 2922,8 2917,2 2936,8 2993,4 3007,8 3046,3 3011,5 2958,6 3019,8 2998,5 3040,4 3166 3110 3099,2 3150,3 3163,6 3182,6 3244,4 3223,2 3143,6 3217 3182,3 3217,2 3262,5 3227,9 3171,6 3219 3195,4 3221,6 3262,1 3179,5 3133,6 etc...
 
Output produced by software:


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


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.97690711.76350
20.95500911.49980
30.9353211.26270
40.91386411.00440
50.8925310.74750
60.87282210.51020
70.85163710.25510
80.83143310.01180
90.8129079.78870
100.7927119.54550
110.7738959.31890
120.7562699.10670
130.7368088.87230
140.7185138.6520
150.7033198.46910
160.686818.27030
170.6687758.05310
180.6513667.84350
190.6328177.62010
200.6140547.39420
210.5973017.19250
220.5784486.96540
230.5585346.72560
240.5395466.4970
250.5194736.25530
260.4989396.0080
270.4806075.78730
280.4604515.54460
290.4399615.29780
300.4203525.06171e-06
310.4001664.81862e-06
320.3796164.57125e-06
330.3606584.34291.3e-05
340.3406094.10153.4e-05
350.319163.84329.1e-05
360.2999773.61220.000209


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.97690711.76350
20.0144770.17430.430928
30.0378740.45610.324511
4-0.046471-0.55960.288312
5-0.008098-0.09750.461225
60.021070.25370.400038
7-0.039735-0.47850.316515
80.0116540.14030.444295
90.021730.26170.396978
10-0.041103-0.49490.310693
110.0203030.24450.4036
120.0096430.11610.453862
13-0.042193-0.50810.306087
140.0140810.16960.432797
150.0506030.60930.271625
16-0.025762-0.31020.378419
17-0.041071-0.49460.310828
18-0.008729-0.10510.458214
19-0.029503-0.35530.361455
20-0.013591-0.16370.435115
210.0241660.2910.385734
22-0.047779-0.57530.282976
23-0.031561-0.380.352234
24-0.006858-0.08260.467147
25-0.029092-0.35030.363304
26-0.01817-0.21880.413558
270.0205340.24730.402528
28-0.044178-0.5320.297779
29-0.012153-0.14630.441927
30-0.01266-0.15240.439524
31-0.02271-0.27350.392441
32-0.017484-0.21050.416773
330.0062470.07520.470069
34-0.029574-0.35610.361133
35-0.037682-0.45370.325344
360.015830.19060.424544
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/13/t12607066727443py20xtludgw/1swo01260706553.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/13/t12607066727443py20xtludgw/1swo01260706553.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/13/t12607066727443py20xtludgw/202kv1260706553.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/13/t12607066727443py20xtludgw/202kv1260706553.ps (open in new window)


 
Parameters (Session):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = No Linear Trend ;
 
Parameters (R input):
par1 = 36 ; par2 = 1 ; par3 = 0 ; par4 = 0 ; 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