Home » date » 2010 » Dec » 07 »

ws 9: acf (zonder seizoenaliteit)

*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: Tue, 07 Dec 2010 09:32:15 +0000
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2010/Dec/07/t1291714257q7v1s8awb5fmvub.htm/, Retrieved Tue, 07 Dec 2010 10:30:59 +0100
 
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/2010/Dec/07/t1291714257q7v1s8awb5fmvub.htm/},
    year = {2010},
}
@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 = {2010},
    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 «
94.6 95.9 104.7 102.8 98.1 113.9 80.9 95.7 113.2 105.9 108.8 102.3 99 100.7 115.5 100.7 109.9 114.6 85.4 100.5 114.8 116.5 112.9 102 106 105.3 118.8 106.1 109.3 117.2 92.5 104.2 112.5 122.4 113.3 100 110.7 112.8 109.8 117.3 109.1 115.9 96 99.8 116.8 115.7 99.4 94.3 91 93.2 103.1 94.1 91.8 102.7 82.6 89.1 104.5 105.1 95.1 88.7 86.3 91.8 111.5 99.7 97.5 111.7 86.2 95.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'Gwilym Jenkins' @ 72.249.127.135


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.5988294.48121.9e-05
20.6677854.99723e-06
30.7055215.27961e-06
40.4530173.39010.000643
50.4742083.54860.000396
60.3616682.70650.004498
70.1992721.49120.070759
80.2269221.69810.047517
90.0627780.46980.320165
100.0039980.02990.48812
11-0.01969-0.14730.441693
12-0.136933-1.02470.154952
13-0.131141-0.98140.165315
14-0.173678-1.29970.099516
15-0.184699-1.38220.086205
16-0.230349-1.72380.045133
17-0.165248-1.23660.110699
18-0.170027-1.27240.104251
19-0.185468-1.38790.08533
20-0.115669-0.86560.195204
21-0.135047-1.01060.158277
22-0.183711-1.37480.087339
23-0.025169-0.18830.425643
24-0.207048-1.54940.063459
25-0.119086-0.89120.188329
26-0.115043-0.86090.196481
27-0.225269-1.68580.048704
28-0.126941-0.94990.173112
29-0.183249-1.37130.087875
30-0.216472-1.61990.055433
31-0.167767-1.25550.107264
32-0.214099-1.60220.057372
33-0.205971-1.54130.064432
34-0.167738-1.25520.107303
35-0.220486-1.650.052274
36-0.151087-1.13060.131514
37-0.141235-1.05690.147547
38-0.121109-0.90630.18433
39-0.112557-0.84230.201601
40-0.074144-0.55480.290607
41-0.036217-0.2710.393684
42-0.028515-0.21340.4159
43-0.012449-0.09320.463056
440.0089760.06720.473343
450.015370.1150.454422
460.0535140.40050.345169
470.0289760.21680.414563
480.0579510.43370.333098
490.0698090.52240.301725
500.05250.39290.347952
510.0662170.49550.311084
520.0322450.24130.405102
530.0391370.29290.385352
540.0154870.11590.454076
550.0091330.06830.472876
56NANANA
57NANANA
58NANANA
59NANANA
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.5988294.48121.9e-05
20.482053.60730.00033
30.4259763.18770.001174
4-0.272197-2.03690.023197
5-0.215462-1.61240.056252
6-0.198286-1.48380.07173
7-0.162278-1.21440.11485
80.088930.66550.254234
90.0016780.01260.495012
10-0.007714-0.05770.477085
11-0.059472-0.4450.329001
12-0.063488-0.47510.318282
130.0098320.07360.470804
140.0186820.13980.444658
150.1299050.97210.167586
16-0.140535-1.05170.148735
170.0848680.63510.263976
180.0637320.47690.317636
19-0.015587-0.11660.453781
20-0.039549-0.2960.384179
21-0.099568-0.74510.229664
22-0.26001-1.94570.028356
230.1797971.34550.091947
24-0.147713-1.10540.13686
250.0311690.23320.40821
26-0.143657-1.0750.143486
27-0.026707-0.19990.421159
280.0060380.04520.482059
290.0968670.72490.235771
300.0624070.4670.321152
31-0.146831-1.09880.138282
32-0.048467-0.36270.359099
33-0.024844-0.18590.426591
340.0723320.54130.29523
350.0194870.14580.44229
36-0.050566-0.37840.353282
37-0.011482-0.08590.465917
38-0.016918-0.12660.449855
39-0.004029-0.03020.488027
40-0.106837-0.79950.213692
410.0591750.44280.3298
420.0108720.08140.467723
43-0.053462-0.40010.345313
44-0.053752-0.40220.344518
450.0850020.63610.263651
46-0.033718-0.25230.400858
470.0651640.48760.313853
48-0.065916-0.49330.311875
490.0054810.0410.483715
500.0344790.2580.398669
51-0.084341-0.63110.265256
52-0.11858-0.88740.189337
53-0.046181-0.34560.365473
540.0159150.11910.452811
550.0163640.12250.451487
56NANANA
57NANANA
58NANANA
59NANANA
60NANANA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/07/t1291714257q7v1s8awb5fmvub/19w1e1291714332.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/07/t1291714257q7v1s8awb5fmvub/19w1e1291714332.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/07/t1291714257q7v1s8awb5fmvub/2koi01291714332.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/07/t1291714257q7v1s8awb5fmvub/2koi01291714332.ps (open in new window)


 
Parameters (Session):
par1 = 60 ; par2 = 1 ; par3 = 0 ; par4 = 1 ; par5 = 12 ; par6 = White Noise ; par7 = 0.95 ;
 
Parameters (R input):
par1 = 60 ; par2 = 1 ; par3 = 0 ; par4 = 1 ; par5 = 12 ; par6 = White Noise ; par7 = 0.95 ;
 
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 (par6 == 'White Noise') par6 <- 'white' else par6 <- 'ma'
par7 <- as.numeric(par7)
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='time lag', ylab='ACF', ci.type=par6, ci=par7, sub=paste('(lambda=',par2,', d=',par3,', D=',par4,', CI=', par7, ', CI type=',par6,')',sep=''))
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