Home » date » 2009 » May » 14 »

dorien storms autocor eigen opdracht

*Unverified author*
R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Thu, 14 May 2009 08:53:42 -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/May/14/t12423128715ta34dn222q50t5.htm/, Retrieved Thu, 14 May 2009 16:54:31 +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/May/14/t12423128715ta34dn222q50t5.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 «
65 65,05 65,84 66,6 67,55 68,07 69,06 69,06 69,11 69,29 69,38 69,28 69,75 69,9 70,21 70,48 71,55 72,18 72,64 72,77 72,74 73,13 73,44 73,34 73,34 73,81 74,26 74,72 75,11 75,26 75,89 75,91 76,43 76,56 76,76 76,76 76,56 76,82 77,09 77,51 77,76 77,86 77,89 77,94 77,99 78,17 78,91 78,87 78,88 79,08 79,41 79,51 79,73 80,38 80,56 80,46 80,45 80,58 80,68 80,52 81,49 81,66 81,95 82,3 82,4 83,14 83,17 83,11 83,21 83,33 83,88 83,8 83,73
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.9508318.12390
20.8986717.67820
30.847867.24410
40.8012316.84570
50.7583326.47920
60.7168416.12470
70.6792965.80390
80.6399115.46740
90.6018545.14221e-06
100.5633544.81334e-06
110.5242854.47951.4e-05
120.4835454.13144.7e-05
130.4433283.78780.000155
140.4053913.46370.000448
150.3660193.12730.001267
160.3267882.79210.003341
170.2921642.49620.007405
180.2598072.21980.01477
190.2284171.95160.027412
200.1970071.68320.048301
210.1664631.42230.079604
220.1373161.17320.122259
230.1086910.92870.178064
240.07890.67410.251181
250.0479080.40930.341751
260.0180720.15440.438858
27-0.010888-0.0930.463068
28-0.035539-0.30360.381132
29-0.058981-0.50390.307913
30-0.082289-0.70310.242122
31-0.10315-0.88130.190521
32-0.124839-1.06660.144829
33-0.144311-1.2330.110767
34-0.163382-1.39590.083482
35-0.180828-1.5450.063336
36-0.198746-1.69810.046875
37-0.218142-1.86380.033185
38-0.2381-2.03430.022776
39-0.257588-2.20080.015456
40-0.274668-2.34680.010827
41-0.290906-2.48550.007614
42-0.305313-2.60860.00551
43-0.320368-2.73720.003889
44-0.333736-2.85140.002828
45-0.347779-2.97140.002006
46-0.360044-3.07620.001475
47-0.367182-3.13720.00123
48-0.373917-3.19470.001034


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.9508318.12390
2-0.056388-0.48180.315702
3-0.012463-0.10650.457746
40.0153880.13150.447881
50.0106730.09120.463795
6-0.011061-0.09450.462484
70.0186410.15930.43695
8-0.041302-0.35290.362596
9-0.005812-0.04970.480266
10-0.025869-0.2210.412845
11-0.028551-0.24390.40398
12-0.042056-0.35930.360194
13-0.018827-0.16090.436325
14-0.006401-0.05470.478267
15-0.043603-0.37250.355283
16-0.027505-0.2350.407432
170.0202690.17320.431496
18-0.007446-0.06360.474724
19-0.01636-0.13980.444609
20-0.022626-0.19330.423622
21-0.014911-0.12740.449486
22-0.008592-0.07340.470839
23-0.017728-0.15150.440014
24-0.039114-0.33420.369598
25-0.037919-0.3240.373439
26-0.015069-0.12870.448956
27-0.02166-0.18510.426845
280.0113010.09660.461673
29-0.018291-0.15630.438124
30-0.02459-0.21010.417088
314.5e-054e-040.499849
32-0.034319-0.29320.385092
33-0.001727-0.01480.494133
34-0.017649-0.15080.440278
35-0.008449-0.07220.471325
36-0.030881-0.26380.396322
37-0.04059-0.34680.364868
38-0.034282-0.29290.385212
39-0.022312-0.19060.42467
40-0.009953-0.0850.466231
41-0.023717-0.20260.419992
42-0.014869-0.1270.449629
43-0.036615-0.31280.377647
44-0.007651-0.06540.474028
45-0.037323-0.31890.375361
46-0.009782-0.08360.466811
470.025110.21450.415362
48-0.023074-0.19710.422132
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/14/t12423128715ta34dn222q50t5/1un241242312816.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/14/t12423128715ta34dn222q50t5/1un241242312816.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/14/t12423128715ta34dn222q50t5/2f6xd1242312816.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/14/t12423128715ta34dn222q50t5/2f6xd1242312816.ps (open in new window)


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