Home » date » 2009 » Jun » 01 »

Annelies Reul cons vertrouwen oef 6 BIS deel 2

*Unverified author*
R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Mon, 01 Jun 2009 15:16:54 -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/Jun/01/t1243891127u2rx7yefb9y6zni.htm/, Retrieved Mon, 01 Jun 2009 23:18:47 +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/Jun/01/t1243891127u2rx7yefb9y6zni.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 «
-9 -13 -18 -11 -9 -10 -13 -11 -5 -15 -6 -6 -3 -1 -3 -4 -6 0 -4 -2 -2 -6 -7 -6 -6 -3 -2 -5 -11 -11 -11 -10 -14 -8 -9 -5 -1 -2 -5 -4 -6 -2 -2 -2 -2 2 1 -8 -1 1 -1 2 2 1 -1 -2 -2 -1 -8 -4 -6 -3 -3 -7 -9 -11 -13 -11 -9 -17 -22 -25 -20
 
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'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Autocorrelation Function
Time lag kACF(k)T-STATP-value
1-0.258032-2.18950.015902
2-0.078711-0.66790.25317
3-0.027005-0.22910.409703
4-0.006098-0.05170.47944
50.0357550.30340.381234
6-0.040167-0.34080.367111
70.1609461.36570.088146
8-0.075849-0.64360.260939
90.0350360.29730.38355
10-0.038801-0.32920.371464
11-0.014808-0.12570.450178
120.0202750.1720.431943
130.0432680.36710.357296
14-0.080145-0.68010.249325
15-0.034916-0.29630.383939
160.1153160.97850.165554
17-0.095768-0.81260.209559
18-0.035986-0.30540.380489
190.0880750.74730.228646
20-0.031877-0.27050.393779
21-0.143366-1.21650.113884
220.0034050.02890.488514
230.1256181.06590.145014
24-0.082853-0.7030.242153
25-0.057386-0.48690.31389
260.1809751.53560.064507
27-0.08662-0.7350.232366
28-0.001279-0.01090.495684
290.017710.15030.440484
30-0.117405-0.99620.161241
310.1295871.09960.137589
320.0294950.25030.401543
33-0.010166-0.08630.465749
34-0.095247-0.80820.210819
35-0.039385-0.33420.369601
36-0.006845-0.05810.476922
370.0056820.04820.48084
380.1706181.44770.076015
39-0.108595-0.92150.179943
40-0.053192-0.45130.326547
410.0828770.70320.242088
420.0947090.80360.212127
43-0.04641-0.39380.347445
44-0.072451-0.61480.270322
450.0619220.52540.30045
46-0.051567-0.43760.331507
47-0.032355-0.27450.392227
48-0.004888-0.04150.483517


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.258032-2.18950.015902
2-0.155656-1.32080.095378
3-0.099517-0.84440.200613
4-0.060807-0.5160.303729
50.0038640.03280.486969
6-0.040975-0.34770.364545
70.1575891.33720.092685
80.0140580.11930.452691
90.0650940.55230.291212
10-0.004433-0.03760.485049
11-0.01628-0.13810.445256
12-0.00566-0.0480.480915
130.0527220.44740.327978
14-0.092786-0.78730.216842
15-0.068361-0.58010.281842
160.0643490.5460.293372
17-0.062028-0.52630.300139
18-0.072736-0.61720.26953
190.0612540.51980.302415
20-0.022253-0.18880.425381
21-0.149059-1.26480.105009
22-0.076548-0.64950.259031
230.059010.50070.309048
24-0.045523-0.38630.350215
25-0.088309-0.74930.228051
260.1682131.42730.078903
270.0189480.16080.436359
280.0253870.21540.415027
290.054120.45920.32373
30-0.112713-0.95640.171034
310.0694370.58920.278787
320.0614990.52180.301692
33-0.00422-0.03580.485768
34-0.0647-0.5490.292353
35-0.153167-1.29970.098931
36-0.117191-0.99440.161681
370.0146550.12430.450693
380.1247211.05830.146731
39-0.100569-0.85340.198146
40-0.025737-0.21840.413875
410.1425171.20930.115252
420.1238371.05080.148434
430.0881780.74820.228384
44-0.011831-0.10040.460156
45-0.039972-0.33920.367734
46-0.022784-0.19330.423622
47-0.041036-0.34820.364352
48-0.084865-0.72010.236896
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/01/t1243891127u2rx7yefb9y6zni/1yhrc1243891009.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/01/t1243891127u2rx7yefb9y6zni/1yhrc1243891009.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/01/t1243891127u2rx7yefb9y6zni/2so9n1243891009.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/01/t1243891127u2rx7yefb9y6zni/2so9n1243891009.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