Home » date » 2008 » Dec » 19 »

auto corr cons

*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, 19 Dec 2008 03:50:23 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2008/Dec/19/t1229683903wdz51mcdux782xl.htm/, Retrieved Fri, 19 Dec 2008 11:51:43 +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/2008/Dec/19/t1229683903wdz51mcdux782xl.htm/},
    year = {2008},
}
@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 = {2008},
    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 «
99.3 98.7 107.9 101.0 97.6 103.0 94.1 94.1 115.1 116.5 103.4 112.5 95.6 97.5 119.3 100.9 97.7 115.3 92.8 99.2 118.7 110.1 110.3 112.9 102.2 99.4 116.1 103.8 101.8 113.7 89.7 99.5 122.9 108.6 114.4 110.5 104.1 103.6 121.6 101.1 116.0 120.1 96.0 105.0 124.7 123.9 123.6 114.8 108.8 106.1 123.2 106.2 115.2 120.6 109.5 114.4 121.4 129.5 124.3 112.6
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time4 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.2187821.69470.047661
20.0274460.21260.41618
30.368792.85660.002937
4-0.0444-0.34390.366053
50.1002450.77650.220253
60.5232244.05297.4e-05
70.0186960.14480.44267
8-0.034237-0.26520.395884
90.2822562.18630.016351
10-0.103738-0.80350.212415
110.1131630.87660.192111
120.65175.0482e-06
130.0501710.38860.349466
14-0.044872-0.34760.364686
150.1483391.1490.127552
16-0.197498-1.52980.06566
17-0.008079-0.06260.475155
180.2981782.30970.012182
19-0.096788-0.74970.228177
20-0.085794-0.66460.254439
210.0979770.75890.225435
22-0.220821-1.71050.046173
230.0424490.32880.371722
240.3180492.46360.00832
25-0.069586-0.5390.295937
26-0.078493-0.6080.27274
27-0.010275-0.07960.468416
28-0.256904-1.990.025579
29-0.071104-0.55080.291919
300.0911290.70590.241496
31-0.115938-0.89810.186374
32-0.095804-0.74210.230463
33-0.046786-0.36240.359162
34-0.207394-1.60650.056711
35-0.026912-0.20850.41779
360.1267490.98180.165072
37-0.084501-0.65450.257633
38-0.126063-0.97650.166373
39-0.113832-0.88170.190719
40-0.237608-1.84050.03532
41-0.125957-0.97570.166575
42-0.058409-0.45240.326294
43-0.119814-0.92810.178544
44-0.115411-0.8940.187456
45-0.13204-1.02280.15526
46-0.13691-1.06050.146584
47-0.057773-0.44750.328061
48-0.003593-0.02780.488944
49-0.05632-0.43630.332111
50-0.109238-0.84620.200415
51-0.12339-0.95580.171511
52-0.134723-1.04360.150438
53-0.107752-0.83460.203614
54-0.078458-0.60770.272828
55-0.066031-0.51150.305447
56-0.069553-0.53880.296025
57-0.066516-0.51520.304143
58-0.032637-0.25280.400641
59-0.005395-0.04180.483403
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.2187821.69470.047661
2-0.021446-0.16610.434311
30.3859932.98990.002021
4-0.26097-2.02150.023849
50.2781552.15460.01761
60.3465682.68450.004688
7-0.159067-1.23210.111354
8-0.060843-0.47130.319571
90.0857870.66450.254457
10-0.094927-0.73530.232511
110.1981791.53510.06501
120.4715073.65230.000274
13-0.182456-1.41330.081368
14-0.152113-1.17830.121672
15-0.283576-2.19660.015963
160.0184410.14280.443446
17-0.099015-0.7670.223054
18-0.077122-0.59740.27625
190.0814150.63060.265335
200.0377130.29210.3856
21-0.038922-0.30150.382043
22-0.034628-0.26820.394723
230.1018440.78890.216643
24-0.191799-1.48570.071302
250.0401210.31080.378523
26-0.03532-0.27360.39267
270.077610.60120.274997
28-0.059712-0.46250.322687
29-0.051842-0.40160.344716
30-0.063471-0.49160.312382
310.0927740.71860.237581
32-0.09831-0.76150.224669
33-0.011949-0.09260.463283
340.0872630.67590.25084
35-0.123215-0.95440.17185
360.0907430.70290.242421
37-0.108056-0.8370.202958
38-0.023229-0.17990.428905
39-0.102569-0.79450.215019
400.0081870.06340.474822
41-0.033353-0.25830.398511
42-0.07519-0.58240.281233
43-0.023474-0.18180.428165
440.0150860.11690.453684
450.0077190.05980.476261
460.0295090.22860.409988
470.0518780.40180.344613
48-0.119888-0.92870.178395
490.0167270.12960.448672
500.0049730.03850.4847
510.0936490.72540.235513
52-0.078566-0.60860.272552
530.0344530.26690.395242
54-0.007073-0.05480.478246
55-0.080265-0.62170.268238
560.0594710.46070.323353
570.0294260.22790.410236
580.0094630.07330.470907
59-0.031161-0.24140.405046
60NANANA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/19/t1229683903wdz51mcdux782xl/1rhib1229683813.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/19/t1229683903wdz51mcdux782xl/1rhib1229683813.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/19/t1229683903wdz51mcdux782xl/2bx4m1229683813.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/19/t1229683903wdz51mcdux782xl/2bx4m1229683813.ps (open in new window)


 
Parameters (Session):
par1 = 60 ; par2 = 2.0 ; par3 = 0 ; par4 = 0 ; par5 = 12 ;
 
Parameters (R input):
par1 = 60 ; par2 = 2.0 ; par3 = 0 ; par4 = 0 ; par5 = 12 ;
 
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 (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='lags',ylab='ACF')
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