Home » date » 2011 » Apr » 27 »

Autocorrelatiefunctie (met degree aangepast) wisselkoers

*Unverified author*
R Software Module: /rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Wed, 27 Apr 2011 12:54:27 +0000
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2011/Apr/27/t130390873043iid51flvuhr1m.htm/, Retrieved Wed, 27 Apr 2011 14:52:13 +0200
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
KDGP2W12
 
Dataseries X:
» Textbox « » Textfile « » CSV «
1.2638 1.2640 1.2261 1.1989 1.2000 1.2146 1.2266 1.2191 1.2224 1.2507 1.2997 1.3406 1.3123 1.3013 1.3185 1.2943 1.2697 1.2155 1.2041 1.2295 1.2234 1.2022 1.1789 1.1861 1.2126 1.1940 1.2028 1.2273 1.2767 1.2661 1.2681 1.2810 1.2722 1.2617 1.2888 1.3205 1.2993 1.3080 1.3246 1.3513 1.3518 1.3421 1.3726 1.3626 1.3910 1.4233 1.4683 1.4559 1.4728 1.4759 1.5520 1.5754 1.5554 1.5562 1.5759 1.4955 1.4342 1.3266 1.2744 1.3511 1.3244 1.2797 1.3050 1.3199 1.3646 1.4014 1.4092 1.4266 1.4575 1.4821 1.4908 1.4579 1.4266 1.3680 1.3570 1.3417 1.2563 1.2223 1.2811 1.2903 1.3103 1.3901 1.3654 1.3221
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 seconds
R Server'Gwilym Jenkins' @ www.wessa.org


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.2940322.67880.004454
2-0.039784-0.36240.35897
30.1210111.10250.136724
40.051160.46610.321187
5-0.023507-0.21420.415475
6-0.11348-1.03390.152104
7-0.341757-3.11360.001268
8-0.219098-1.99610.024602
9-0.100184-0.91270.182018
10-0.112326-1.02330.15456
11-0.125533-1.14370.128026
12-0.14794-1.34780.090696
13-0.045492-0.41450.339806
140.0773720.70490.241427
150.1670761.52210.065888
160.1900851.73180.043516
170.0391480.35670.361129
180.0884570.80590.211306
190.213651.94640.027492
200.0873770.7960.214138
21-0.026425-0.24070.405175
22-3.5e-05-3e-040.499872
23-0.173742-1.58290.058628
24-0.069514-0.63330.264139
25-0.041318-0.37640.35378
26-0.106041-0.96610.168406
27-0.039706-0.36170.359233
28-0.011945-0.10880.456804
29-0.127028-1.15730.125239
30-0.024579-0.22390.411683
310.0312470.28470.388303
32-0.059155-0.53890.295691
33-0.095896-0.87370.192413
34-0.025631-0.23350.40797
350.1217121.10880.13535
360.0976480.88960.188121
37-0.043301-0.39450.347114
38-0.056969-0.5190.302567
390.1040680.94810.172915
400.2168651.97570.025754
410.0665540.60630.272974
42-0.056433-0.51410.304264
430.0019130.01740.493068
44-0.005029-0.04580.481784
45-0.050293-0.45820.324007
46-0.098844-0.90050.185228
47-0.174113-1.58620.058243
48-0.145116-1.32210.094889


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.2940322.67880.004454
2-0.138185-1.25890.105793
30.1952411.77870.039472
4-0.067414-0.61420.27039
50.014180.12920.448761
6-0.148494-1.35280.089889
7-0.307757-2.80380.003143
8-0.043977-0.40060.344854
9-0.094957-0.86510.194738
100.0068870.06270.475059
11-0.083692-0.76250.223971
12-0.126108-1.14890.126948
13-0.033477-0.3050.380569
14-0.048836-0.44490.328769
150.1296831.18150.120395
160.0885980.80720.21094
17-0.09186-0.83690.20253
180.043380.39520.34685
190.0279580.25470.39979
20-0.009257-0.08430.466498
21-0.013045-0.11880.452843
220.0606990.5530.290876
23-0.172664-1.5730.059756
240.0634560.57810.282377
25-0.067703-0.61680.269527
260.0916310.83480.203114
270.0681470.62090.268199
280.0088160.08030.468089
29-0.137951-1.25680.106176
30-0.063188-0.57570.283198
31-0.01481-0.13490.446497
32-0.086402-0.78720.216715
33-0.095755-0.87240.192761
34-0.059467-0.54180.294714
350.0725510.6610.255229
36-0.021843-0.1990.421377
37-0.09723-0.88580.18914
38-0.080438-0.73280.232866
390.1273981.16070.124556
400.1317041.19990.116799
41-0.041382-0.3770.353564
42-0.011814-0.10760.457276
43-0.026155-0.23830.406123
44-0.102048-0.92970.177612
45-0.014816-0.1350.446478
46-0.138281-1.25980.105636
470.0102260.09320.462999
48-0.041757-0.38040.352303
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2011/Apr/27/t130390873043iid51flvuhr1m/1cyaq1303908864.png (open in new window)
http://www.freestatistics.org/blog/date/2011/Apr/27/t130390873043iid51flvuhr1m/1cyaq1303908864.ps (open in new window)


http://www.freestatistics.org/blog/date/2011/Apr/27/t130390873043iid51flvuhr1m/204ru1303908864.png (open in new window)
http://www.freestatistics.org/blog/date/2011/Apr/27/t130390873043iid51flvuhr1m/204ru1303908864.ps (open in new window)


http://www.freestatistics.org/blog/date/2011/Apr/27/t130390873043iid51flvuhr1m/3hcjq1303908864.png (open in new window)
http://www.freestatistics.org/blog/date/2011/Apr/27/t130390873043iid51flvuhr1m/3hcjq1303908864.ps (open in new window)


 
Parameters (Session):
par1 = 48 ; par2 = 1 ; par3 = 1 ; par4 = 0 ; par5 = 12 ; par6 = White Noise ; par7 = 0.95 ;
 
Parameters (R input):
par1 = 48 ; par2 = 1 ; par3 = 1 ; par4 = 0 ; 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 (par8 != '') par8 <- as.numeric(par8)
ox <- x
if (par8 == '') {
if (par2 == 0) {
x <- log(x)
} else {
x <- (x ^ par2 - 1) / par2
}
} else {
x <- log(x,base=par8)
}
if (par3 > 0) x <- diff(x,lag=1,difference=par3)
if (par4 > 0) x <- diff(x,lag=par5,difference=par4)
bitmap(file='picts.png')
op <- par(mfrow=c(2,1))
plot(ox,type='l',main='Original Time Series',xlab='time',ylab='value')
if (par8=='') {
mytitle <- paste('Working Time Series (lambda=',par2,', d=',par3,', D=',par4,')',sep='')
mysub <- paste('(lambda=',par2,', d=',par3,', D=',par4,', CI=', par7, ', CI type=',par6,')',sep='')
} else {
mytitle <- paste('Working Time Series (base=',par8,', d=',par3,', D=',par4,')',sep='')
mysub <- paste('(base=',par8,', d=',par3,', D=',par4,', CI=', par7, ', CI type=',par6,')',sep='')
}
plot(x,type='l', main=mytitle,xlab='time',ylab='value')
par(op)
dev.off()
bitmap(file='pic1.png')
racf <- acf(x, par1, main='Autocorrelation', xlab='time lag', ylab='ACF', ci.type=par6, ci=par7, sub=mysub)
dev.off()
bitmap(file='pic2.png')
rpacf <- pacf(x,par1,main='Partial Autocorrelation',xlab='lags',ylab='PACF',sub=mysub)
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