Home » date » 2010 » Nov » 16 »

Oef 6 bis stap 2

*Unverified author*
R Software Module: /rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Tue, 16 Nov 2010 20:06:04 +0000
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2010/Nov/16/t1289937898xo50jm25wyqeizc.htm/, Retrieved Tue, 16 Nov 2010 21:04:58 +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/2010/Nov/16/t1289937898xo50jm25wyqeizc.htm/},
    year = {2010},
}
@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 = {2010},
    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:
KDGP2W12
 
Dataseries X:
» Textbox « » Textfile « » CSV «
771.28 766.78 757.59 747.73 746.59 744.5 744.29 743.79 738.89 736.74 732.77 731.58 731.48 730.08 724.19 716.81 714.84 713.18 713.16 713.15 713.6 707.08 704.11 704.36 704.36 701.93 696.44 686.58 684.48 683.74 683.7 683.52 678.77 674.71 670.28 668.85 668.85 669.35 672.28 671.6 671.96 671.18 671.18 681.14 682.23 679.98 679.69 679.69 679.7 681.21 672.32 669.98 667.91 666.04 666.04 666.27 664.45 660.76 660.4 660.69 660.69 662.23 661.41 659.02 655.43 652.59 652.59 648.2 645.84 644.67 642.71 640.14 640.14 639.64 630.28 614.57 614.7 615.08 615.08 614.43 604.55 598.98 594.05 593.05 593.05 593.34 584.72 580.7 577.08 569.92 569.92 568.86 559.38 548.22 545.61 545.33
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.9492699.30090
20.8969938.78870
30.8480288.30890
40.8067317.90430
50.7687687.53240
60.7295087.14770
70.687096.73210
80.6455646.32520
90.6061835.93940
100.568775.57280
110.5359085.25080
120.5013064.91182e-06
130.4640574.54688e-06
140.4256664.17073.3e-05
150.3905353.82640.000116
160.359973.5270.000323
170.3341373.27390.000738
180.3076523.01440.001647
190.2784932.72870.003782
200.2473052.42310.008632
210.2151012.10760.018838
220.1920361.88160.031463
230.1736691.70160.046034
240.1539241.50810.067402
250.1322221.29550.099127
260.1108681.08630.140037
270.0919190.90060.185022
280.0771860.75630.225671
290.0641930.6290.265434
300.0524730.51410.304173
310.0393970.3860.350172
320.027060.26510.395736
330.0181470.17780.429624
340.0116750.11440.454582
350.0071160.06970.47228
360.001860.01820.492748
37-0.004442-0.04350.482689
38-0.011277-0.11050.456126
39-0.019373-0.18980.424926
40-0.025962-0.25440.399875
41-0.032228-0.31580.376432
42-0.039051-0.38260.351424
43-0.047093-0.46140.322774
44-0.058958-0.57770.282419
45-0.070507-0.69080.245672
46-0.080272-0.78650.216755
47-0.086223-0.84480.20016
48-0.09417-0.92270.179245


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.9492699.30090
2-0.041647-0.40810.342071
30.0062060.06080.47582
40.0501340.49120.3122
50.0093740.09180.463505
6-0.031389-0.30750.379546
7-0.04722-0.46270.322329
8-0.011038-0.10810.457051
9-0.005736-0.05620.47765
10-0.009198-0.09010.46419
110.0227660.22310.411981
12-0.036163-0.35430.361935
13-0.043332-0.42460.336052
14-0.030772-0.30150.38184
150.005080.04980.480201
160.0143620.14070.444195
170.0213830.20950.417248
18-0.020307-0.1990.421356
19-0.036266-0.35530.361561
20-0.035251-0.34540.365281
21-0.035852-0.35130.363075
220.059460.58260.280768
230.0183850.18010.428714
24-0.029054-0.28470.388255
25-0.020246-0.19840.421586
26-0.003392-0.03320.486779
270.0027130.02660.489425
280.0113020.11070.45603
29-0.002834-0.02780.488953
300.005670.05560.477908
31-0.017309-0.16960.432845
320.0058580.05740.477173
330.021360.20930.417336
340.0009630.00940.496247
350.0022330.02190.491296
36-0.009549-0.09360.462826
37-0.006991-0.06850.472766
38-0.004172-0.04090.48374
39-0.025727-0.25210.400763
40-0.003159-0.03090.487688
41-0.014834-0.14530.442373
42-0.017349-0.170.432691
43-0.010941-0.10720.457426
44-0.041143-0.40310.34388
45-0.013044-0.12780.449284
46-0.006479-0.06350.474757
470.0188610.18480.426887
48-0.028798-0.28220.389213
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Nov/16/t1289937898xo50jm25wyqeizc/1xl5j1289937960.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/16/t1289937898xo50jm25wyqeizc/1xl5j1289937960.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/16/t1289937898xo50jm25wyqeizc/2xl5j1289937960.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/16/t1289937898xo50jm25wyqeizc/2xl5j1289937960.ps (open in new window)


 
Parameters (Session):
par1 = 48 ; par2 = 1 ; par3 = 0 ; par4 = 0 ; par5 = 12 ; par6 = White Noise ; par7 = 0.95 ;
 
Parameters (R input):
par1 = 48 ; par2 = 1 ; par3 = 0 ; 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 (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='time lag', ylab='ACF', ci.type=par6, ci=par7, sub=paste('(lambda=',par2,', d=',par3,', D=',par4,', CI=', par7, ', CI type=',par6,')',sep=''))
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