Home » date » 2008 » Dec » 07 »

*Unverified author*
R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Sun, 07 Dec 2008 11:08:51 -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/07/t1228673451yyx0elxfku6ksob.htm/, Retrieved Sun, 07 Dec 2008 18:10: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/07/t1228673451yyx0elxfku6ksob.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 «
2174.56 2196.72 2350.44 2440.25 2408.64 2472.81 2407.6 2454.62 2448.05 2497.84 2645.64 2756.76 2849.27 2921.44 2981.85 3080.58 3106.22 3119.31 3061.26 3097.31 3161.69 3257.16 3277.01 3295.32 3363.99 3494.17 3667.03 3813.06 3917.96 3895.51 3801.06 3570.12 3701.61 3862.27 3970.1 4138.52 4199.75 4290.89 4443.91 4502.64 4356.98 4591.27 4696.96 4621.4 4562.84 4202.52 4296.49 4435.23 4105.18 4116.68 3844.49 3720.98 3674.4 3857.62 3801.06 3504.37 3032.6 3047.03 2962.34
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time0 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.9476587.27910
20.8869486.81280
30.8289256.36710
40.7808425.99780
50.7354015.64870
60.6835885.25071e-06
70.6166214.73647e-06
80.5493924.224.3e-05
90.4773223.66640.000265
100.4122643.16670.001221
110.351242.69790.004542
120.2932172.25220.014021
130.2327621.78790.039465
140.1723541.32390.095325
150.1178060.90490.184603
160.0691920.53150.298543
170.0231060.17750.42987
18-0.022105-0.16980.432877
19-0.070806-0.54390.294289
20-0.114389-0.87860.191581
21-0.154687-1.18820.119762
22-0.191253-1.4690.073567
23-0.224818-1.72690.044713
24-0.254599-1.95560.027626
25-0.283203-2.17530.016812
26-0.313732-2.40980.009549
27-0.342307-2.62930.005446
28-0.368576-2.83110.003167
29-0.383007-2.94190.002328
30-0.390739-3.00130.001968
31-0.39799-3.0570.001678
32-0.414968-3.18740.001148
33-0.428913-3.29450.000835
34-0.437135-3.35770.00069
35-0.44093-3.38690.000632
36-0.433362-3.32870.000754
37-0.422002-3.24150.000979
38-0.405637-3.11580.001416
39-0.382117-2.93510.002373
40-0.357009-2.74220.004033
41-0.335854-2.57970.006199
42-0.299875-2.30340.0124
43-0.257479-1.97770.026318
44-0.214197-1.64530.052615
45-0.173854-1.33540.093438
46-0.145981-1.12130.133352
47-0.111093-0.85330.198467
48-0.069342-0.53260.298146
49-0.041779-0.32090.374707
50-0.01468-0.11280.455302
51-9e-04-0.00690.497253
520.0077780.05970.476282
530.0139810.10740.457423
540.0323860.24880.402204
550.0497780.38240.351788
560.0554080.42560.335976
570.0395540.30380.381166
580.0217950.16740.433811
59NANANA
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.9476587.27910
2-0.108962-0.8370.202999
30.0007470.00570.497721
40.0622990.47850.317022
5-0.015426-0.11850.453042
6-0.088703-0.68130.24916
7-0.163837-1.25850.106592
8-0.02196-0.16870.433312
9-0.110064-0.84540.200647
100.0036440.0280.488882
11-0.018719-0.14380.443081
12-0.011713-0.090.464308
13-0.04867-0.37380.354931
14-0.033675-0.25870.398397
150.025560.19630.422514
16-0.016755-0.12870.449018
17-0.029296-0.2250.411367
18-0.040508-0.31110.378392
19-0.07172-0.55090.291893
200.0006020.00460.498162
21-0.039628-0.30440.380952
22-0.029081-0.22340.412007
23-0.027463-0.21090.416828
24-0.005178-0.03980.484203
25-0.027005-0.20740.418195
26-0.075237-0.57790.282763
27-0.022017-0.16910.433141
28-0.049105-0.37720.353694
290.0606380.46580.321548
300.0032870.02520.489973
31-0.029909-0.22970.409546
32-0.122021-0.93730.176223
33-0.001526-0.01170.495343
340.000970.00750.49704
35-0.055234-0.42430.33646
360.06890.52920.299315
37-0.003569-0.02740.48911
380.055230.42420.33647
390.0579920.44540.328814
400.0079770.06130.475676
41-0.072356-0.55580.290231
420.1234110.94790.173513
430.0518840.39850.345839
44-0.013905-0.10680.457652
45-0.012734-0.09780.461205
46-0.123923-0.95190.172522
470.0873470.67090.252442
480.032860.25240.400804
49-0.164839-1.26620.105218
500.0339340.26070.397634
51-0.128775-0.98910.163317
52-0.017738-0.13620.446046
53-0.041733-0.32060.37484
540.1200310.9220.180147
55-0.035522-0.27280.392961
56-0.123687-0.95010.17298
57-0.121696-0.93480.17686
58-0.012364-0.0950.46233
59NANANA
60NANANA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/07/t1228673451yyx0elxfku6ksob/1db641228673329.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/07/t1228673451yyx0elxfku6ksob/1db641228673329.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/07/t1228673451yyx0elxfku6ksob/2tkqx1228673329.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/07/t1228673451yyx0elxfku6ksob/2tkqx1228673329.ps (open in new window)


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