Home » date » 2009 » Jun » 02 »

Autocorrelation Function eigen reeks 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: Tue, 02 Jun 2009 08:21:36 -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/02/t12439525604r4zpfa4sz2wk7v.htm/, Retrieved Tue, 02 Jun 2009 16:22:42 +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/02/t12439525604r4zpfa4sz2wk7v.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 «
310.95 312.97 315.07 315.43 315.73 315.77 315.77 315.77 313.99 314.57 314.63 314.65 314.65 314.93 315.27 316.26 316.98 317.01 317.07 317.07 317 317.08 317.04 317 317.05 321.59 325.59 326.23 326.28 326.35 326.35 326.35 326.39 326.74 326.9 326.9 326.91 336.93 348.5 349.43 349.26 349.26 349.28 349.61 349.66 349.68 349.91 349.91 350.89 355.52 356.36 357.04 360.28 360.63 360.79 360.97 361 361.01 361 361 361.58 363.19 363.61 364.14 365.51 365.51 365.5 365.5 364.59 364.63 364.54 363.67 365.22 369.05 370.45 370.46 370.46 370.58 370.58 370.22 370.21 370.29 370.29 370.2 370.2 372.55 374.51 375.58 375.75 375.75 375.75 375.69 375.76 377.5 377.51 377.74
 
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.4439634.32721.9e-05
2-0.067981-0.66260.254596
3-0.073104-0.71250.238941
4-0.107776-1.05050.148082
5-0.122163-1.19070.118369
6-0.134976-1.31560.095739
7-0.144914-1.41240.080544
8-0.102172-0.99580.160928
9-0.079778-0.77760.219374
10-0.027365-0.26670.395133
110.2826372.75480.00352
120.452514.41051.4e-05
130.1815581.76960.040001
140.0523670.51040.305474
15-0.000736-0.00720.497147
16-0.11662-1.13670.129267
17-0.15212-1.48270.070735
18-0.162183-1.58080.058628
19-0.156917-1.52940.06474
20-0.103221-1.00610.158467
21-0.054976-0.53580.296659
22-0.011917-0.11610.453889
230.1412941.37720.085849
240.1682161.63960.052201
250.0120990.11790.453187
260.0104320.10170.459613
27-0.02668-0.260.397698
28-0.096541-0.9410.174555
29-0.156232-1.52280.06557
30-0.223336-2.17680.015987
31-0.156425-1.52460.065336
32-0.117164-1.1420.128167
33-0.109077-1.06310.145205
34-0.016421-0.16010.43659
350.2032341.98090.025248
360.272142.65250.004682
370.0813060.79250.21503
38-0.029358-0.28610.387696
39-0.045519-0.44370.329146
40-0.071685-0.69870.243223
41-0.10646-1.03760.151036
42-0.108466-1.05720.146552
43-0.087705-0.85480.197395
44-0.070438-0.68650.24702
45-0.081356-0.7930.214889
46-0.044496-0.43370.332748
470.1348171.3140.095999
480.1971651.92170.028819


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.4439634.32721.9e-05
2-0.330159-3.2180.000883
30.1588251.5480.06247
4-0.229597-2.23780.013784
50.0540770.52710.299685
6-0.191419-1.86570.032583
7-0.013288-0.12950.44861
8-0.101618-0.99040.162236
9-0.054979-0.53590.296652
10-0.009555-0.09310.462999
110.3773373.67780.000195
120.108941.06180.145506
13-0.036063-0.35150.362995
140.1636111.59470.057052
15-0.121366-1.18290.119895
160.0279030.2720.393121
17-0.109525-1.06750.144222
180.0138970.13540.446272
19-0.096515-0.94070.17462
200.0330870.32250.373894
21-0.024734-0.24110.405007
22-0.041879-0.40820.342027
23-0.007591-0.0740.470586
24-0.081158-0.7910.215449
25-0.101875-0.9930.161628
26-0.00711-0.06930.47245
27-0.090969-0.88670.188751
280.0236210.23020.409206
29-0.163733-1.59590.056919
30-0.039238-0.38240.351492
31-0.027521-0.26820.394546
32-0.16468-1.60510.055895
33-0.027202-0.26510.39574
34-0.068728-0.66990.252281
350.2114392.06090.021025
360.0542290.52860.299172
37-0.017417-0.16980.432778
38-0.025926-0.25270.400526
390.0257660.25110.401125
40-0.065361-0.63710.26281
410.082740.80650.210998
420.0029370.02860.488611
430.0247710.24140.404867
440.0901990.87920.190769
45-0.097956-0.95480.171062
46-0.019779-0.19280.423771
47-0.099674-0.97150.166884
48-0.00017-0.00170.49934
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/02/t12439525604r4zpfa4sz2wk7v/17on71243952495.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/02/t12439525604r4zpfa4sz2wk7v/17on71243952495.ps (open in new window)


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