Home » date » 2007 » Dec » 14 » attachments

paper: parameters zoeken autocorr

R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Fri, 14 Dec 2007 01:30:10 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2007/Dec/14/t1197620069bcl4ejgqkl26gz4.htm/, Retrieved Fri, 14 Dec 2007 09:14:31 +0100
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
-0.0166 -0.0122 -0.0175 -0.0178 -0.021 0.0075 0.0398 0.0106 -0.0052 -0.0176 0.0041 -0.0091 -0.0133 0.0058 0.01 0.0312 0.0384 0.0368 -0.0144 0.003 0.0003 0.0203 0.0169 0.0439 0.0151 0.0034 0.0041 0.0734 0.0081 -0.0291 -0.0233 0.0083 0.047 0.001 0.0584 0.0327 0.0033 -0.0384 -0.0277 0.0022 0.0131 0.0128 -0.009 0.0042 0.0272 0.0501 0.0417
 
Text written by user:
 
Output produced by software:


Summary of compuational 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
016.85570
10.3725592.55410.006973
2-0.069789-0.47840.682726
3-0.269892-1.85030.964718
4-0.056644-0.38830.650238
5-0.071425-0.48970.686675
6-0.116036-0.79550.78484
70.0742080.50870.306655
80.0617490.42330.336994
90.0714170.48960.313343
100.0899940.6170.270117
110.1978191.35620.090761
120.060520.41490.34005
13-0.069947-0.47950.683108
14-0.216855-1.48670.928112
15-0.26895-1.84380.964241
16-0.182828-1.25340.891872
170.1177930.80760.211709
180.1945511.33380.094353
190.0919780.63060.265689
20-0.055235-0.37870.646682
21-0.020382-0.13970.555266
22-0.079418-0.54450.705652
23-0.190429-1.30550.900964
24-0.07768-0.53250.701572
25-0.019461-0.13340.552783
260.0267020.18310.427769
27-0.011121-0.07620.530224
280.1537871.05430.148565
290.1951961.33820.093635
300.0406680.27880.390809
31-0.105945-0.72630.764378
32-0.145456-0.99720.838113
33-0.035006-0.240.59431
34-0.011703-0.08020.531803
350.0265870.18230.428076
360.0011580.00790.496849
370.0117490.08050.468073
380.0539380.36980.356603
390.0658940.45170.326765
400.0282220.19350.423708
41-0.048139-0.330.628576
42-0.070599-0.4840.684685
43-0.077754-0.53310.701746
44-0.076421-0.52390.698601
45-0.060343-0.41370.659509
46-0.02903-0.1990.578447
47NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
00.3725592.55410.006973
1-0.242207-1.66050.948263
2-0.18177-1.24620.890558
30.1442360.98880.163904
4-0.199806-1.36980.911371
5-0.101153-0.69350.754285
60.251731.72580.045479
7-0.198363-1.35990.909827
80.0848510.58170.28177
90.2349461.61070.05697
10-0.002648-0.01820.507203
11-0.034706-0.23790.593517
120.124830.85580.198227
13-0.291869-2.0010.974404
14-0.190195-1.30390.900693
150.1211460.83050.205217
160.0886340.60760.273175
17-0.200737-1.37620.912357
180.1678931.1510.127774
19-0.062079-0.42560.663827
20-0.182615-1.25190.891608
210.0341860.23440.407859
22-0.074488-0.51070.694013
23-0.040491-0.27760.608728
240.046210.31680.3764
250.0478370.3280.3722
26-0.00129-0.00880.50351
270.0837850.57440.284219
280.077730.53290.29831
29-0.155748-1.06780.854457
30-0.005718-0.03920.515552
310.0794260.54450.29433
320.0421330.28880.386984
33-0.048421-0.3320.629302
340.0025510.01750.493059
35-0.055836-0.38280.648201
36-0.106753-0.73190.766057
370.0194870.13360.447145
380.0477510.32740.372422
39-0.065598-0.44970.672508
400.0044450.03050.487911
410.0663950.45520.325536
42-0.082442-0.56520.712684
43-0.054383-0.37280.644526
44-0.067256-0.46110.676568
45-0.160311-1.0990.861325
46NANANA
47NANANA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/14/t1197620069bcl4ejgqkl26gz4/10pxw1197621008.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/14/t1197620069bcl4ejgqkl26gz4/10pxw1197621008.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/14/t1197620069bcl4ejgqkl26gz4/2tkbj1197621008.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/14/t1197620069bcl4ejgqkl26gz4/2tkbj1197621008.ps (open in new window)


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

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