Home » date » 2010 » Dec » 28 »

paper

*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, 28 Dec 2010 16:33:51 +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/28/t129355395335p7ruyvu9tjt4h.htm/, Retrieved Tue, 28 Dec 2010 17:32:35 +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/28/t129355395335p7ruyvu9tjt4h.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 «
36845 35338 35022 34777 26887 23970 22780 17351 21382 24561 17409 11514 31514 27071 29462 26105 22397 23843 21705 18089 20764 25316 17704 15548 28029 29383 36438 32034 22679 24319 18004 17537 20366 22782 19169 13807 29743 25591 29096 26482 22405 27044 17970 18730 19684 19785 18479 10698 31956 29506 34506 27165 26736 23691 18157 17328 18205 20995 17382 9367 31124 26551 30651 25859 25100 25778 20418 18688 20424 24776 19814 12738 31566 30111 30019 31934 25826 26835 20205 17789 20520 22518 15572 11509
 
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'George Udny Yule' @ 72.249.76.132


Autocorrelation Function
Time lag kACF(k)T-STATP-value
1-0.422295-3.55830.000335
20.1669721.40690.081905
3-0.198065-1.66890.049768
4-0.029929-0.25220.400813
5-0.032583-0.27460.392229
60.0748890.6310.265024
7-0.094539-0.79660.21417
80.0874730.73710.231757
90.2235171.88340.031872
10-0.100138-0.84380.200813
11-0.063439-0.53450.297318
12-0.201754-1.70.046753
13-0.093858-0.79090.215828
140.0924980.77940.219168
150.1107940.93360.176846
16-0.035186-0.29650.383862
170.0398690.33590.368953
180.0563020.47440.318331
19-0.108121-0.9110.182677
20-0.033651-0.28350.388792
210.0409170.34480.365644
22-0.219948-1.85330.033996
230.3732263.14490.001213
24-0.139331-1.1740.122154
250.1448761.22080.11311
26-0.079282-0.6680.253136
270.0683450.57590.283258
28-0.236698-1.99450.024971
290.2380822.00610.024327
30-0.178382-1.50310.068628
310.0939260.79140.215664
320.0456890.3850.3507
33-0.083801-0.70610.241212
340.0719630.60640.273101
35-0.009791-0.08250.467241
36-0.103072-0.86850.194023
37-0.008692-0.07320.47091
38-0.002241-0.01890.492493
390.0166430.14020.444434
400.0430720.36290.358867
41-0.038966-0.32830.371812
42-0.029985-0.25270.40063
430.0412480.34760.364598
440.0856440.72160.23644
45-0.134805-1.13590.129911
460.0867420.73090.233623
47-0.063439-0.53450.297316
480.066290.55860.289105
490.0307530.25910.398142
500.0390770.32930.371461
51-0.118349-0.99720.161021
520.1222781.03030.153175
53-0.079146-0.66690.253499
540.0683630.5760.283206
55-0.068336-0.57580.283282
56-0.029932-0.25220.400802
570.021930.18480.426963
580.028360.2390.405909
590.0077780.06550.473966
60-0.075443-0.63570.26351


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.422295-3.55830.000335
2-0.013827-0.11650.453791
3-0.161188-1.35820.089351
4-0.211714-1.78390.039354
5-0.14869-1.25290.107179
6-0.019046-0.16050.436477
7-0.144249-1.21550.114108
8-0.066302-0.55870.289073
90.330262.78280.00345
100.1667891.40540.082133
11-0.096396-0.81220.209683
12-0.243318-2.05020.022018
13-0.307614-2.5920.005788
14-0.205825-1.73430.043602
15-0.032102-0.27050.393781
16-0.04668-0.39330.347628
17-0.108058-0.91050.182816
180.0007110.0060.497617
19-0.061193-0.51560.30386
20-0.094571-0.79690.214092
210.2703172.27770.012878
22-0.043803-0.36910.356578
230.1063620.89620.186581
24-0.085876-0.72360.235843
25-0.100337-0.84550.20035
26-0.044454-0.37460.354547
270.1612141.35840.089317
28-0.092586-0.78010.21895
290.0622060.52420.300901
300.0170330.14350.443141
31-0.021664-0.18250.427838
32-0.026696-0.22490.411335
33-0.067683-0.57030.285136
340.0068260.05750.477147
350.0838940.70690.240971
36-0.056814-0.47870.316804
37-0.011542-0.09730.461398
38-0.106237-0.89520.186862
390.0057150.04820.480863
400.0466140.39280.347832
41-0.096363-0.8120.209761
42-0.041497-0.34970.363814
430.0185910.15670.437982
440.0237830.20040.420869
45-0.00429-0.03620.485631
460.0317960.26790.394769
470.0698620.58870.278977
480.0134330.11320.4551
490.0340690.28710.387447
50-0.005536-0.04660.481464
510.0854770.72020.236869
52-0.0701-0.59070.278307
53-0.091052-0.76720.222747
540.0551810.4650.321689
550.0090950.07660.469563
56-0.017102-0.14410.442915
570.0403990.34040.367276
58-0.098515-0.83010.204631
590.0783170.65990.255723
60-0.039485-0.33270.370169
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/28/t129355395335p7ruyvu9tjt4h/10ds31293554029.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/28/t129355395335p7ruyvu9tjt4h/10ds31293554029.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/28/t129355395335p7ruyvu9tjt4h/20ds31293554029.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/28/t129355395335p7ruyvu9tjt4h/20ds31293554029.ps (open in new window)


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