Home » date » 2007 » Dec » 15 » attachments

autocorrelatie: export D=1 en d=0

R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Sat, 15 Dec 2007 02:28:58 -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/15/t1197709981k2s2yvnpsw9yxcb.htm/, Retrieved Sat, 15 Dec 2007 10:13:03 +0100
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
544.5 619.8 777.6 640.4 633 722 860.1 495.1 692.8 766.7 648.5 640 681.6 752.5 1031.7 685.5 887.6 655.4 944.2 626.6 1221.8 939.6 886.6 811.3 774.7 910.6 911.6 697.7 829.8 824.3 885.6 538.9 686 878.7 812.7 640.4 773.9 795.9 836.3 876.1 851.7 692.4 877.3 536.8 705.9 951 755.7 695.5 744.8 672.1 666.6 760.8 756 604.4 883.9 527.9 756.2 812.9 655.6 707.6
 
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.92820
10.3798182.63150.005699
20.3951632.73780.004326
30.190111.31710.097026
40.2835991.96480.027618
50.2107831.46030.075355
60.2454431.70050.047756
70.0568940.39420.347599
80.0818040.56680.286761
90.1701331.17870.122161
10-0.109653-0.75970.774424
11-0.063016-0.43660.667817
12-0.343709-2.38130.989367
13-0.149445-1.03540.847162
14-0.082475-0.57140.714803
15-0.02115-0.14650.557941
16-0.07456-0.51660.696085
170.0147320.10210.459565
18-0.0725-0.50230.69112
19-0.02045-0.14170.556039
200.0122340.08480.466402
21-0.083474-0.57830.717125
22-0.038944-0.26980.60577
230.018580.12870.449057
24-0.018707-0.12960.551291
250.0652650.45220.326592
260.0027270.01890.492502
27-0.040572-0.28110.610076
28-0.141269-0.97870.833692
29-0.136475-0.94550.825437
30-0.162335-1.12470.866843
31-0.073629-0.51010.693847
32-0.095131-0.65910.743505
33-0.09281-0.6430.73836
34-0.084305-0.58410.71905
35-0.103718-0.71860.762059


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
00.3798182.63150.005699
10.2931992.03130.023889
2-0.03495-0.24210.595147
30.1591371.10250.137864
40.0691980.47940.31691
50.0675150.46780.321038
6-0.139297-0.96510.830328
7-0.023802-0.16490.565145
80.1939041.34340.092729
9-0.35933-2.48950.991845
10-0.066621-0.46160.67676
11-0.298263-2.06640.977897
120.0527210.36530.35826
130.2267751.57110.061359
14-0.032693-0.22650.589114
150.2202711.52610.066776
160.0865610.59970.275759
17-0.056664-0.39260.651816
180.0358540.24840.402442
19-0.070778-0.49040.686946
200.0114570.07940.468531
21-0.285948-1.98110.973338
22-0.03303-0.22880.590018
23-0.150855-1.04520.849407
240.0529260.36670.357735
250.1511591.04730.150112
260.012140.08410.466661
27-0.038751-0.26850.605258
28-0.064915-0.44970.672539
29-0.010627-0.07360.529193
300.0233820.1620.435996
31-0.008916-0.06180.524501
32-0.003296-0.02280.509062
33-0.18449-1.27820.896335
340.0329720.22840.410139
35-0.115605-0.80090.786443
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/15/t1197709981k2s2yvnpsw9yxcb/1e8i11197710937.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/15/t1197709981k2s2yvnpsw9yxcb/1e8i11197710937.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/15/t1197709981k2s2yvnpsw9yxcb/25y551197710937.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/15/t1197709981k2s2yvnpsw9yxcb/25y551197710937.ps (open in new window)


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