Home » date » 2008 » Dec » 22 »

(p)acf gas

*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: Mon, 22 Dec 2008 09:05:52 -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/22/t1229961986575kavzjtu9jxgj.htm/, Retrieved Mon, 22 Dec 2008 17:06:26 +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/22/t1229961986575kavzjtu9jxgj.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 «
127.96 127.47 126.47 125.75 125.42 125.14 125.15 125.51 125.63 126.22 126.88 127.96 128.74 129.6 131.2 132.72 134.67 135.94 136.39 136.74 137.2 137.36 138.63 141.07 143.32 147.91 152.56 151.61 156.56 157.45 158.13 159.18 159.47 159.79 161.65 162.77 163.48 166.16 163.86 162.12 149.08 145.32 141.21 134.68 133.65 139.17 138.61 144.96 157.99 167.18 174.48 182.77 190.00 189.70 188.90 198.28 201.18 204.14 221.02 221.12 220.68
 
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.518594.0178.3e-05
20.3763412.91510.002496
30.4087893.16650.001213
40.0472560.3660.357809
5-0.249538-1.93290.028985
6-0.172436-1.33570.093348
7-0.225952-1.75020.042597
8-0.277365-2.14850.017862
9-0.224697-1.74050.043449
10-0.051343-0.39770.346132
11-0.047146-0.36520.358128
12-0.190159-1.4730.072994
13-0.001758-0.01360.494591
14-0.109073-0.84490.200769
15-0.266355-2.06320.021715
16-0.131229-1.01650.156738
17-0.123208-0.95440.171864
18-0.205661-1.5930.058203
190.0091130.07060.471979
200.0165930.12850.44908
210.0233590.18090.428513
220.0829850.64280.261402
230.071290.55220.291428
240.038190.29580.384196
250.0209510.16230.435814
26-0.011515-0.08920.464613
27-0.020904-0.16190.435954
28-0.048692-0.37720.35369
29-0.02608-0.2020.420295
300.0239440.18550.426743
310.0078550.06080.475842
320.0740420.57350.284217
330.0919350.71210.239573
340.0848460.65720.256777
350.0959660.74330.230086
360.0947980.73430.232813
370.0947330.73380.232964
380.1092370.84610.200417
390.0838870.64980.259156
400.0435720.33750.368456
410.0354270.27440.392353
42-0.011731-0.09090.463949
43-0.063808-0.49430.311466
44-0.072858-0.56440.287308
45-0.085018-0.65850.256354
46-0.098415-0.76230.224429
47-0.07585-0.58750.279527
48-0.046094-0.3570.361157
49-0.032586-0.25240.400792
50-0.024739-0.19160.42434
51-0.006477-0.05020.480076
52-0.006216-0.04810.48088
53-0.016217-0.12560.450227
54-0.015377-0.11910.452795
55-0.010204-0.0790.468631
56-0.011605-0.08990.464335
57-0.00425-0.03290.486924
580.0075760.05870.476699
590.003280.02540.489907
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.518594.0178.3e-05
20.1469161.1380.129821
30.2322251.79880.03854
4-0.379336-2.93830.002339
5-0.426123-3.30070.000813
60.0331110.25650.399231
70.1944821.50640.0686
80.1844141.42850.079172
9-0.246618-1.91030.030439
10-0.075473-0.58460.2805
110.0036680.02840.488714
12-0.280407-2.1720.016908
130.1103010.85440.198145
14-0.225338-1.74550.043012
15-0.006383-0.04940.480366
160.0530220.41070.341376
17-0.079425-0.61520.270366
18-0.013062-0.10120.459875
190.0423450.3280.372024
20-0.134051-1.03840.151636
21-0.089153-0.69060.246248
22-0.085523-0.66250.255107
23-0.001531-0.01190.495287
24-0.021926-0.16980.432853
250.0768270.59510.277008
26-0.131498-1.01860.156245
27-0.15621-1.210.115512
28-0.0062-0.0480.480928
29-0.056394-0.43680.331902
300.0352790.27330.392793
310.0512960.39730.346264
32-0.098934-0.76630.22324
33-0.019864-0.15390.439116
340.0341610.26460.39611
35-0.03074-0.23810.406302
36-0.001007-0.00780.496901
370.1412761.09430.139095
380.0060770.04710.481305
39-0.004331-0.03350.486675
40-0.147772-1.14460.128452
41-0.073994-0.57320.28434
420.0802920.62190.268168
430.0739450.57280.284467
44-0.024837-0.19240.424046
45-0.084583-0.65520.257428
460.0667230.51680.303586
470.023940.18540.426754
480.00860.06660.473555
490.0074070.05740.477218
50-0.120868-0.93620.176452
510.0577320.44720.328173
520.0471920.36550.357993
530.0484540.37530.354371
540.0576090.44620.328517
55-0.038774-0.30030.382477
56-0.0497-0.3850.35081
57-0.068343-0.52940.299246
58-0.001311-0.01020.495965
590.0390820.30270.381572
60NANANA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/22/t1229961986575kavzjtu9jxgj/113fr1229961947.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/22/t1229961986575kavzjtu9jxgj/113fr1229961947.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/22/t1229961986575kavzjtu9jxgj/2n3jy1229961947.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/22/t1229961986575kavzjtu9jxgj/2n3jy1229961947.ps (open in new window)


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