Home » date » 2010 » Apr » 29 »

he total generation of electricity by the U.S. electric industry

*Unverified author*
R Software Module: /rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Thu, 29 Apr 2010 12:51:08 +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/Apr/29/t1272545574hy1fwy56u0i50d2.htm/, Retrieved Thu, 29 Apr 2010 14:52:54 +0200
 
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/Apr/29/t1272545574hy1fwy56u0i50d2.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:
KDGP2W21
 
Dataseries X:
» Textbox « » Textfile « » CSV «
227.86 198.24 194.97 184.88 196.79 205.36 226.72 226.05 202.50 194.79 192.43 219.25 217.47 192.34 196.83 186.07 197.31 215.02 242.67 225.17 206.69 197.75 196.43 213.55 222.75 194.03 201.85 189.50 206.07 225.59 247.91 247.64 213.01 203.01 200.26 220.50 237.90 216.94 214.01 196.00 208.37 232.75 257.46 267.69 220.18 210.61 209.59 232.75 232.75 219.82 226.74 208.04 220.12 235.69 257.05 258.69 227.15 219.91 219.30 259.04 237.29 212.88 226.03 211.07 222.91 249.18 266.38 268.53 238.02 224.69 213.75 237.43 248.46 210.82 221.40 209.00 234.37 248.43 271.98 268.11 233.88 223.43 221.38 233.76 243.97 217.76 224.66 210.84 220.35 236.84 266.15 255.20 234.76 221.29 221.26 244.13 245.78 224.62 234.80 211.37 222.39 249.63 282.29 279.13 236.60 223.62 225.86 246.41 261.70 225.01 231.54 214.82 227.70 263.86 278.15 274.64 237.66 227.97 224.75 242.91 253.08 228.13 233.68 217.38 236.38 256.08 292.83 304.71 etc...
 
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'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.6745968.03870
20.2758323.28690.000638
30.0227350.27090.393422
40.1020271.21580.113041
50.3840664.57675e-06
60.464965.54060
70.3925954.67833e-06
80.0983751.17230.121524
9-0.006866-0.08180.467453
100.1967072.3440.010231
110.5324316.34470
120.796589.49240
130.5259176.2670
140.156971.87050.031735
15-0.085484-1.01870.155049
16-0.019343-0.23050.409016
170.2276242.71250.003752
180.3138043.73940.000133
190.2657753.16710.000943
200.0076860.09160.463578
21-0.095582-1.1390.128312
220.0806010.96050.169227
230.3851364.58945e-06
240.6185687.37110
250.3884464.62894e-06
260.0599170.7140.238202
27-0.160362-1.91090.029014
28-0.104848-1.24940.106785
290.1300491.54970.061719
300.2016912.40340.008767
310.1662611.98120.024748
32-0.062623-0.74620.228379
33-0.160366-1.9110.029011
34-0.001432-0.01710.493204
350.2699693.21710.000802
360.4766265.67970
370.2646863.15410.000983
38-0.023886-0.28460.388169
39-0.202823-2.41690.008461
40-0.169249-2.01680.022799
410.0330430.39380.347176
420.0929251.10730.135011
430.0721550.85980.195666
44-0.113115-1.34790.089916
45-0.193447-2.30520.011302
46-0.05519-0.65770.255908
470.1792392.13590.017202
480.3636254.33311.4e-05


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.6745968.03870
2-0.328941-3.91986.9e-05
3-0.005443-0.06490.474187
40.3595974.28511.7e-05
50.3426174.08273.7e-05
6-0.16634-1.98220.024695
70.1422061.69460.046173
8-0.239728-2.85670.002462
90.220892.63220.004711
100.3650524.35011.3e-05
110.3213743.82969.6e-05
120.3571544.2561.9e-05
13-0.49097-5.85060
14-0.054023-0.64380.260385
15-0.022641-0.26980.393852
16-0.12131-1.44560.075249
17-0.205039-2.44330.00789
18-0.009285-0.11060.456026
190.0368760.43940.330512
200.0296060.35280.36238
21-0.00615-0.07330.470841
220.066150.78830.215927
230.0853411.0170.155451
240.0552110.65790.25583
25-0.086355-1.0290.152604
260.0480140.57220.284062
270.0280530.33430.369328
28-0.061465-0.73240.232554
290.0407160.48520.314146
30-0.167201-1.99240.024121
310.0284260.33870.367654
32-0.016297-0.19420.423149
33-0.041781-0.49790.309671
34-0.001768-0.02110.491612
350.0138080.16450.434771
36-0.014077-0.16770.433511
37-0.044747-0.53320.297359
380.0660580.78720.216245
390.0937211.11680.13298
40-0.166081-1.97910.024871
41-0.032163-0.38330.35105
420.0345850.41210.340435
430.0156290.18620.426262
440.0211410.25190.400732
45-0.02679-0.31920.375008
46-0.013502-0.16090.436204
470.0499250.59490.276419
480.0128940.15370.439052
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Apr/29/t1272545574hy1fwy56u0i50d2/1mhs71272545465.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Apr/29/t1272545574hy1fwy56u0i50d2/1mhs71272545465.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Apr/29/t1272545574hy1fwy56u0i50d2/2mhs71272545465.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Apr/29/t1272545574hy1fwy56u0i50d2/2mhs71272545465.ps (open in new window)


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