Home » date » 2009 » Aug » 18 »

dennis volkaerts - opg6 - autocor trend

*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, 18 Aug 2009 11:26:33 -0600
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2009/Aug/18/t1250616421bvrf0k4kbwskhx3.htm/, Retrieved Tue, 18 Aug 2009 19:27:04 +0200
 
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/2009/Aug/18/t1250616421bvrf0k4kbwskhx3.htm/},
    year = {2009},
}
@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 = {2009},
    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 «
17.23 17.36 17.39 17.29 17.28 17.4 17.51 17.54 17.64 17.65 17.5 17.37 17.56 17.49 17.61 17.79 17.83 17.56 17.95 18.09 18.38 18.38 18.44 18.84 19.01 19.06 19.06 18.97 18.98 19.41 19.55 19.64 19.71 19.48 19.48 19.41 19.25 19.14 19.21 19.3 19.53 19.14 19.16 19.24 19.38 19.27 19.27 19.07 19.15 19.24 19.36 19.57 19.59 19.36 19.46 19.65 19.46 19.51 19.64 19.64 19.69 19.28 19.67 19.65 19.6 19.53 19.64 19.67 19.81 19.73 19.87 19.97 20.12 19.94 20.31 20.13 20.22 20.38 20.44 20.34 20.14 19.97 19.82 19.98 20.12
 
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
1-0.109993-1.00810.15815
2-0.033361-0.30580.380274
3-0.094641-0.86740.194097
40.0688460.6310.264882
5-0.010905-0.09990.460312
60.1337541.22590.111835
7-0.105842-0.97010.167402
80.1156031.05950.1462
9-0.045295-0.41510.339551
10-0.058564-0.53670.296431
110.0746980.68460.247735
12-0.001048-0.00960.496179
13-0.24828-2.27550.01271
140.0874280.80130.212611
15-0.037997-0.34820.364264
160.0011620.01070.495763
17-0.025059-0.22970.409452
18-0.176619-1.61870.054626
190.0316860.29040.386111
200.2147491.96820.026172
21-0.174991-1.60380.056254
220.0346680.31770.375735
23-0.051981-0.47640.317508
240.0496180.45480.325228
25-0.00887-0.08130.467699
260.0815710.74760.228392
27-0.161204-1.47750.071646
280.2033411.86370.032932
29-0.140883-1.29120.100085
30-0.0089-0.08160.467592
31-0.021381-0.1960.422559
320.0227850.20880.417545
33-0.0603-0.55270.290982
340.1024460.93890.175228
35-0.062159-0.56970.285201
360.0007610.0070.497227
37-0.012455-0.11410.454696
38-0.082308-0.75440.226369
390.1137551.04260.150067
400.0117170.10740.457367
41-0.172226-1.57850.059107
420.0248250.22750.410283
430.0262590.24070.405199
440.0941570.8630.195306
450.0231160.21190.416365
46-0.009372-0.08590.465878
470.0248140.22740.410325
480.0936230.85810.196649


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.109993-1.00810.15815
2-0.046016-0.42170.337145
3-0.105031-0.96260.169248
40.045140.41370.340069
5-0.00677-0.0620.475337
60.1311941.20240.116291
7-0.068704-0.62970.265305
80.1109561.01690.156053
9-0.00919-0.08420.466539
10-0.085063-0.77960.218903
110.0915360.83890.201943
12-0.030836-0.28260.389082
13-0.247008-2.26390.01308
140.0342080.31350.377332
15-0.045005-0.41250.340521
16-0.051367-0.47080.319508
17-0.016174-0.14820.441255
18-0.183918-1.68560.047789
190.0386270.3540.362103
200.1894661.73650.043072
21-0.122439-1.12220.132493
220.0385490.35330.36237
23-0.042538-0.38990.348812
240.0841910.77160.221251
25-0.023386-0.21430.415403
260.0052210.04780.480976
27-0.099657-0.91340.18183
280.1093151.00190.159638
29-0.068702-0.62970.265312
30-0.088589-0.81190.209564
31-0.123031-1.12760.13135
320.0244630.22420.41157
330.0333470.30560.380321
34-0.033218-0.30440.38077
350.020120.18440.427069
36-0.085023-0.77920.219013
370.0791190.72510.235191
38-0.011632-0.10660.457676
390.0339660.31130.378171
40-0.053341-0.48890.3131
41-0.089601-0.82120.206925
42-0.018264-0.16740.433733
43-0.009766-0.08950.464447
440.0675830.61940.268663
45-0.014565-0.13350.447063
460.0587570.53850.295821
470.1050530.96280.1692
48-0.007087-0.0650.474183
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Aug/18/t1250616421bvrf0k4kbwskhx3/162y01250616392.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Aug/18/t1250616421bvrf0k4kbwskhx3/162y01250616392.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Aug/18/t1250616421bvrf0k4kbwskhx3/24iwm1250616392.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Aug/18/t1250616421bvrf0k4kbwskhx3/24iwm1250616392.ps (open in new window)


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