Home » date » 2008 » Dec » 18 »

ACF 00

*The author of this computation has been verified*
R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Thu, 18 Dec 2008 09:04:09 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2008/Dec/18/t12296164127mten3tb6mo49d2.htm/, Retrieved Thu, 18 Dec 2008 17:06:55 +0100
 
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/2008/Dec/18/t12296164127mten3tb6mo49d2.htm/},
    year = {2008},
}
@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 = {2008},
    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 «
897262 1133132 1384548 2324057 2502808 2516762 5579822 4945991 2019915 1830905 1251016 949902 923000 1215747 1479112 2371781 2521576 2350559 5673323 4414295 2016902 1958302 1284086 1186305 957833 1255719 1482709 2361136 2508100 2254488 5669953 4227480 2067790 1958419 1318158 1287921 1076982 1293669 1582053 2393005 2310531 2597899 5507587 4194133 2185092 2122018 1413348 1338342 1052655 1370046 1887027 2448017 2550796 2655837 5269499 4247405 2109722 2143145 1582013 1413221 1118520 1478655 2000108 2085234 2651805 2522176 5170142 4150129 2104254 2211398 1505900 1524305 1093144 1449647 1771197 2445932 2678945 2400737 4796880 4118001 2125714 2125515 1508760 1508765 1091075 1514814 1748997 2424406 2747942 2377332 5210706 3882821 2197469 2271155 1618917 1391579 1143249 1445785 1870242 2597788 2436231 2684184 4705109 4331347 2369192 2283947 1749607 1598601 1221234 1497778 1823567 2489908 2532837 2456065 4627018 4276894 2314950 2238987 1652753 1561968 1115878 1596714 1910242 2286450 2772441 2394538 4715128 4402420 2325392 2306683 1725282 1541370 1168142 1457835 1816380 2446552 2575774 2537852 4728097 4372685 2302672 2346402 1689915 1576183
 
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
10.5695376.83440
20.1660641.99280.024089
3-0.020864-0.25040.40133
4-0.333002-3.9965.1e-05
5-0.547758-6.57310
6-0.648622-7.78350
7-0.521239-6.25490
8-0.287158-3.44590.000373
90.0009070.01090.495667
100.1672542.00710.023308
110.5291746.35010
120.89545610.74550
130.5109386.13130
140.1527411.83290.034442
15-0.015597-0.18720.425896
16-0.297853-3.57420.000239
17-0.489524-5.87430
18-0.585653-7.02780
19-0.469033-5.62840
20-0.259613-3.11540.001109
21-0.006671-0.080.468155
220.1484891.78190.038439
230.4724585.66950
240.8031569.63790
250.4650975.58120
260.1376161.65140.050419
27-0.013148-0.15780.437426
28-0.26557-3.18680.000882
29-0.44287-5.31440
30-0.529885-6.35860
31-0.420277-5.04331e-06
32-0.232622-2.79150.00298
33-0.0106-0.12720.449481
340.1364711.63760.051839
350.4172015.00641e-06
360.7173558.60830
370.4246425.09571e-06
380.1258511.51020.06659
39-0.006701-0.08040.468009
40-0.237095-2.84510.002543
41-0.398237-4.77882e-06
42-0.475233-5.70280
43-0.373201-4.47848e-06
44-0.210387-2.52460.006333
45-0.008857-0.10630.457751
460.1224711.46960.071919
470.3613594.33631.4e-05
480.6356537.62780
490.377794.53356e-06
500.1088931.30670.096697
51-0.003317-0.03980.484152
52-0.210174-2.52210.006377
53-0.351459-4.21752.2e-05
54-0.415923-4.99111e-06
55-0.32755-3.93066.6e-05
56-0.185544-2.22650.013766
57-0.00909-0.10910.456644
580.1036851.24420.107721
590.3137923.76550.000121
600.5560756.67290


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.5695376.83440
2-0.234314-2.81180.002807
3-0.006506-0.07810.468941
4-0.433058-5.19670
5-0.240378-2.88450.002261
6-0.456869-5.48240
7-0.159092-1.90910.029119
8-0.34968-4.19622.4e-05
9-0.106656-1.27990.101325
10-0.637672-7.65210
110.4370485.24460
120.3811024.57325e-06
13-0.375015-4.50027e-06
14-0.015745-0.18890.425201
150.0209030.25080.40115
160.1774242.12910.017474
170.0935541.12260.131729
180.0643070.77170.220785
190.0353570.42430.335995
20-0.053764-0.64520.259922
210.1042561.25110.106468
220.0583130.69980.242604
230.0435610.52270.300983
240.0941791.13010.130147
250.0104670.12560.45011
26-0.032226-0.38670.34977
270.039050.46860.320032
280.0439020.52680.299561
290.0046490.05580.477792
300.0194420.23330.40793
310.0092960.11150.455669
32-0.011158-0.13390.446834
33-0.010406-0.12490.4504
340.0494470.59340.276935
35-0.081993-0.98390.163402
360.0426880.51230.304628
37-0.018834-0.2260.410757
380.0301750.36210.358904
39-0.033562-0.40270.343865
40-0.001552-0.01860.492583
410.0084190.1010.459836
420.0219040.26290.39652
430.0285270.34230.366303
44-0.012939-0.15530.438415
450.0667010.80040.212394
46-0.044573-0.53490.296781
470.0294890.35390.361979
48-0.017696-0.21240.416065
49-0.00411-0.04930.480366
50-0.011074-0.13290.447233
51-0.010031-0.12040.452178
52-0.01826-0.21910.413434
53-0.000685-0.00820.496725
540.002520.03020.487957
55-0.030207-0.36250.358762
560.0038580.04630.481568
57-0.039766-0.47720.316974
58-0.00673-0.08080.467874
590.0266960.32040.374583
60-0.0879-1.05480.146641
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/18/t12296164127mten3tb6mo49d2/17dth1229616246.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/18/t12296164127mten3tb6mo49d2/17dth1229616246.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/18/t12296164127mten3tb6mo49d2/2onvq1229616246.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/18/t12296164127mten3tb6mo49d2/2onvq1229616246.ps (open in new window)


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