Home » date » 2010 » Dec » 03 »

W9 d=1 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: Fri, 03 Dec 2010 09:48:24 +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/03/t1291369584k0qvjwgh90zx7q1.htm/, Retrieved Fri, 03 Dec 2010 10:46:26 +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/03/t1291369584k0qvjwgh90zx7q1.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 «
17848 19592 21092 20889 25890 24965 22225 20977 22897 22785 22769 19637 20203 20450 23083 21738 26766 25280 22574 22729 21378 22902 24989 21116 15169 15846 20927 18273 22538 15596 14034 11366 14861 15149 13577 13026 13190 13196 15826 14733 16307 15703 14589 12043 15057 14053 12698 10888 10045 11549 13767 12424 13116 14211 12266 12602 15714 13742 12745 10491 10057 10900 11771 11992 11993 14504 11727 11477 13578 11555 11846 11397 10066 10269 14279 13870 13695 14420 11424 9704 12464 14301 13464 9893 11572 12380 16692 16052 16459 14761 13654 13480 18068 16560 14530 10650 11651 13735 13360 17818 20613 16231 13862 12004 17734 15034 12609 12320 10833 11350 13648 14890 16325 18045 15616 11926 16855 15083 12520 12355
 
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'George Udny Yule' @ 72.249.76.132


Autocorrelation Function
Time lag kACF(k)T-STATP-value
1-0.212943-2.20270.01488
2-0.26093-2.69910.004041
30.0039490.04080.483747
40.0645230.66740.252968
50.070250.72670.234506
6-0.014961-0.15480.438653
70.0356740.3690.356421
8-0.162582-1.68180.047765
90.0446660.4620.3225
100.1046761.08280.140671
110.0526450.54460.293593
12-0.321073-3.32120.000613
130.0180190.18640.426246
140.1896191.96140.026213
15-0.068069-0.70410.241447
160.0699790.72390.235364
17-0.111047-1.14870.126624
180.0470940.48710.313575
190.0440910.45610.32463
20-0.037725-0.39020.34857
21-0.001708-0.01770.492969
220.002410.02490.490081
230.0727570.75260.226672
24-0.145857-1.50880.067154
250.0342440.35420.361933
260.0127050.13140.447846
27-0.047649-0.49290.311553
280.0073380.07590.469816
290.0844650.87370.192115
30-0.037029-0.3830.351229
31-0.0969-1.00230.15922
320.0606050.62690.26603
330.0780110.80690.210743
34-0.058469-0.60480.273293
350.038460.39780.345771
36-0.042893-0.44370.329082
370.0082460.08530.466093
38-0.029802-0.30830.379237
390.1304261.34910.090071
40-0.064779-0.67010.252124
41-0.074655-0.77220.220837
420.0157480.16290.435451
43-0.018385-0.19020.424766
440.0773710.80030.212645
45-0.002401-0.02480.490115
46-0.008728-0.09030.464117
47-0.117291-1.21330.11385
480.0386560.39990.345029


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.212943-2.20270.01488
2-0.320823-3.31860.000619
3-0.160857-1.66390.049527
4-0.076638-0.79270.21484
50.0351260.36330.358532
60.0307070.31760.375689
70.1052141.08830.139444
8-0.125766-1.30090.098038
9-0.012984-0.13430.446705
100.0247410.25590.39925
110.1014661.04960.14814
12-0.28609-2.95930.001898
13-0.112011-1.15870.124589
14-0.015204-0.15730.437663
15-0.072463-0.74960.227581
160.0950130.98280.163957
17-0.04024-0.41630.33903
180.0839690.86860.193509
190.0905360.93650.17556
20-0.076034-0.78650.216656
21-0.037101-0.38380.350952
220.0299270.30960.378747
230.0880040.91030.18235
24-0.221301-2.28920.012017
25-0.095531-0.98820.162648
26-0.020922-0.21640.414539
27-0.102308-1.05830.146154
28-0.005916-0.06120.475658
290.0714870.73950.230623
300.0394580.40820.341985
310.0426740.44140.329899
32-0.081793-0.84610.1997
330.0607940.62890.26539
34-0.009812-0.10150.459673
350.1252231.29530.098999
36-0.181968-1.88230.031257
37-0.054238-0.5610.287971
38-0.058563-0.60580.27297
390.0636630.65850.255806
40-0.022688-0.23470.407451
410.0479030.49550.310628
42-0.01225-0.12670.4497
43-0.03766-0.38960.348819
44-0.03435-0.35530.361524
450.0863660.89340.186829
460.0458240.4740.318231
47-0.025563-0.26440.395982
48-0.168502-1.7430.042103
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/03/t1291369584k0qvjwgh90zx7q1/1y41m1291369702.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/03/t1291369584k0qvjwgh90zx7q1/1y41m1291369702.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/03/t1291369584k0qvjwgh90zx7q1/2y41m1291369702.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/03/t1291369584k0qvjwgh90zx7q1/2y41m1291369702.ps (open in new window)


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