Home » date » 2010 » Apr » 29 »

The 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:57:20 +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/t12725459061xpk655z9xsc1ni.htm/, Retrieved Thu, 29 Apr 2010 14:58:28 +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/t12725459061xpk655z9xsc1ni.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 time1 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.1093271.29820.098171
2-0.23166-2.75080.003363
3-0.512283-6.0830
4-0.307956-3.65680.00018
50.3131553.71850.000144
60.2417542.87070.002364
70.337694.00984.9e-05
8-0.292026-3.46760.000348
9-0.480184-5.70190
10-0.201833-2.39660.008929
110.1160511.3780.085188
120.8231779.77470
130.1477371.75430.040778
14-0.205215-2.43680.008032
15-0.473794-5.6260
16-0.271266-3.22110.000793
170.2520692.99310.001631
180.2116932.51370.006535
190.319433.7930.00011
20-0.238499-2.8320.002652
21-0.435306-5.1690
22-0.195949-2.32680.010701
230.1137011.35010.08957
240.713628.47380
250.147991.75730.04052
26-0.172919-2.05330.020946
27-0.426108-5.05981e-06
28-0.272735-3.23850.000749
290.2589433.07480.001265
300.1685162.0010.023655
310.2948533.50120.00031
32-0.202812-2.40830.00866
33-0.402411-4.77842e-06
34-0.170665-2.02650.022298
350.1045311.24120.10829
360.6458997.66960
370.1143781.35820.088291
38-0.176669-2.09780.018852
39-0.328954-3.90617.2e-05
40-0.25326-3.00730.001561
410.2255662.67850.004138
420.1276731.5160.065875
430.2497282.96540.001776
44-0.162573-1.93040.02778
45-0.340939-4.04844.2e-05
46-0.147893-1.75610.040619
470.0825140.97980.164432
480.5644116.7020


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.1093271.29820.098171
2-0.246559-2.92770.001991
3-0.48897-5.80620
4-0.408045-4.84532e-06
50.1012591.20240.115615
6-0.192179-2.2820.011993
70.1883232.23620.013454
8-0.262261-3.11420.001117
9-0.399969-4.74942e-06
10-0.366779-4.35531.3e-05
11-0.43582-5.17510
120.4259485.05791e-06
130.0295480.35090.363109
140.0101470.12050.452133
150.1083511.28660.100172
160.2076562.46580.007436
170.0074090.0880.465008
18-0.044587-0.52940.298664
19-0.027259-0.32370.37333
200.012580.14940.440734
21-0.061557-0.7310.233011
22-0.09946-1.1810.119791
23-0.089294-1.06030.145408
240.0619620.73580.23155
25-0.073485-0.87260.192188
26-0.046459-0.55170.291024
270.0185090.21980.413177
28-0.078519-0.93240.176372
290.1571371.86590.032067
30-0.040385-0.47950.316148
310.0007050.00840.496665
320.0288660.34280.366142
33-0.011361-0.13490.446441
34-0.024493-0.29080.3858
35-3.2e-05-4e-040.49985
360.0308360.36620.357396
37-0.07676-0.91150.181801
38-0.121882-1.44730.07502
390.131911.56630.059754
400.0322210.38260.351296
41-0.053542-0.63580.262976
42-0.042918-0.50960.305557
43-0.035618-0.42290.336491
440.0050220.05960.476264
45-0.001822-0.02160.491387
46-0.069742-0.82810.204496
47-0.035801-0.42510.335703
480.0077870.09250.463229
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Apr/29/t12725459061xpk655z9xsc1ni/1bpam1272545838.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Apr/29/t12725459061xpk655z9xsc1ni/1bpam1272545838.ps (open in new window)


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


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