Home » date » 2008 » Dec » 15 »

verbetering

*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: Mon, 15 Dec 2008 09:16:38 -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/15/t1229357852jfid5rs50jgtcot.htm/, Retrieved Mon, 15 Dec 2008 17:17:34 +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/15/t1229357852jfid5rs50jgtcot.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 «
83.1 89.6 105.7 110.7 110.4 109 106 100.9 114.3 101.2 109.2 111.6 91.7 93.7 105.7 109.5 105.3 102.8 100.6 97.6 110.3 107.2 107.2 108.1 97.1 92.2 112.2 111.6 115.7 111.3 104.2 103.2 112.7 106.4 102.6 110.6 95.2 89 112.5 116.8 107.2 113.6 101.8 102.6 122.7 110.3 110.5 121.6 100.3 100.7 123.4 127.1 124.1 131.2 111.6 114.2 130.1 125.9 119 133.8 107.5 113.5 134.4 126.8 135.6 139.9 129.8 131 153.1 134.1 144.1 155.9 123.3 128.1 144.3 153 149.9 150.9 141 138.9 157.4 142.9 151.7 161 138.5 135.9 151.5 164 159.1 157 142.1 144.8 152.1 154.6 148.7 157.7 146.7
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Autocorrelation Function
Time lag kACF(k)T-STATP-value
1-0.565004-5.17831e-06
20.129281.18490.119706
30.0634720.58170.281154
4-0.082607-0.75710.225552
50.0693610.63570.263349
6-0.058273-0.53410.297348
70.034070.31230.377809
8-0.164682-1.50930.067483
90.2800562.56680.006019
10-0.24714-2.26510.013041
110.1324761.21420.114044
12-0.154844-1.41920.079775
130.0340940.31250.377726
140.0458860.42050.337579
15-0.022298-0.20440.419283
160.0205630.18850.425484
17-0.128477-1.17750.121158
180.3438363.15130.001127
19-0.326641-2.99370.00181
200.1532731.40480.081888
21-0.016887-0.15480.438685
22-0.104506-0.95780.170453
230.2770882.53960.006471
24-0.241036-2.20910.014944
250.0504150.46210.322618
260.0587470.53840.295854
270.0268560.24610.403086
28-0.200963-1.84190.034512
290.2791092.55810.00616
30-0.279311-2.55990.00613
310.131211.20260.116262
320.074410.6820.248565
33-0.124959-1.14530.127675
340.0383870.35180.362928
35-0.088369-0.80990.210139
360.0794890.72850.234158
37-0.072628-0.66560.253731
380.0739630.67790.249854
39-0.1397-1.28040.101969
400.1932891.77150.04005
41-0.091645-0.83990.201664
42-0.008705-0.07980.468298
43-0.004071-0.03730.485161
440.0613950.56270.287572
45-0.089479-0.82010.207242
460.0487270.44660.328161
470.130991.20050.116651
48-0.234283-2.14720.017328
490.2009861.84210.034497
50-0.062835-0.57590.283115
51-0.083568-0.76590.222938
520.1096441.00490.158915
53-0.133557-1.22410.112175
540.0694560.63660.263066
550.0066750.06120.475683
56-0.007941-0.07280.471077
57-0.047916-0.43920.330837
580.0975730.89430.186867
59-0.087443-0.80140.212573
600.0591310.54190.294646


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.565004-5.17831e-06
2-0.279023-2.55730.006173
3-0.0012-0.0110.495627
4-0.00193-0.01770.492964
50.0425010.38950.348934
6-0.018494-0.16950.432904
7-0.005641-0.05170.479443
8-0.250801-2.29860.012005
90.1027560.94180.174505
10-0.023524-0.21560.414911
110.0369280.33850.367933
12-0.224133-2.05420.021532
13-0.204732-1.87640.032037
14-0.120419-1.10370.136447
150.0593880.54430.293838
160.0658990.6040.273743
17-0.117053-1.07280.143215
180.2117641.94080.027815
198.9e-058e-040.499675
20-0.09478-0.86870.19375
21-0.017834-0.16350.435276
22-0.108659-0.99590.161085
230.2547552.33490.010968
240.0230.21080.416776
25-0.144123-1.32090.09506
260.0301910.27670.391344
270.0702990.64430.260568
28-0.142697-1.30780.097249
290.1491191.36670.087684
30-0.009743-0.08930.46453
310.0378910.34730.364625
32-0.056031-0.51350.304462
330.0248450.22770.410215
34-0.031961-0.29290.385151
35-0.089222-0.81770.207912
36-0.265382-2.43230.008564
37-0.006245-0.05720.477247
380.012890.11810.453121
39-0.107502-0.98530.16366
400.1004740.92090.179879
41-0.108532-0.99470.161366
42-6.4e-05-6e-040.499768
43-0.089343-0.81880.207598
44-0.017914-0.16420.434992
45-0.036332-0.3330.369988
46-0.039675-0.36360.358523
470.0314680.28840.386873
48-0.000575-0.00530.497905
49-0.135385-1.24080.109062
50-0.010925-0.10010.460239
51-0.022577-0.20690.418285
520.0033720.03090.48771
53-0.019278-0.17670.43009
54-0.034704-0.31810.375611
55-0.1292-1.18410.11985
56-0.01744-0.15980.436695
570.0979690.89790.185903
58-0.031572-0.28940.38651
590.1027130.94140.174604
60-0.003548-0.03250.487069
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/15/t1229357852jfid5rs50jgtcot/1neww1229357796.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/15/t1229357852jfid5rs50jgtcot/1neww1229357796.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/15/t1229357852jfid5rs50jgtcot/2epo11229357796.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/15/t1229357852jfid5rs50jgtcot/2epo11229357796.ps (open in new window)


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