Home » date » 2008 » Dec » 08 »

*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, 08 Dec 2008 14:30:43 -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/08/t1228771868kx8v8t1smr8qumb.htm/, Retrieved Mon, 08 Dec 2008 21:31:08 +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/08/t1228771868kx8v8t1smr8qumb.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 «
299,63 305,945 382,252 348,846 335,367 373,617 312,612 312,232 337,161 331,476 350,103 345,127 297,256 295,979 361,007 321,803 354,937 349,432 290,979 349,576 327,625 349,377 336,777 339,134 323,321 318,86 373,583 333,03 408,556 414,646 291,514 348,857 349,368 375,765 364,136 349,53 348,167 332,856 360,551 346,969 392,815 372,02 371,027 342,672 367,343 390,786 343,785 362,6 349,468 340,624 369,536 407,782 392,239 404,824 373,669 344,902 396,7 398,911 366,009 392,484
 
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.554872-3.8040.000205
2-0.021245-0.14560.442411
30.2168941.48690.071853
4-0.268238-1.83890.036123
50.2111381.44750.077199
6-0.072967-0.50020.309621
7-0.09136-0.62630.267064
80.0541250.37110.356129
90.1810741.24140.110312
10-0.152186-1.04330.151065
110.0630160.4320.333853
12-0.162583-1.11460.135342
130.0673360.46160.323236
140.0924570.63390.264626
15-0.097841-0.67080.252828
160.0187150.12830.449229
170.0161680.11080.456107
180.0604150.41420.340311
19-0.062374-0.42760.335442
20-0.022774-0.15610.438299
210.0471830.32350.373888
22-0.164773-1.12960.132183
230.2515331.72440.045602
24-0.084285-0.57780.283069
25-0.11778-0.80750.211736
260.1771361.21440.115334
27-0.103303-0.70820.241156
280.0294950.20220.420313
29-0.030397-0.20840.417911
300.0107250.07350.470849
31-0.047697-0.3270.372562
320.1359670.93210.178013
33-0.107263-0.73540.232888
340.0038320.02630.489577
350.0882770.60520.273981
36-0.120207-0.82410.207024
370.0918450.62970.265984
38-0.050227-0.34430.366064
39-0.008431-0.05780.477077
400.0465580.31920.375501
41-0.025497-0.17480.430993
420.0024070.01650.493451
430.0047260.03240.487144
44-0.000414-0.00280.498873
45-0.003322-0.02280.490963
46-0.000986-0.00680.497317
47NANANA
48NANANA
49NANANA
50NANANA
51NANANA
52NANANA
53NANANA
54NANANA
55NANANA
56NANANA
57NANANA
58NANANA
59NANANA
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.554872-3.8040.000205
2-0.475539-3.26010.001037
3-0.120171-0.82380.207093
4-0.297682-2.04080.023455
5-0.093814-0.64320.261625
6-0.097248-0.66670.254112
7-0.16706-1.14530.12894
8-0.324466-2.22440.01548
90.1027710.70460.24228
100.1775821.21740.114757
110.3318682.27520.01375
12-0.086335-0.59190.278383
13-0.179756-1.23230.111975
14-0.246998-1.69330.048505
15-0.057594-0.39480.347372
16-0.085236-0.58430.28089
17-0.031717-0.21740.414404
18-0.092737-0.63580.264005
19-0.142708-0.97840.166454
20-0.218249-1.49620.070638
210.2113851.44920.076963
22-0.073465-0.50360.30843
230.0960720.65860.256672
24-0.056874-0.38990.349182
25-0.041763-0.28630.387949
26-0.142473-0.97670.166848
270.0705410.48360.315456
28-0.001179-0.00810.496792
29-0.057422-0.39370.347805
30-0.133849-0.91760.181751
31-0.126171-0.8650.195721
32-0.095056-0.65170.258894
33-0.015436-0.10580.458086
34-0.143151-0.98140.165712
350.0208540.1430.443465
36-0.032241-0.2210.413013
370.0220780.15140.440171
38-0.010232-0.07010.472187
390.0981290.67270.252204
400.0432020.29620.384201
41-0.049432-0.33890.368101
42-0.069626-0.47730.317668
43-0.061796-0.42360.336877
44-0.161862-1.10970.136394
45-0.037686-0.25840.398627
46-0.073805-0.5060.307618
47NANANA
48NANANA
49NANANA
50NANANA
51NANANA
52NANANA
53NANANA
54NANANA
55NANANA
56NANANA
57NANANA
58NANANA
59NANANA
60NANANA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/08/t1228771868kx8v8t1smr8qumb/1plrr1228771838.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/08/t1228771868kx8v8t1smr8qumb/1plrr1228771838.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/08/t1228771868kx8v8t1smr8qumb/2zhwm1228771838.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/08/t1228771868kx8v8t1smr8qumb/2zhwm1228771838.ps (open in new window)


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