Home » date » 2010 » Dec » 04 »

ws9

*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: Sat, 04 Dec 2010 14:09:54 +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/04/t1291471663lc7gx0usj13x4df.htm/, Retrieved Sat, 04 Dec 2010 15:07:45 +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/04/t1291471663lc7gx0usj13x4df.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 «
7945 7833 7889 7957 8038 8106 8180 7951 7908 7895 7988 7982 7964 8007 7976 7951 7982 7995 7933 8050 8119 8224 8143 8174 8211 8261 8162 8156 8168 8218 8267 8267 8162 8162 8249 8404 8391 8354 8360 8360 8391 8459 8428 8478 8540 8633 8552 8664 8627 8559 8472 8311 8304 8339 8413 8413 8357 8370 8376 8351 8351 8370 8391 8335 8348 8342 8413 8379 8397 8459 8391 8540 8596 8590 8608 8559 8583 8577 8515 8509 8596 8664 8689 8676 8608 8577 8435 8416 8335 8335 8335 8280 8255 8292 8342 8267 8211 8286 8335 8311 8205 8280 8193 8311 8329 8187 8057 7951 7926 7976 8026 8050 8057 8106 8032 8044 8069 8106 8038 8026 8057 8149 8162 8261 8261 8249 8050 8088 8106 8125 8088 8094 7995 8038 8044 7920 7815 7821 7747 7709 7697 7672 7722 7722 7734 7691 7654 7635 7635 7635 7722 7883 7864 7939 7982 7914 7815 7796 7815 7815 7815 7840 7815 7784 7740 7685 7685 7747 7802 7784 7802 etc...
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time7 seconds
R Server'George Udny Yule' @ 72.249.76.132


Autocorrelation Function
Time lag kACF(k)T-STATP-value
1-0.072019-3.92884.4e-05
2-0.021804-1.18950.117173
3-0.062469-3.40790.000332
40.0521992.84760.002218
50.0007840.04280.48294
6-0.001332-0.07270.471042
7-0.038882-2.12110.016996
80.0379772.07170.019189
90.0463992.53120.00571
100.0090010.4910.31173
11-0.007544-0.41150.340354
12-0.037511-2.04630.020406
130.0078860.43020.333546
140.0412252.24890.012295
150.0318861.73950.041026
160.0395822.15930.015453
170.0058910.32140.373978
18-0.024315-1.32650.092393
19-0.026661-1.45450.072963
20-0.001261-0.06880.47259
21-0.014184-0.77380.219562
22-0.023629-1.2890.098742
23-0.040575-2.21350.013469
240.0046840.25550.399177
250.0121860.66480.253128
260.0135150.73730.230498
27-0.064075-3.49550.00024
28-0.037645-2.05370.020048
29-0.012338-0.67310.250469
300.0418012.28030.011329
31-0.039222-2.13970.016231
320.0235411.28420.099583
33-0.024749-1.35010.088541
340.0080140.43720.330998


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.072019-3.92884.4e-05
2-0.027132-1.48010.069475
3-0.066429-3.62390.000148
40.0424192.31410.010365
50.0044050.24030.405046
6-0.002408-0.13130.447754
7-0.033477-1.82620.033957
80.0311171.69750.044853
90.049612.70640.00342
100.01390.75830.224164
110.0041940.22880.409521
12-0.034953-1.90680.028321
13-0.000872-0.04760.481027
140.0380352.07490.019041
150.0370822.02290.021586
160.0534572.91620.001785
170.0166190.90660.182348
18-0.023788-1.29770.097248
19-0.031709-1.72980.041885
20-0.006894-0.37610.353436
21-0.014261-0.7780.218327
22-0.027746-1.51360.065115
23-0.047932-2.61480.004487
24-0.013778-0.75160.226171
250.0003510.01920.492358
260.0132970.72540.234134
27-0.053004-2.89150.001931
28-0.042759-2.33260.009868
29-0.02489-1.35780.087309
300.0229721.25320.105117
31-0.03501-1.90990.028123
320.0268741.4660.071372
33-0.014477-0.78970.214873
34-0.00366-0.19970.420871
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/04/t1291471663lc7gx0usj13x4df/1pn451291471786.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/04/t1291471663lc7gx0usj13x4df/1pn451291471786.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/04/t1291471663lc7gx0usj13x4df/20w381291471786.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/04/t1291471663lc7gx0usj13x4df/20w381291471786.ps (open in new window)


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