Home » date » 2008 » Dec » 23 »

ACF productie

*Unverified author*
R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Mon, 22 Dec 2008 17:34:11 -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/23/t1229992532ftk1isfwdmsc30v.htm/, Retrieved Tue, 23 Dec 2008 01:35:33 +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/23/t1229992532ftk1isfwdmsc30v.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 «
98.6 98 106.8 96.6 100.1 107.7 91.5 97.8 107.4 117.5 105.6 97.4 99.5 98 104.3 100.6 101.1 103.9 96.9 95.5 108.4 117 103.8 100.8 110.6 104 112.6 107.3 98.9 109.8 104.9 102.2 123.9 124.9 112.7 121.9 100.6 104.3 120.4 107.5 102.9 125.6 107.5 108.8 128.4 121.1 119.5 128.7 108.7 105.5 119.8 111.3 110.6 120.1 97.5 107.7 127.3 117.2 119.8 116.2
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time8 seconds
R Server'George Udny Yule' @ 72.249.76.132


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.3495722.70780.004406
20.1522491.17930.121464
30.4624043.58180.000342
40.0758020.58720.27965
50.1826581.41490.081139
60.4875363.77640.000184
70.0745190.57720.282974
80.1250150.96840.168376
90.34042.63670.005321
100.0332350.25740.398861
110.292722.26740.01349
120.5860274.53931.4e-05
130.1341.0380.151728
140.1129640.8750.192526
150.2005751.55360.062764
16-0.093721-0.7260.235343
170.0642690.49780.310213
180.1493221.15660.126001
19-0.117045-0.90660.184115
20-0.046254-0.35830.360696
21-0.01333-0.10330.459052
22-0.164819-1.27670.103317
230.0545820.42280.33698
240.1527161.18290.120751
25-0.046416-0.35950.360229
26-0.067842-0.52550.300586
27-0.12683-0.98240.164919
28-0.263166-2.03850.022958
29-0.170912-1.32390.095282
30-0.116341-0.90120.18555
31-0.210528-1.63070.054092
32-0.17431-1.35020.091011
33-0.172062-1.33280.093821
34-0.228223-1.76780.041089
35-0.123199-0.95430.171881
36-0.001634-0.01270.494971
37-0.126459-0.97950.165622
38-0.181516-1.4060.082438
39-0.142871-1.10670.136426
40-0.239789-1.85740.034082
41-0.208492-1.6150.055782
42-0.099801-0.77310.221263
43-0.162158-1.25610.106979
44-0.192769-1.49320.070315
45-0.162984-1.26250.105833
46-0.161309-1.24950.108168
47-0.089768-0.69530.244762
480.0167590.12980.448574
49-0.059905-0.4640.322155
50-0.101143-0.78350.218222
51-0.040508-0.31380.377392
52-0.101613-0.78710.217163
53-0.079944-0.61920.26905
54-0.021658-0.16780.433667
55-0.074983-0.58080.281769
56-0.072632-0.56260.2879
57-0.040675-0.31510.376903
58-0.035683-0.27640.391596
59-0.014033-0.10870.456903
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.3495722.70780.004406
20.0342310.26520.3959
30.4551223.52540.000408
4-0.307873-2.38480.010133
50.3862982.99230.002008
60.1200830.93020.178008
7-0.106135-0.82210.207133
80.0727640.56360.287555
90.0269440.20870.417692
100.0149740.1160.454025
110.3028482.34590.011153
120.2823642.18720.016319
13-0.123195-0.95430.17189
14-0.163565-1.2670.105032
15-0.200983-1.55680.062388
16-0.060435-0.46810.320695
17-0.155874-1.20740.116009
18-0.160931-1.24660.108701
19-0.003001-0.02320.490766
20-0.174999-1.35550.090164
21-0.060343-0.46740.320948
22-0.074778-0.57920.282303
23-0.019829-0.15360.439221
24-0.003138-0.02430.490344
250.0831480.64410.260995
26-0.06655-0.51550.304051
27-0.044536-0.3450.365661
28-0.100807-0.78080.218982
29-0.060462-0.46830.32062
300.0789490.61150.271576
310.020010.1550.438673
320.1510871.17030.123252
330.0579270.44870.327632
340.0366910.28420.388614
35-0.040849-0.31640.376393
360.1102220.85380.198311
37-0.145173-1.12450.132639
380.0284730.22060.413095
390.0581650.45050.32697
400.0381410.29540.384339
410.0234450.18160.428253
42-0.060222-0.46650.321283
430.067520.5230.301448
44-0.181936-1.40930.081959
45-0.111739-0.86550.195099
460.0492960.38180.351963
47-0.047931-0.37130.355872
48-0.039447-0.30560.380502
49-0.048428-0.37510.354446
500.0391750.30340.381299
51-0.01836-0.14220.443694
520.0848090.65690.25687
530.0458080.35480.361981
54-0.043981-0.34070.367269
55-0.074311-0.57560.283516
560.0198640.15390.439116
570.0075510.05850.476776
58-0.006559-0.05080.479824
59-0.083083-0.64360.261157
60NANANA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/23/t1229992532ftk1isfwdmsc30v/1njum1229992442.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/23/t1229992532ftk1isfwdmsc30v/1njum1229992442.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/23/t1229992532ftk1isfwdmsc30v/268d41229992442.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/23/t1229992532ftk1isfwdmsc30v/268d41229992442.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