Home » date » 2010 » Aug » 17 »

aantal bezoekers

*Unverified author*
R Software Module: /rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Tue, 17 Aug 2010 12:16:20 +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/Aug/17/t12820473540y3zbo7f4uz4fsl.htm/, Retrieved Tue, 17 Aug 2010 14:16:00 +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/2010/Aug/17/t12820473540y3zbo7f4uz4fsl.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:
Trouillard Olivier
 
Dataseries X:
» Textbox « » Textfile « » CSV «
80 79 78 76 74 73 74 76 77 77 78 80 90 90 89 82 78 76 74 78 81 82 88 99 117 113 106 100 97 96 100 104 104 111 117 118 140 147 134 126 116 114 120 122 117 119 132 134 154 152 132 130 123 129 124 128 128 129 141 138 155 160 142 133 131 140 134 134 134 136 145 137 152 168 160 157 147 161 159 164 163 158 175 163
 
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'George Udny Yule' @ 72.249.76.132


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.0401790.3660.357632
2-0.076079-0.69310.245087
3-0.123698-1.12690.131507
4-0.225818-2.05730.021398
50.0797990.7270.234634
6-0.22433-2.04370.022075
7-0.016555-0.15080.44024
8-0.27753-2.52840.006676
9-0.002232-0.02030.491912
100.0213910.19490.42298
11-0.050595-0.46090.323022
120.689366.28040
130.1614581.4710.072542
14-0.053385-0.48640.313995
15-0.123512-1.12520.131864
16-0.221726-2.020.023303
170.0433410.39490.346982
18-0.134115-1.22180.112613
19-0.022321-0.20340.419677
20-0.272321-2.4810.007561
21-0.061198-0.55750.28933
220.1207221.09980.137294
23-0.036086-0.32880.371582
240.4960944.51961e-05
250.1302081.18630.119453
26-0.083519-0.76090.224437
27-0.082589-0.75240.226962
28-0.156994-1.43030.078195
290.0308780.28130.389586
30-0.125372-1.14220.128329
310.0158110.1440.442907
32-0.189918-1.73020.043652
33-0.073475-0.66940.252553
340.1062130.96760.168017
35-0.014137-0.12880.448916
360.3130582.85210.00274
370.130581.18960.118789
38-0.104539-0.95240.171832
39-0.072917-0.66430.254169
40-0.059524-0.54230.294537
410.0522690.47620.317593
42-0.062686-0.57110.284739
43-0.034412-0.31350.37734
44-0.085379-0.77780.219436
45-0.018973-0.17290.431593
460.0961680.87610.191743
47-0.052083-0.47450.318194
480.1143971.04220.15017


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.0401790.3660.357632
2-0.077819-0.7090.240167
3-0.118182-1.07670.142369
4-0.227273-2.07060.020754
50.0766530.69830.243457
6-0.301102-2.74320.003727
7-0.044175-0.40250.344194
8-0.439145-4.00086.8e-05
9-0.036309-0.33080.370819
10-0.386253-3.51890.000353
11-0.230789-2.10260.019266
120.5096874.64356e-06
130.1797981.6380.052599
14-0.093616-0.85290.198089
150.1037690.94540.173604
16-0.039609-0.36090.359563
17-0.084219-0.76730.222549
18-0.006704-0.06110.475724
190.0469840.4280.334864
20-0.015131-0.13790.445345
21-0.125551-1.14380.127992
22-0.003814-0.03470.486182
230.0065710.05990.476205
240.0100390.09150.463675
25-0.163356-1.48820.070239
26-0.125084-1.13960.128871
27-0.053953-0.49150.312172
28-0.038142-0.34750.364551
29-0.092047-0.83860.202055
30-0.040029-0.36470.358139
310.024140.21990.413234
320.023860.21740.414224
33-0.034415-0.31350.377329
34-0.08477-0.77230.221067
350.0424630.38690.349926
36-0.192589-1.75460.041512
37-0.090115-0.8210.207002
38-0.113083-1.03020.152945
390.0029230.02660.489409
40-0.033552-0.30570.380308
41-0.0029-0.02640.489492
420.0288310.26270.396729
43-0.052414-0.47750.317126
440.0012710.01160.495396
450.1321091.20360.116089
46-0.022721-0.2070.418259
47-0.072807-0.66330.254487
48-0.095393-0.86910.193656
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Aug/17/t12820473540y3zbo7f4uz4fsl/11sls1282047378.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Aug/17/t12820473540y3zbo7f4uz4fsl/11sls1282047378.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Aug/17/t12820473540y3zbo7f4uz4fsl/2u12v1282047378.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Aug/17/t12820473540y3zbo7f4uz4fsl/2u12v1282047378.ps (open in new window)


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