Home » date » 2008 » Dec » 16 »

Gilliam

*Unverified author*
R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Tue, 16 Dec 2008 04:36:24 -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/16/t1229427441a06k1hcowuxdevd.htm/, Retrieved Tue, 16 Dec 2008 12:37:23 +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/16/t1229427441a06k1hcowuxdevd.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 «
101.0 98.7 105.1 98.4 101.7 102.9 92.2 94.9 92.8 98.5 94.3 87.4 103.4 101.2 109.6 111.9 108.9 105.6 107.8 97.5 102.4 105.6 99.8 96.2 113.1 107.4 116.8 112.9 105.3 109.3 107.9 101.1 114.7 116.2 108.4 113.4 108.7 112.6 124.2 114.9 110.5 121.5 118.1 111.7 132.7 119.0 116.7 120.1 113.4 106.6 116.3 112.6 111.6 125.1 110.7 109.6 114.2 113.4 116.0 109.6 117.8 115.8 125.3 113.0 120.5 116.6 111.8 115.2 118.6 122.4 116.4 114.5 119.8 115.8 127.8 118.8 119.7 118.6 120.8 115.9 109.7 114.8 116.2 112.2
 
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.3744493.17730.001095
20.3225542.7370.003903
30.2833452.40430.00939
40.0395760.33580.368993
50.0378250.3210.374585
60.1328641.12740.131661
70.0947860.80430.21194
80.0470430.39920.345475
90.2484532.10820.019248
10-0.052984-0.44960.327182
110.0364990.30970.378841
12-0.206125-1.7490.042274
13-0.218723-1.85590.033779
14-0.027191-0.23070.409093
15-0.096078-0.81530.208808
16-0.057372-0.48680.313933
170.069940.59350.277365
18-0.000124-0.00110.499581
19-0.090029-0.76390.223705
200.1691621.43540.077754
21-0.052043-0.44160.330052
22-0.010864-0.09220.463404
230.1282731.08840.140017
240.0337160.28610.387815
250.089730.76140.224456
260.1896311.60910.055988
270.1179991.00130.160029
280.0829990.70430.241768
290.1474771.25140.107423
30-0.029494-0.25030.401548
310.0007890.00670.49734
32-0.082764-0.70230.242387
33-0.175329-1.48770.070596
34-0.114105-0.96820.16809
35-0.133258-1.13070.13096
36-0.184844-1.56850.06058
37-0.072399-0.61430.270467
38-0.166051-1.4090.081572
39-0.216127-1.83390.035401
40-0.094137-0.79880.213524
41-0.188548-1.59990.057002
42-0.090474-0.76770.222588
430.0021090.01790.492885
44-0.004413-0.03740.485117
45-0.042263-0.35860.360468
460.0138780.11780.453293
47-0.081421-0.69090.245932
48-0.094736-0.80390.21206
49-0.029919-0.25390.40016
50-0.074581-0.63280.264422
510.0053570.04550.481933
520.0211210.17920.429135
530.0460950.39110.34843
540.0153860.13060.448244
55-0.024572-0.20850.417713
56-0.047248-0.40090.344835
57-0.048407-0.41080.341238
58-0.058625-0.49740.310195
59-0.050736-0.43050.334056
60-0.022422-0.19030.424823


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.3744493.17730.001095
20.2120781.79950.038061
30.1324621.1240.132377
4-0.175357-1.4880.070565
5-0.029972-0.25430.399988
60.1616531.37170.087212
70.0814920.69150.245744
8-0.075987-0.64480.260562
90.2027891.72070.044798
10-0.240532-2.0410.02246
110.0577890.49040.312685
12-0.377605-3.20410.00101
130.0553330.46950.320059
140.1984421.68380.048272
15-0.024335-0.20650.418496
16-0.098798-0.83830.202311
170.1184061.00470.159201
18-0.085008-0.72130.236525
190.0790720.67090.2522
200.1251581.0620.145893
210.0388640.32980.371264
22-0.028658-0.24320.404284
230.0048710.04130.483572
24-0.042103-0.35730.360972
250.0547380.46450.321858
260.1293661.09770.137995
270.0603850.51240.304976
28-0.070096-0.59480.276926
29-0.040528-0.34390.365964
30-0.083714-0.71030.239894
31-0.092228-0.78260.218219
32-0.039383-0.33420.369608
33-0.062698-0.5320.298178
34-0.105144-0.89220.187634
35-0.020036-0.170.432739
36-0.112364-0.95340.171778
370.0529730.44950.327214
38-0.065032-0.55180.291391
390.0678390.57560.283328
40-0.036301-0.3080.379476
410.0157830.13390.44692
420.1237831.05030.148539
430.0238870.20270.419975
440.0129960.11030.456251
45-0.082241-0.69780.243764
46-0.15828-1.3430.091737
47-0.001675-0.01420.494351
48-0.089526-0.75960.224972
490.0012430.01050.495808
500.0089840.07620.469723
51-0.102664-0.87110.193289
52-0.00389-0.0330.48688
530.0276990.2350.407426
540.0377940.32070.374687
550.036620.31070.378451
560.0679030.57620.283147
57-0.046733-0.39650.34644
58-0.008328-0.07070.471932
590.0234240.19880.421507
600.0123870.10510.458291
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/16/t1229427441a06k1hcowuxdevd/1xwpw1229427383.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/16/t1229427441a06k1hcowuxdevd/1xwpw1229427383.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/16/t1229427441a06k1hcowuxdevd/2egns1229427383.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/16/t1229427441a06k1hcowuxdevd/2egns1229427383.ps (open in new window)


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