Home » date » 2009 » Dec » 30 »

CaseStatistiek - PCF 1

*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: Wed, 30 Dec 2009 15:53: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/2009/Dec/30/t126221378067s97w05urymoio.htm/, Retrieved Wed, 30 Dec 2009 23:56:22 +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/2009/Dec/30/t126221378067s97w05urymoio.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 «
15 14,4 13,5 12,8 12,3 12,2 14,5 17,2 18 18,1 18 18,3 18,7 18,6 18,3 17,9 17,4 17,4 20,1 23,2 24,2 24,2 23,9 23,8 23,8 23,3 22,4 21,5 20,5 19,9 22 24,9 25,7 25,3 24,4 23,8 23,5 23 22,2 21,4 20,3 19,5 21,7 24,7 25,3 24,9 24,1 23,4 23,1 22,4 21,3 20,3 19,3 18,7 21 24 24,8 24,2 23,3 22,7 22,3 21,8 21,2 20,5 19,7 19,2 21,2 23,9 24,8 24,2 23 22,2 21,8 21,2 20,5 19,7 19 18,4 20,7 24,5 26 25,2 24,1 23,7 23,5 23,1 22,7 22,5 21,7 20,5 21,9 22,9 21,5 19 17 16,1 15,9 15,7 15,1 14,8 14,3 14,5 18,9 21,6 20,4 17,9 15,7 14,5 14 13,9 14,4 15,8 15,6 14,7 16,7 17,9 18,7 20,1 19,5 19,4 18,6 17,8 17,1 16,5 15,5 14,9 18,6 19,1 18,8 18,2 18 19 20,7 21,2 20,7 19,6 18,6 18,7 23,8 24,9 24,8 23,8 22,3 21,7 20,7 19,7 18,4 17,4 17 18 23,8 25,5 25,6 23,7 22 21,3 20,7 20,4 20,3 20,4 19,8 19,5 23,1 23,5 23,5 22,9 21,9 21,5 20,5 20,2 19,4 19,2 18,8 18,8 22,6 23,3 23 etc...
 
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
10.88201912.90280
20.6632569.70260
30.4696486.87040
40.3536225.1730
50.3109284.54855e-06
60.2867934.19542e-05
70.2542543.71940.000128
80.2288363.34760.000481
90.2498633.65520.000162
100.3284464.80481e-06
110.4408686.44930
120.492027.19760
130.385465.63880
140.2203453.22340.000732
150.0784161.14710.126304
16-0.012922-0.1890.425122
17-0.054968-0.80410.211112
18-0.079796-1.16730.122192
19-0.09277-1.35710.088089
20-0.083079-1.21530.112787
21-0.031536-0.46130.322513
220.0578910.84690.199004
230.1576392.30610.011032
240.1863752.72640.003467
250.0740021.08260.140111
26-0.077471-1.13330.129178
27-0.193818-2.83530.002509
28-0.25132-3.67650.00015
29-0.258918-3.78779.9e-05
30-0.251123-3.67360.000151
31-0.236307-3.45690.00033
32-0.207768-3.03940.001333
33-0.147202-2.15340.016203
34-0.056242-0.82270.205785
350.0392120.57360.283413
360.064560.94440.173009
37-0.038088-0.55720.288995
38-0.173996-2.54530.005811
39-0.275124-4.02474e-05
40-0.321746-4.70672e-06
41-0.32682-4.7812e-06
42-0.32225-4.71412e-06
43-0.311629-4.55874e-06
44-0.281061-4.11162.8e-05
45-0.207643-3.03760.001341
46-0.094523-1.38270.084092
470.0246920.36120.359148
480.066760.97660.164932
49-0.022574-0.33020.370773
50-0.149294-2.1840.015025
51-0.242446-3.54670.00024
52-0.278615-4.07583.2e-05
53-0.272444-3.98554.6e-05
54-0.259274-3.79289.7e-05
55-0.248943-3.64170.00017
56-0.227532-3.32850.000514
57-0.171823-2.51350.006344
58-0.082203-1.20250.115244
590.012340.18050.428457
600.0352550.51570.303288


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.88201912.90280
2-0.51657-7.55680
30.2338713.42120.000373
40.0811751.18750.118175
50.0759891.11160.133774
6-0.105367-1.54140.062349
70.0498220.72880.23345
80.1057021.54630.061756
90.218143.19110.000815
100.1479522.16440.015772
110.1722782.52020.006229
12-0.266033-3.89176.6e-05
13-0.489957-7.16740
140.3990775.8380
15-0.208158-3.04510.001309
16-0.200869-2.93850.00183
170.0234850.34360.36576
180.1184631.7330.042271
190.0556390.81390.208294
20-0.017187-0.25140.400864
210.1050181.53630.062973
22-0.004815-0.07040.471956
23-0.119087-1.74210.041465
24-0.107488-1.57240.058665
25-0.169208-2.47530.007044
260.1090471.59520.056069
27-0.045724-0.66890.252147
280.0285470.41760.338327
290.0064920.0950.462215
300.0546150.79890.212604
31-0.022728-0.33250.369925
32-0.002436-0.03560.485802
330.0460730.6740.250522
34-0.043556-0.63720.26235
35-0.08849-1.29450.098443
36-0.031244-0.45710.324045
37-0.06119-0.89510.185862
380.0084580.12370.45082
39-0.005776-0.08450.466373
40-0.03791-0.55460.289884
41-0.07732-1.13110.129641
42-0.030409-0.44480.328442
43-0.018297-0.26770.394608
440.0676660.98990.161678
450.0792091.15870.123931
460.0541770.79250.214463
470.0088030.12880.448829
48-0.072509-1.06070.145008
49-0.058828-0.86060.195216
50-0.005518-0.08070.46787
51-0.040314-0.58970.277991
52-0.052425-0.76690.221988
53-0.031074-0.45460.324941
54-0.007645-0.11180.455531
55-0.04683-0.68510.247021
560.0324290.47440.317853
57-0.013619-0.19920.421134
58-0.046423-0.67910.248902
59-0.049143-0.71890.236495
60-0.043864-0.64170.260885
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/30/t126221378067s97w05urymoio/1moon1262213621.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/30/t126221378067s97w05urymoio/1moon1262213621.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/30/t126221378067s97w05urymoio/2dskf1262213621.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/30/t126221378067s97w05urymoio/2dskf1262213621.ps (open in new window)


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