Home » date » 2009 » Dec » 20 »

paper Statistiek 2009

*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: Sun, 20 Dec 2009 13:43:27 -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/20/t1261341862viw2ln72qw0n7rj.htm/, Retrieved Sun, 20 Dec 2009 21:44:25 +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/20/t1261341862viw2ln72qw0n7rj.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 «
101.0 98.7 105.1 98.4 101.7 102.9 92.2 94.9 92.8 98.5 94.3 87.4 103.4 101.2 109.6 111.9 108.9 105.6 107.8 97.5 102.4 105.6 99.8 96.2 113.1 107.4 116.8 112.9 105.3 109.3 107.9 101.1 114.7 116.2 108.4 113.4 108.7 112.6 124.2 114.9 110.5 121.5 118.1 111.7 132.7 119.0 116.7 120.1 113.4 106.6 116.3 112.6 111.6 125.1 110.7 109.6 114.2 113.4 116.0 109.6 117.8 115.8 125.3 113.0 120.5 116.6 111.8 115.2 118.6 122.4 116.4 114.5 119.8 115.8 127.8 118.8 119.7 118.6 120.8 115.9 109.7 114.8 116.2 112.2
 
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.6498395.95590
20.6189075.67240
30.6588156.03810
40.4967824.55319e-06
50.4914144.50391.1e-05
60.5456845.00132e-06
70.4082963.74210.000166
80.4151083.80450.000134
90.4778814.37991.7e-05
100.3242512.97180.00193
110.3587363.28790.000738
120.42033.85210.000114
130.2165481.98470.025221
140.259762.38070.00977
150.2274112.08430.020087
160.1808761.65780.050548
170.2243322.0560.021442
180.2241232.05410.021537
190.1189341.09010.139404
200.1899031.74050.042717
210.1268511.16260.12414
220.027510.25210.400778
230.0835720.76590.222927
240.0662710.60740.272619
25-0.000332-0.0030.498789
260.0285850.2620.396986
270.0067790.06210.475303
280.006480.05940.476391
290.0257610.23610.406962
30-0.001877-0.01720.493159
31-0.074333-0.68130.248787
32-0.063899-0.58560.279843
33-0.141546-1.29730.099041
34-0.150931-1.38330.085118
35-0.13427-1.23060.110954
36-0.124785-1.14370.128004
37-0.15837-1.45150.075184
38-0.172929-1.58490.058371
39-0.180357-1.6530.051032
40-0.173818-1.59310.057451
41-0.19479-1.78530.038912
42-0.195843-1.79490.038131
43-0.188901-1.73130.043534
44-0.175904-1.61220.055336
45-0.17688-1.62110.054369
46-0.167552-1.53560.064193
47-0.183732-1.68390.047954
48-0.116265-1.06560.144832
49-0.164859-1.5110.067276
50-0.191146-1.75190.041722
51-0.222169-2.03620.02244
52-0.219266-2.00960.023842
53-0.228157-2.09110.019771
54-0.227093-2.08130.020224
55-0.228655-2.09570.019562
56-0.235116-2.15490.017017
57-0.222589-2.04010.022243
58-0.228572-2.09490.019596
59-0.229551-2.10390.01919
60-0.201257-1.84460.034314


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.6498395.95590
20.3403393.11930.001242
30.3373973.09230.001348
4-0.111258-1.01970.1554
50.0345530.31670.376136
60.186011.70480.045963
7-0.084396-0.77350.220698
80.0039880.03660.485464
90.1471151.34830.090588
10-0.127733-1.17070.122517
110.0250960.230.409323
120.129381.18580.119524
13-0.238861-2.18920.015679
14-0.020959-0.19210.424066
15-0.103945-0.95270.171746
160.1666311.52720.065234
170.0458330.42010.337755
18-0.014366-0.13170.44778
19-0.079779-0.73120.23335
200.0665610.610.27174
21-0.1331-1.21990.112961
22-0.066743-0.61170.27119
23-0.023717-0.21740.414224
240.0829730.76050.224553
250.0119690.10970.456455
26-0.089482-0.82010.207234
270.055320.5070.306736
280.0560740.51390.304328
29-0.055472-0.50840.306249
30-0.016976-0.15560.438364
31-0.069599-0.63790.262641
32-0.106627-0.97720.165626
33-0.087085-0.79810.213518
340.0163080.14950.440772
350.0412480.3780.353175
360.0434360.39810.345785
37-0.086925-0.79670.213941
38-0.047681-0.4370.331615
390.0255970.23460.407543
400.0179830.16480.43474
41-0.061624-0.56480.28686
420.0398260.3650.35801
430.1004070.92020.180041
440.0286430.26250.396783
45-0.025787-0.23630.406872
46-0.03642-0.33380.369683
47-0.058695-0.53790.296018
480.0775670.71090.239554
49-0.040654-0.37260.355192
50-0.034215-0.31360.377306
51-0.159437-1.46130.073837
52-0.021421-0.19630.422415
530.0436610.40020.345027
54-0.049409-0.45280.325915
55-0.044482-0.40770.342273
56-0.047664-0.43680.331672
570.0190380.17450.430951
580.0632430.57960.281856
59-0.01202-0.11020.456269
60-0.055622-0.50980.305769
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/20/t1261341862viw2ln72qw0n7rj/11coq1261341805.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/20/t1261341862viw2ln72qw0n7rj/11coq1261341805.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/20/t1261341862viw2ln72qw0n7rj/29ks91261341805.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/20/t1261341862viw2ln72qw0n7rj/29ks91261341805.ps (open in new window)


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