Home » date » 2007 » Dec » 14 » attachments

autocorrelatie functie paper

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 02:07:38 -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/t1197622584dvbouo702hdnhke.htm/, Retrieved Fri, 14 Dec 2007 09:56:24 +0100
 
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 111 112,4 130,6 109,1 118,8 123,9 101,6 112,8 128 129,6 125,8 119,5
 
Text written by user:
s0650948
 
Output produced by software:


Summary of compuational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001


Autocorrelation Function
Time lag kACF(k)T-STATP-value
017.7460
10.137611.06590.145365
20.0451840.350.363786
30.2545211.97150.026641
4-0.01693-0.13110.551948
50.1141610.88430.190037
60.1433621.11050.135612
7-0.143919-1.11480.865308
80.1501771.16330.124664
90.201111.55780.062271
10-0.166487-1.28960.898931
11-0.029221-0.22630.589148
12-0.200332-1.55180.937012
13-0.231195-1.79080.960817
140.0875160.67790.250222
15-0.128368-0.99430.837972
16-0.133917-1.03730.848124
170.2165211.67720.049356
18-0.09325-0.72230.763545
19-0.163407-1.26570.894751
20-0.044491-0.34460.63421
21-0.136736-1.05920.853112
22-0.124903-0.96750.83141
230.0455560.35290.362708
24-0.245983-1.90540.969237
25-0.141716-1.09770.861646
26-0.014446-0.11190.544362
27-0.122743-0.95080.82723
28-0.101245-0.78420.782007
29-0.086765-0.67210.747944
30-0.128862-0.99820.838895
310.0020540.01590.49368
320.0323460.25060.401509
33-0.090532-0.70130.757074
340.045060.3490.364142
350.0499290.38670.350157
360.0145180.11250.455419
370.1673591.29640.099908
380.0737770.57150.284905
390.0132440.10260.459316
400.1295321.00340.15986
410.0184940.14330.443286
420.0692180.53620.296916
430.0589480.45660.324801
440.0169720.13150.447923
450.0179770.13930.444859
460.0645950.50040.309329
47-0.022941-0.17770.570222


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
00.137611.06590.145365
10.0267540.20720.418265
20.2496911.93410.028911
3-0.0907-0.70260.757476
40.1307831.0130.157554
50.0496040.38420.351084
6-0.159612-1.23630.889426
70.15751.220.113622
80.1332991.03250.152985
9-0.177289-1.37330.912611
10-0.091276-0.7070.758854
11-0.260562-2.01830.975982
12-0.101089-0.7830.781657
130.0939890.7280.234713
14-0.023389-0.18120.571579
150.0246640.1910.424567
160.2009521.55660.062417
17-0.073652-0.57050.714768
18-0.142942-1.10720.863693
19-0.099747-0.77260.778614
200.0896740.69460.244989
21-0.174964-1.35530.909793
225.1e-054e-040.499842
23-0.223618-1.73210.955806
24-0.207588-1.6080.943455
25-0.111181-0.86120.803723
260.1159120.89780.186427
27-0.011249-0.08710.534574
280.1013150.78480.217834
29-0.004169-0.03230.512827
30-0.107113-0.82970.795
31-0.02253-0.17450.568977
320.0567520.43960.330904
33-0.045099-0.34930.63597
340.0015220.01180.495317
35-0.035098-0.27190.606673
361e-0600.499997
37-0.082782-0.64120.738092
380.0704290.54550.293702
39-0.033376-0.25850.601559
400.0242410.18780.425844
410.1233930.95580.171505
42-0.116-0.89850.813753
43-0.11955-0.9260.820929
44-0.021305-0.1650.56526
45-0.074409-0.57640.71674
46-0.02307-0.17870.570611
47-0.060732-0.47040.680124
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/14/t1197622584dvbouo702hdnhke/1vliz1197623253.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/14/t1197622584dvbouo702hdnhke/1vliz1197623253.ps (open in new window)


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


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