Home » date » 2008 » Dec » 22 »

nbv

*Unverified author*
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 04:11:29 -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/t1229944317aucl6y78e1qozv6.htm/, Retrieved Mon, 22 Dec 2008 12:11:59 +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/t1229944317aucl6y78e1qozv6.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 «
130,3 130,9 104,7 115,2 124,5 112,3 127,5 120,6 117,5 117,7 120,4 125 131,6 121,1 114,2 112,1 127 116,8 112 129,7 113,6 115,7 119,5 125,8 129,6 128 112,8 101,6 123,9 118,8 109,1 130,6 112,4 111 116,2 119,8 117,2 127,3 107,7 97,5 120,1 110,6 111,3 119,8 105,5 108,7 128,7 119,5 121,1 128,4 108,8 107,5 125,6 102,9 107,5 120,4 104,3 100,6 121,9 112,7 124,9 123,9 102,2 104,9 109,8 98,9 107,3 112,6 104 110,6 100,8 103,8 117 108,4 95,5 96,9 103,9 101,1 100,6 104,3 98 99,5 97,4 105,6 117,5 107,4 97,8 91,5 107,7 100,1 96,6 106,8 98 98,6
 
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.007190.06510.474124
20.1002260.90760.183378
30.2487372.25240.013484
4-0.080944-0.7330.232831
50.1303141.180.120698
60.1612921.46060.073978
7-0.103582-0.9380.175506
80.0964850.87370.192414
90.228822.07210.020701
10-0.1644-1.48870.070201
11-0.051302-0.46460.321741
12-0.150158-1.35970.088819
13-0.220976-2.0010.024349
140.0868610.78660.216904
15-0.075264-0.68150.248725
16-0.139343-1.26180.105298
170.1640341.48540.070638
18-0.090473-0.81930.207504
19-0.20533-1.85930.033283
200.0001029e-040.499631
21-0.063984-0.57940.281954
22-0.138751-1.25640.106261
230.173761.57350.059731
24-0.280489-2.53990.006487
25-0.086243-0.7810.218537
260.0383760.34750.364548
27-0.03703-0.33530.36912
28-0.079604-0.72080.236527
290.0005480.0050.498025
30-0.013265-0.12010.452342
310.0574180.51990.302254
320.126171.14250.128282
33-0.154177-1.39610.083221
340.058040.52560.300303
350.1070620.96950.167577
360.0552370.50020.309139
370.2126121.92530.02883
380.0718650.65080.258509
39-0.044075-0.39910.345422
400.1169541.05910.14634
41-0.012944-0.11720.453488
42-0.083278-0.75410.226471
430.0634410.57450.283607
440.0593940.53780.296072
45-0.099943-0.9050.184053
460.131841.19390.117987
47-0.092138-0.83430.203255
48-0.139221-1.26070.105496
49-0.006147-0.05570.477871
50-0.125576-1.13710.129395
51-0.113702-1.02960.153109
520.0714860.64730.259612
53-0.069536-0.62970.265329
54-0.030316-0.27450.392186
550.0317760.28770.387136
56-0.198368-1.79630.038065
570.0009710.00880.496502
58-0.025679-0.23250.40835
59-0.094933-0.85970.196242
600.0361070.3270.372266


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.007190.06510.474124
20.100180.90720.183488
30.2498892.26280.013144
4-0.094819-0.85860.196525
50.0866540.78470.217448
60.1271611.15150.126437
7-0.092337-0.83610.202752
80.0138870.12580.450118
90.2277772.06260.021158
10-0.149612-1.35480.089602
11-0.19727-1.78640.038869
12-0.220398-1.99580.024638
13-0.108133-0.97920.165184
140.088580.80210.2124
150.0141540.12820.449164
16-0.028268-0.2560.399304
170.1798081.62820.053656
18-0.019583-0.17730.429842
19-0.216288-1.95860.026782
20-0.052388-0.47440.31824
210.2102321.90370.030227
22-0.122313-1.10760.135639
23-0.028113-0.25460.399846
24-0.30977-2.80510.00314
25-0.093462-0.84630.199915
26-0.107031-0.96920.167646
270.2980372.69880.004224
280.0548290.49650.310435
290.0768870.69620.244124
30-0.029522-0.26730.394942
31-0.019853-0.17980.428887
32-0.018795-0.17020.432639
330.04720.42740.3351
340.0308010.27890.390507
350.0644040.58320.280678
36-0.061106-0.55330.290768
370.0265910.24080.405158
38-0.044381-0.40190.344405
390.0037880.03430.486359
40-0.055281-0.50060.309001
410.0719680.65170.258209
42-0.009857-0.08930.464546
43-0.032848-0.29750.383436
44-0.088665-0.80290.212177
45-0.076679-0.69440.24471
460.0256360.23210.408502
470.0908160.82240.206624
48-0.149082-1.350.090366
49-0.009887-0.08950.46444
50-0.058043-0.52560.30029
51-0.005031-0.04560.481888
52-0.034039-0.30820.379344
530.0194530.17620.430303
540.01770.16030.436526
550.0433630.39270.347793
56-0.064056-0.58010.281735
57-0.024119-0.21840.413829
58-0.110308-0.99890.160395
590.059460.53840.295867
600.0130330.1180.453172
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/22/t1229944317aucl6y78e1qozv6/1v8al1229944288.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/22/t1229944317aucl6y78e1qozv6/1v8al1229944288.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/22/t1229944317aucl6y78e1qozv6/215e21229944288.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/22/t1229944317aucl6y78e1qozv6/215e21229944288.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