Home » date » 2007 » Nov » 28 » attachments

methode2 op tijdreeks2

R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Wed, 28 Nov 2007 03:32: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/2007/Nov/28/t1196245337wedgkgrqx6wguwr.htm/, Retrieved Wed, 28 Nov 2007 11:22:19 +0100
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
707.6 655.6 812.9 756.2 527.9 883.9 604.4 756.0 760.8 666.6 672.1 744.8 695.5 755.7 951.0 705.9 536.8 877.3 692.4 851.7 876.1 836.3 795.9 773.9 640.4 812.7 878.7 686.0 538.9 885.6 824.3 829.8 697.7 911.6 910.6 774.7 811.3 886.6 939.6 1221.8 626.6 944.2 655.4 887.6 685.5 1031.7 752.5 681.6 640.0 648.5 766.7 692.8 495.1 860.1 722.0 633.0 640.4 777.6 619.8 544.5
 
Text written by user:
 
Output produced by software:


Summary of compuational 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
017.7460
1-0.03081-0.23870.593906
20.1432331.10950.135825
30.105870.82010.207713
40.2484781.92470.029506
50.0395960.30670.380065
60.1948541.50930.068231
70.0475680.36850.356913
80.1451521.12430.132674
9-0.00969-0.07510.529792
10-0.076971-0.59620.723364
11-0.19402-1.50290.930941
120.2844862.20360.0157
13-0.281811-2.18290.983516
14-0.078177-0.60560.726453
15-0.082344-0.63780.736995
160.0129350.10020.460263
17-0.130567-1.01140.842049
18-0.084222-0.65240.741675
19-0.017901-0.13870.55491
20-0.017029-0.13190.552251
21-0.154068-1.19340.881295
22-0.076315-0.59110.721675
23-0.168571-1.30570.901689
240.1717281.33020.094243
25-0.088243-0.68350.751548
26-0.084327-0.65320.741938
27-0.069434-0.53780.703659
280.0213490.16540.434605
29-0.194853-1.50930.931767
30-0.139746-1.08250.858312
310.0848310.65710.256815
32-0.036763-0.28480.611598
33-0.144762-1.12130.86669
340.0066160.05120.479648
35-0.198658-1.53880.935444
360.0856450.66340.254806
37-0.097619-0.75620.773741
38-0.077188-0.59790.72392
39-0.05682-0.44010.669285
400.071470.55360.290955
41-0.06294-0.48750.686171
420.007410.05740.477211
430.1094310.84760.200001
44-0.024932-0.19310.576244
45-0.006754-0.05230.520773
460.0575190.44550.328766
47-0.00065-0.0050.502001
480.1020250.79030.216238
490.0218640.16940.433043
500.0194690.15080.440316
510.0431330.33410.369733
520.0485290.37590.354157
530.0022410.01740.493104
540.0118980.09220.46344
550.0641680.4970.310486
56-0.00331-0.02560.510184
570.0011740.00910.496387
580.0268370.20790.418014
590.0099860.07730.469302


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
0-0.03081-0.23870.593906
10.1424191.10320.137178
20.1165140.90250.185197
30.2442071.89160.031686
40.0385970.2990.382999
50.1376281.06610.145334
60.0087090.06750.473221
70.0552520.4280.335098
8-0.0604-0.46790.679208
9-0.20763-1.60830.94349
10-0.309533-2.39760.990185
110.2289171.77320.040637
12-0.233947-1.81210.962516
13-0.095752-0.74170.769417
140.0245680.19030.424858
150.0498850.38640.350281
160.1099290.85150.198937
17-0.045013-0.34870.635721
180.1433491.11040.135633
190.0064950.05030.480021
20-0.171793-1.33070.905839
21-0.047801-0.37030.643754
22-0.20114-1.5580.937757
230.0003040.00240.499066
240.1116460.86480.195295
25-0.108612-0.84130.798241
260.0058730.04550.481933
27-0.002589-0.02010.507968
28-0.14995-1.16150.874982
29-0.102129-0.79110.783995
300.0182470.14130.444036
31-0.010532-0.08160.532375
32-0.075295-0.58320.719039
330.0429720.33290.3702
34-0.076808-0.59490.722943
350.0102350.07930.468538
36-0.009587-0.07430.529476
37-0.016118-0.12480.549469
38-0.084695-0.6560.742849
39-0.054501-0.42220.662794
400.0827040.64060.262105
410.0647920.50190.308795
42-0.026726-0.2070.581653
43-0.064097-0.49650.68932
440.0354210.27440.392371
45-0.075827-0.58740.720414
460.0517390.40080.345008
47-0.097097-0.75210.772537
48-0.05469-0.42360.663323
49-0.065727-0.50910.693731
50-0.043371-0.3360.63096
51-0.007705-0.05970.523696
520.0017880.01380.494499
530.1158930.89770.186465
540.0081180.06290.475035
55-0.055675-0.43130.666086
560.0090270.06990.472243
57-0.046317-0.35880.639486
58-0.084016-0.65080.741165
59NANANA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Nov/28/t1196245337wedgkgrqx6wguwr/1xxby1196245946.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Nov/28/t1196245337wedgkgrqx6wguwr/1xxby1196245946.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Nov/28/t1196245337wedgkgrqx6wguwr/20k591196245946.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Nov/28/t1196245337wedgkgrqx6wguwr/20k591196245946.ps (open in new window)


 
Parameters:
par1 = 1 ;
 
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 1:par1) {
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(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-1,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(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:

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