Home » date » 2010 » Dec » 03 »

W9 d=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 18:34:45 +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/t1291401165je5aa63zbi9rid9.htm/, Retrieved Fri, 03 Dec 2010 19:32:47 +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/t1291401165je5aa63zbi9rid9.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 «
14731798.37 16471559.62 15213975.95 17637387.4 17972385.83 16896235.55 16697955.94 19691579.52 15930700.75 17444615.98 17699369.88 15189796.81 15672722.75 17180794.3 17664893.45 17862884.98 16162288.88 17463628.82 16772112.17 19106861.48 16721314.25 18161267.85 18509941.2 17802737.97 16409869.75 17967742.04 20286602.27 19537280.81 18021889.62 20194317.23 19049596.62 20244720.94 21473302.24 19673603.19 21053177.29 20159479.84 18203628.31 21289464.94 20432335.71 17180395.07 15816786.32 15071819.75 14521120.61 15668789.39 14346884.11 13881008.13 15465943.69 14238232.92 13557713.21 16127590.29 16793894.2 16014007.43 16867867.15 16014583.21 15878594.85 18664899.14 17962530.06 17332692.2 19542066.35 17203555.19
 
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'Gwilym Jenkins' @ 72.249.127.135


Autocorrelation Function
Time lag kACF(k)T-STATP-value
1-0.228513-1.56660.061958
2-0.010512-0.07210.471427
30.4591953.14810.001427
4-0.246099-1.68720.049099
50.1580621.08360.142031
60.2262371.5510.063804
7-0.371867-2.54940.007057
80.0715850.49080.312939
90.0476580.32670.372664
10-0.236299-1.620.055964
110.0290610.19920.421471
12-0.15795-1.08280.1422
13-0.20728-1.4210.080953
140.0190290.13050.44838
150.0076850.05270.479104
16-0.140361-0.96230.17042
17-0.035152-0.2410.405305
18-0.01825-0.12510.450483
19-0.076707-0.52590.300724
200.1927551.32150.096372
21-0.172409-1.1820.12158
22-0.002379-0.01630.493527
230.1871561.28310.102878
24-0.105961-0.72640.235588
250.067760.46450.322203
260.1261940.86510.195678
27-0.177176-1.21470.115282
280.1088170.7460.229688
290.0805610.55230.29168
30-0.066206-0.45390.326001
310.0428360.29370.385151
320.0107010.07340.470914
33-0.021846-0.14980.440794
340.0335240.22980.409612
350.004230.0290.488495
36-0.089229-0.61170.271833


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.228513-1.56660.061958
2-0.066186-0.45380.326048
30.4678843.20770.001205
4-0.055656-0.38160.352253
50.1102830.75610.226691
60.1002750.68740.24759
7-0.263022-1.80320.038886
8-0.242657-1.66360.051426
9-0.092951-0.63720.26353
100.0171720.11770.453393
11-0.065069-0.44610.328791
12-0.153859-1.05480.148453
13-0.114753-0.78670.217701
14-0.10953-0.75090.228228
150.1521831.04330.151069
160.0606340.41570.339766
17-0.0445-0.30510.380828
18-0.103456-0.70930.240833
19-0.143856-0.98620.164536
200.1478781.01380.157934
21-0.222251-1.52370.067145
220.0059470.04080.483826
230.0696120.47720.317704
240.0044560.03050.487881
25-0.122737-0.84140.202181
26-0.018631-0.12770.449454
270.0281340.19290.423944
28-0.094019-0.64460.261173
29-0.054337-0.37250.355592
300.1159710.79510.215289
31-0.088072-0.60380.274442
320.0068660.04710.481328
330.0146340.10030.460257
34-0.017589-0.12060.452268
35-0.117231-0.80370.21281
36-0.06769-0.46410.322373
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/03/t1291401165je5aa63zbi9rid9/1bowe1291401283.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/03/t1291401165je5aa63zbi9rid9/1bowe1291401283.ps (open in new window)


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


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