Home » date » 2008 » Dec » 02 »

law of averages q8 (d)

*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, 02 Dec 2008 13:23:08 -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/02/t1228249435i4k6wmqtd0efzlt.htm/, Retrieved Tue, 02 Dec 2008 20:23:55 +0000
 
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/02/t1228249435i4k6wmqtd0efzlt.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},
}
 
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
 
Feedback Forum:
2008-11-27 13:41:43 [a2386b643d711541400692649981f2dc] [reply
test

Post a new message
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
61,5 88,5 93,3 89,2 101,3 97 102,2 100,3 78,2 105,9 119,9 108 77 93,1 109,5 100,4 99 113,9 102,1 101,6 84 110,7 111,6 110,7 73,1 87,5 109,6 99,3 92,1 109,3 94,5 91,4 82,9 103,3 96 104,8 65,8 78,7 100,3 85 94,5 97,9 91,9 87,2 84,4 99,2 105,4 110,9 69,8 86,8 106,7 88,8 96,9 108,1 93,7 94,8 79,8 95,6 107,9 104,9 61,9 85,7 92,4 86,4 99,3 95,5 97 102,1 77,8 105,5 113,2 108,8 66,9 89,3 93,6 92 99,5 98,6 94,6 96,7 75,3 102,5 115,1 104,7 71,4
 
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
1-0.595441-5.05252e-06
2-0.002026-0.01720.493164
30.3579423.03720.001662
4-0.225373-1.91240.029905
5-0.082765-0.70230.242384
60.3186052.70350.004278
7-0.269097-2.28340.012681
8-0.004941-0.04190.483337
90.2282721.93690.028338
10-0.287119-2.43630.008657
110.1452291.23230.110922
12-0.016-0.13580.446194
13-0.075265-0.63860.26254
140.0088780.07530.470081
150.1096570.93050.177619
16-0.174069-1.4770.072015
170.0875860.74320.229893
180.0851740.72270.236096
19-0.133894-1.13610.129836
200.0440630.37390.354794
210.1301781.10460.136506
22-0.250573-2.12620.018459
230.3017322.56030.006278
24-0.165098-1.40090.08277
25-0.066812-0.56690.286266
260.1409681.19620.117781
27-0.038737-0.32870.37167
28-0.121386-1.030.153231
290.2010241.70570.046183
30-0.186781-1.58490.058687
310.0225130.1910.424522
320.1372211.16440.124061
33-0.194209-1.64790.051863
340.0792150.67220.251816
350.0516880.43860.331136
36-0.091308-0.77480.220504


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.595441-5.05252e-06
2-0.552446-4.68776e-06
30.0604730.51310.304715
40.2876972.44120.008549
50.0269870.2290.409761
60.1490171.26440.105073
70.0270140.22920.409672
8-0.162518-1.3790.08608
9-0.066186-0.56160.288064
10-0.181329-1.53860.064139
11-0.006448-0.05470.47826
12-0.117913-1.00050.160204
13-0.050241-0.42630.335577
14-0.090448-0.76750.222654
150.0749160.63570.263499
160.0718320.60950.272052
17-0.023706-0.20120.420573
180.1082240.91830.180761
190.1288571.09340.138934
20-0.031917-0.27080.393652
210.0586440.49760.310136
22-0.242841-2.06060.021479
230.1944271.64980.051673
240.0055160.04680.481401
25-0.085644-0.72670.234878
26-0.224629-1.9060.030319
27-0.099477-0.84410.200707
280.0433180.36760.357138
290.1545571.31150.096934
30-0.014289-0.12120.451918
310.01760.14930.440852
32-0.041494-0.35210.362902
330.015030.12750.449436
34-0.139896-1.18710.119553
350.0205610.17450.430993
36-0.0161-0.13660.44586
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/02/t1228249435i4k6wmqtd0efzlt/14kxj1228249384.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/02/t1228249435i4k6wmqtd0efzlt/14kxj1228249384.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/02/t1228249435i4k6wmqtd0efzlt/2bl661228249384.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/02/t1228249435i4k6wmqtd0efzlt/2bl661228249384.ps (open in new window)


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