Home » date » 2010 » Dec » 22 »

acf 2 hooggeschoolden

*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: Wed, 22 Dec 2010 14:30:09 +0000
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2010/Dec/22/t129302808385spdivf15t9z1p.htm/, Retrieved Wed, 22 Dec 2010 15:28:05 +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/2010/Dec/22/t129302808385spdivf15t9z1p.htm/},
    year = {2010},
}
@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 = {2010},
    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 «
19246 17549 16428 16209 15235 16186 24971 30776 26416 23157 20155 19790 18849 17573 16597 16158 15507 16433 26325 31144 30535 27596 24064 23854 22407 21125 20226 19547 18933 20372 34331 37329 36761 32737 29321 28883 27436 25101 23776 23782 23027 25606 41328 44751 42855 37628 33544 33275 32009 30813 29143 28121 27007 29112 44067 48481 46581 41166 36824 35936 33633 31630 30434 28546 27660 29830 45599 49303 44417 40386 35544 35019 30400 29602 27701 27937 27283 29372 42821 45386 40170 34371 30077 29251 27202 25714 23784 22968 22243 24255 37282 38794 31828 27949 24605 25695 23338 21941 22034 20637 19418 22454 33261 34995 29132 26171 23828 25743 25204 25679 25281 25136 24794 28278 40062 42590 37885 34061 32412 34647 31750 31288 29331 28768 27780 30113 41240 43271 38108 34382 31551
 
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.003121-0.03390.486505
20.1549391.68310.047503
3-0.059193-0.6430.260734
40.0409180.44450.328753
5-0.002457-0.02670.489378
6-0.034102-0.37040.35586
70.0515460.55990.288292
8-0.036908-0.40090.3446
90.1123341.22030.1124
100.1441231.56560.060063
110.0886740.96320.168698
12-0.088884-0.96550.168129
130.0583020.63330.263875
14-0.024697-0.26830.394477
15-0.070803-0.76910.221679
16-0.182546-1.9830.024848
17-0.126936-1.37890.08527
180.0275560.29930.382606
19-0.016605-0.18040.428585
200.079770.86650.19398
21-0.006131-0.06660.473507
220.0145770.15830.437227
23-0.016147-0.17540.430534
24-0.01066-0.11580.454006
25-0.066681-0.72430.235146
26-0.124542-1.35290.089342
27-0.116647-1.26710.103804
280.0402060.43670.331546
29-0.018708-0.20320.419658
30-0.087138-0.94660.172899
31-0.082053-0.89130.187285
320.0308860.33550.368917
33-0.076377-0.82970.204202
340.0769920.83630.202325
350.0529850.57560.283003
36-0.056175-0.61020.271445
37-0.07476-0.81210.209185
38-0.179934-1.95460.026499
390.0508490.55240.290872
40-0.090285-0.98080.164361
410.0470260.51080.305212
42-0.027254-0.29610.383854
430.0653260.70960.23967
44-0.063186-0.68640.246912
450.0587880.63860.26216
460.0340040.36940.356255
47-0.068822-0.74760.228095
48-0.116051-1.26060.104963


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.003121-0.03390.486505
20.1549311.6830.047511
3-0.059736-0.64890.258834
40.0176280.19150.424238
50.0160030.17380.431146
6-0.048041-0.52190.301375
70.0553370.60110.27446
8-0.026303-0.28570.387794
90.0943961.02540.153635
100.1677561.82230.035471
110.0522060.56710.285861
12-0.130299-1.41540.079791
130.0574830.62440.266776
14-0.000121-0.00130.499476
15-0.104911-1.13960.128376
16-0.18001-1.95540.026449
17-0.124708-1.35470.089055
180.0676330.73470.231997
19-0.002905-0.03160.487441
200.0065050.07070.471893
210.0174850.18990.424845
220.0276490.30030.382221
23-0.00313-0.0340.486466
24-0.022138-0.24050.405189
25-0.011792-0.12810.449144
26-0.033241-0.36110.359338
27-0.089835-0.97590.165566
280.0374430.40670.34247
29-0.010275-0.11160.45566
30-0.122251-1.3280.093373
31-0.136634-1.48420.070208
320.0186880.2030.419741
33-0.102394-1.11230.134138
340.0903130.98110.164287
350.147221.59920.056223
36-0.02131-0.23150.408668
37-0.042639-0.46320.322046
38-0.214008-2.32470.010898
390.0428860.46590.321085
400.0474270.51520.303693
41-0.006438-0.06990.47218
42-0.079737-0.86620.194079
430.0352790.38320.351121
44-0.079558-0.86420.194611
45-0.001956-0.02130.49154
460.042150.45790.323944
47-0.073675-0.80030.212567
48-0.153594-1.66850.048938
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/22/t129302808385spdivf15t9z1p/1fn1w1293028207.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/22/t129302808385spdivf15t9z1p/1fn1w1293028207.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/22/t129302808385spdivf15t9z1p/2fn1w1293028207.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/22/t129302808385spdivf15t9z1p/2fn1w1293028207.ps (open in new window)


 
Parameters (Session):
par1 = 48 ; par2 = 1 ; par3 = 1 ; par4 = 1 ; par5 = 12 ; par6 = White Noise ; par7 = 0.95 ;
 
Parameters (R input):
par1 = 48 ; par2 = 1 ; par3 = 1 ; par4 = 1 ; par5 = 12 ; par6 = White Noise ; par7 = 0.95 ;
 
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 (par6 == 'White Noise') par6 <- 'white' else par6 <- 'ma'
par7 <- as.numeric(par7)
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='time lag', ylab='ACF', ci.type=par6, ci=par7, sub=paste('(lambda=',par2,', d=',par3,', D=',par4,', CI=', par7, ', CI type=',par6,')',sep=''))
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