Home » date » 2009 » Jun » 04 »

opgave6bisoef2stap2

*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, 04 Jun 2009 09:02:05 -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/04/t1244127963wou9tyyktpagtqe.htm/, Retrieved Thu, 04 Jun 2009 17:06:06 +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/04/t1244127963wou9tyyktpagtqe.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 «
0,8832 0,8707 0,8766 0,8860 0,9170 0,9561 0,9935 0,9781 0,9806 0,9812 1,0013 1,0194 1,0622 1,0785 1,0797 1,0862 1,1556 1,1674 1,1365 1,1155 1,1267 1,1714 1,1710 1,2298 1,2638 1,2640 1,2261 1,1989 1,2000 1,2146 1,2266 1,2191 1,2224 1,2507 1,2997 1,3406 1,3123 1,3013 1,3185 1,2943 1,2697 1,2155 1,2041 1,2295 1,2234 1,2022 1,0000 1,1861 1,2126 1,1940 1,2028 1,2273 1,2767 1,2661 1,2681 1,2810 1,2722 1,2617 1,2888 1,3205 1,2993 1,3080 1,3246 1,3513 1,3518 1,3421 1,3726 1,3626 1,3910 1,4233 1,4683 1,4559 1,4728 1,4759 1,5520 1,5754 1,5554 1,5562 1,5759 1,4955 1,4342 1,3266 1,2744 1,3511 1,3244 1,2797 1,3050 1,3203
 
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
1-0.027566-0.25710.398847
2-0.100478-0.93720.175626
30.0023280.02170.491363
40.121611.13430.129892
50.10070.93930.175098
6-0.154222-1.43850.076942
7-0.085664-0.7990.213227
8-0.021765-0.2030.419802
90.0310520.28960.386394
10-0.01825-0.17020.432613
11-0.054344-0.50690.306758
12-0.026621-0.24830.402241
13-0.055389-0.51660.303362
140.068310.63720.26285
15-0.003071-0.02860.488609
16-0.057693-0.53810.295933
17-0.02279-0.21260.416079
180.0226860.21160.416457
190.1053950.98310.164152
20-0.039059-0.36430.358251
21-0.03983-0.37150.355582
22-0.049906-0.46550.32137
23-0.033255-0.31020.378582
240.0030120.02810.488825
25-0.050731-0.47320.318633
26-0.008832-0.08240.467265
270.103260.96310.169072
28-0.063488-0.59220.277633
29-0.157487-1.46890.072727
30-0.08833-0.82390.206129
310.121221.13070.130652
32-0.115663-1.07880.141822
33-0.090156-0.84090.20135
34-0.10489-0.97830.165308
350.1574591.46870.072763
360.1720431.60470.056091
37-0.127098-1.18550.119526
380.0025930.02420.490378
390.1748761.63110.053238
400.0471950.44020.33044
410.010410.09710.461436
420.0127050.11850.452971
430.0441430.41170.340771
44-0.014051-0.13110.448016
450.0457780.4270.33522
46-0.033186-0.30950.378825
47-0.055524-0.51790.302922
48-0.017665-0.16480.434754


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.027566-0.25710.398847
2-0.101315-0.9450.173638
3-0.003554-0.03320.486814
40.1126351.05060.148178
50.1102921.02870.153228
6-0.128873-1.2020.116304
7-0.081309-0.75840.225131
8-0.069826-0.65130.258287
9-0.006273-0.05850.476737
100.000520.00490.498071
11-0.003742-0.03490.48612
12-0.025767-0.24030.405318
13-0.085154-0.79430.214601
140.0410840.38320.351252
15-0.003407-0.03180.487361
16-0.039062-0.36430.358241
17-0.019306-0.18010.428757
180.0001570.00150.499419
190.0730970.68180.248586
20-0.016503-0.15390.43901
21-0.014317-0.13350.447038
22-0.074874-0.69840.243403
23-0.088847-0.82870.204769
24-0.02954-0.27550.391782
25-0.021385-0.19950.421182
260.0139890.13050.448245
270.1319741.2310.110825
28-0.077851-0.72610.234851
29-0.193941-1.8090.036956
30-0.15142-1.41230.080707
310.0618260.57670.282825
32-0.127149-1.1860.119432
33-0.029614-0.27620.391516
34-0.106558-0.99390.161513
350.1014030.94580.17343
360.1363681.2720.103389
37-0.072806-0.67910.249443
38-0.023972-0.22360.411796
390.1271541.1860.119423
40-0.039423-0.36770.35699
410.0189280.17650.430136
420.0869030.81060.209909
430.0550060.51310.304605
44-0.047878-0.44660.328144
45-0.003916-0.03650.485474
46-0.076467-0.71320.238805
47-0.026718-0.24920.401892
480.0507940.47380.318425
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/04/t1244127963wou9tyyktpagtqe/163lu1244127723.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/04/t1244127963wou9tyyktpagtqe/163lu1244127723.ps (open in new window)


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