Home » date » 2010 » Dec » 06 »

paper timeserie Autocorrelation 2 (trend 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: Mon, 06 Dec 2010 19:51:05 +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/06/t1291664964idr7thdx40qdh0m.htm/, Retrieved Mon, 06 Dec 2010 20:49: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/06/t1291664964idr7thdx40qdh0m.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 «
194.9 195.5 196 196.2 196.2 196.2 196.2 197 197.7 198 198.2 198.5 198.6 199.5 200 201.3 202.2 202.9 203.5 203.5 204 204.1 204.3 204.5 204.8 205.1 205.7 206.5 206.9 207.1 207.8 208 208.5 208.6 209 209.1 209.7 209.8 209.9 210 210.8 211.4 211.7 212 212.2 212.4 212.9 213.4 213.7 214 214.3 214.8 215 215.9 216.4 216.9 217.2 217.5 217.9 218.1 218.6 218.9 219.3 220.4 220.9 221 221.8 222 222.2 222.5 222.9 223.1
 
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.1495291.260.105906
20.1096970.92430.179224
3-0.100394-0.84590.200216
4-0.170159-1.43380.078012
5-0.16984-1.43110.078395
6-0.020204-0.17020.432651
7-0.02973-0.25050.401459
8-0.092451-0.7790.219281
9-0.075726-0.63810.262738
100.043710.36830.356869
11-0.113398-0.95550.171281
12-0.018586-0.15660.437999
130.1289961.08690.140371
140.0550690.4640.322026
150.0243350.2050.419061
16-0.032705-0.27560.391838
170.0466340.39290.347768
18-0.158094-1.33210.093539
190.0615710.51880.302754
20-0.057708-0.48630.314141
21-0.080332-0.67690.250336
22-0.161622-1.36190.088775
230.0866690.73030.233809
24-0.089381-0.75310.226929
250.0280540.23640.406905
260.0638820.53830.296035
270.0505140.42560.335828
28-0.042193-0.35550.361624
29-0.047717-0.40210.344419
30-0.066767-0.56260.287744
31-0.061086-0.51470.304174
32-0.017789-0.14990.440637
330.147321.24130.109283
340.0073120.06160.475522
35-0.064347-0.54220.294691
360.0718170.60510.273509


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.1495291.260.105906
20.0893360.75280.227043
3-0.132692-1.11810.13365
4-0.154538-1.30220.098534
5-0.108104-0.91090.182714
60.0431080.36320.358756
7-0.034552-0.29110.385896
8-0.152155-1.28210.101992
9-0.092912-0.78290.218148
100.0784940.66140.255246
11-0.147325-1.24140.109275
12-0.080087-0.67480.25099
130.1359131.14520.127981
140.0139770.11780.453291
15-0.068143-0.57420.28383
16-0.098925-0.83360.203664
170.1144270.96420.169114
18-0.129741-1.09320.138997
190.0335630.28280.389075
20-0.090594-0.76340.223889
21-0.062878-0.52980.298944
22-0.164197-1.38350.085416
230.0936610.78920.216311
24-0.103644-0.87330.192716
25-0.045355-0.38220.35174
26-0.002027-0.01710.49321
27-0.02755-0.23210.408547
28-0.060179-0.50710.306836
29-0.167316-1.40980.081478
30-0.073965-0.62320.267562
31-0.020603-0.17360.431335
32-0.085153-0.71750.237707
330.0231720.19520.422877
34-0.060175-0.5070.306848
35-0.115711-0.9750.166436
36-0.006862-0.05780.477026
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/06/t1291664964idr7thdx40qdh0m/12z3a1291665063.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/06/t1291664964idr7thdx40qdh0m/12z3a1291665063.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/06/t1291664964idr7thdx40qdh0m/22z3a1291665063.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/06/t1291664964idr7thdx40qdh0m/22z3a1291665063.ps (open in new window)


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