Home » date » 2008 » Dec » 24 »

Paper Variance Reduction Matrix T1

*Unverified author*
R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Wed, 24 Dec 2008 07:47:06 -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/24/t12301300678zblmy3o9b1h5ff.htm/, Retrieved Wed, 24 Dec 2008 15:47:49 +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/24/t12301300678zblmy3o9b1h5ff.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 «
105.7 109.5 105.3 102.8 100.6 97.6 110.3 107.2 107.2 108.1 97.1 92.2 112.2 111.6 115.7 111.3 104.2 103.2 112.7 106.4 102.6 110.6 95.2 89 112.5 116.8 107.2 113.6 101.8 102.6 122.7 110.3 110.5 121.6 100.3 100.7 123.4 127.1 124.1 131.2 111.6 114.2 130.1 125.9 119 133.8 107.5 113.5 134.4 126.8 135.6 139.9 129.8 131 153.1 134.1 144.1 155.9 123.3 128.1 144.3 153 149.9 150.9 141 138.9 157.4 142.9 151.7 161 138.5 135.9 151.5 164 159.1 157 142.1 144.8 152.1 154.6 148.7 157.7 146.4 136.5
 
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'George Udny Yule' @ 72.249.76.132


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.4868354.13094.8e-05
20.5807764.9283e-06
30.546964.64118e-06
40.421423.57590.000314
50.4204623.56770.000323
60.3186142.70350.004277
70.2600442.20650.015268
80.1704091.4460.076263
90.2482052.10610.019342
100.0362930.3080.379503
110.0788780.66930.252723
12-0.020614-0.17490.430819
130.0301380.25570.399443
140.0516430.43820.331276
15-0.010554-0.08960.464445
16-0.001323-0.01120.495536
17-0.067888-0.57610.283188
180.0454510.38570.350442
19-0.169679-1.43980.077133
20-0.102416-0.8690.193858
21-0.108887-0.92390.179303
22-0.158893-1.34830.090902
23-0.067821-0.57550.28338
24-0.246681-2.09320.019929
25-0.201263-1.70780.045993
26-0.207477-1.76050.041285
27-0.227309-1.92880.02885
28-0.27933-2.37020.01023
29-0.170743-1.44880.075867
30-0.311242-2.6410.005066
31-0.220214-1.86860.032875
32-0.2078-1.76320.041051
33-0.323614-2.7460.003808
34-0.262034-2.22340.014663
35-0.311674-2.64460.005016
36-0.242714-2.05950.021532


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.4868354.13094.8e-05
20.4505513.82310.000139
30.2832792.40370.009403
4-0.019039-0.16160.436055
5-0.011519-0.09770.461206
6-0.085527-0.72570.235181
7-0.085433-0.72490.235424
8-0.132008-1.12010.133192
90.1680931.42630.07905
10-0.151188-1.28290.101826
11-0.041297-0.35040.363526
12-0.123572-1.04850.148948
130.1581481.34190.091918
140.1557351.32150.095266
150.0449110.38110.352131
16-0.088616-0.75190.227271
17-0.150093-1.27360.103454
180.0608730.51650.303535
19-0.233347-1.980.025762
20-0.113881-0.96630.16856
210.0846160.7180.237544
220.0279580.23720.406575
230.10960.930.177743
24-0.224346-1.90360.030477
25-0.068172-0.57850.282381
260.0649650.55120.291586
27-0.051246-0.43480.33249
28-0.071836-0.60950.272041
290.1261251.07020.14405
30-0.148426-1.25940.105971
31-0.095697-0.8120.209729
32-0.106666-0.90510.184218
330.0425790.36130.35947
34-0.047356-0.40180.3445
35-0.079472-0.67430.251126
36-0.034444-0.29230.385463
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/24/t12301300678zblmy3o9b1h5ff/1926r1230130024.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/24/t12301300678zblmy3o9b1h5ff/1926r1230130024.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/24/t12301300678zblmy3o9b1h5ff/260401230130024.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/24/t12301300678zblmy3o9b1h5ff/260401230130024.ps (open in new window)


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