Home » date » 2010 » Dec » 07 »

stationarity in the mean

*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, 07 Dec 2010 13:25:21 +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/07/t12917282322zpgzymas5ao72b.htm/, Retrieved Tue, 07 Dec 2010 14:23:53 +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/07/t12917282322zpgzymas5ao72b.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 «
31806 34571 37121 40438 43635 48064 50846 53668 58465 58618 55826 60412 62714 63332 66050 62948 59535 57298 56599 57686 57472 60463 60784 63154 64042 65460 65268 65774 66028 67104 68102 69897 72185 73538 72325 74820 74813 74533 76916 80371 81261 81557 81446 81995 79948
 
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'RServer@AstonUniversity' @ vre.aston.ac.uk


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.3021912.00450.025597
20.1531111.01560.15768
30.2082481.38140.087072
4-0.039812-0.26410.396475
5-0.121433-0.80550.212433
60.0838160.5560.290523
70.0830940.55120.292149
8-0.029352-0.19470.423262
9-0.114348-0.75850.226099
100.0099560.0660.473823
11-0.169247-1.12270.133836
12-0.181174-1.20180.11794
13-0.202138-1.34080.093428
14-0.146016-0.96860.16903
15-0.155523-1.03160.153943
16-0.016968-0.11260.455448
170.0215230.14280.443562
180.1063870.70570.242049
190.0140270.0930.463144
200.0035460.02350.49067
21-0.019363-0.12840.449194
22-0.105372-0.6990.244129
23-0.196232-1.30170.099904
240.0929250.61640.270405
250.0167690.11120.45597
260.048270.32020.375172
270.2090771.38690.086235
280.1067610.70820.241286
29-0.043365-0.28770.387482
30-0.038774-0.25720.399113
310.0295930.19630.422641
32-0.008576-0.05690.477447
33-0.057529-0.38160.352296
340.0860610.57090.285499
350.0047480.03150.487508
36-0.074835-0.49640.311041
37-0.040169-0.26650.395569
38-0.045243-0.30010.382754
39-0.091894-0.60960.272646
40-0.063412-0.42060.338038
41-0.056924-0.37760.353774
42-0.031888-0.21150.416729
43-0.030518-0.20240.420255
44NANANA
45NANANA
46NANANA
47NANANA
48NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.3021912.00450.025597
20.0680020.45110.327076
30.1598441.06030.1474
4-0.167945-1.1140.135659
5-0.111919-0.74240.2309
60.1545441.02510.155453
70.0975510.64710.260471
8-0.071139-0.47190.31967
9-0.220404-1.4620.075424
100.0873620.57950.282605
11-0.10109-0.67060.253004
12-0.058057-0.38510.351008
13-0.249046-1.6520.052829
140.0059330.03940.484394
150.0044860.02980.488197
160.1032120.68460.248583
17-0.04172-0.27670.391639
180.0994260.65950.2565
19-0.022674-0.15040.440569
20-0.021462-0.14240.443721
21-0.045459-0.30150.382211
22-0.155471-1.03130.154023
23-0.178682-1.18520.121142
240.1790021.18740.120728
25-0.006692-0.04440.482398
260.0088890.0590.476625
270.1043020.69190.246329
280.0081410.0540.478589
290.0303640.20140.420652
30-0.127404-0.84510.201312
310.0990660.65710.257261
32-0.019876-0.13180.447854
33-0.034868-0.23130.409083
34-0.123709-0.82060.208151
35-0.011593-0.07690.469527
36-0.057051-0.37840.353463
37-0.019133-0.12690.449794
38-0.042943-0.28490.388547
390.0620510.41160.341315
400.076830.50960.306429
41-0.007737-0.05130.479651
42-0.04204-0.27890.390828
43-0.042194-0.27990.390439
44NANANA
45NANANA
46NANANA
47NANANA
48NANANA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/07/t12917282322zpgzymas5ao72b/1n64x1291728318.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/07/t12917282322zpgzymas5ao72b/1n64x1291728318.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/07/t12917282322zpgzymas5ao72b/2n64x1291728318.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/07/t12917282322zpgzymas5ao72b/2n64x1291728318.ps (open in new window)


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