Home » date » 2010 » Apr » 26 »

degree of non-seasonal differencing Oef 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: Mon, 26 Apr 2010 16:15:41 +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/Apr/26/t1272298704d9dw4q6f7z3gt7g.htm/, Retrieved Mon, 26 Apr 2010 18:18:26 +0200
 
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/Apr/26/t1272298704d9dw4q6f7z3gt7g.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:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
164 96 73 49 39 59 169 169 210 278 298 245 200 188 90 79 78 91 167 169 289 247 275 203 223 104 107 85 75 99 135 211 335 488 326 346 261 224 141 148 145 223 272 445 560 612 467 404 518 404 300 210 196 186 247 343 464 680 711 610 513 292 273 322 189 257 324 404 677 858 895 664 628 308 324 248 272
 
Output produced by software:


Summary of computational 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
10.8661687.60060
20.6563745.75970
30.3859343.38660.000559
40.148651.30440.097992
5-0.021896-0.19210.424072
6-0.083725-0.73470.232381
7-0.052388-0.45970.323514
80.0662240.58110.28143
90.2500682.19430.015613
100.4228183.71020.000195
110.5666964.97272e-06
120.6188735.43060
130.5549154.86943e-06
140.4069163.57070.000309
150.222741.95450.027134
160.0187940.16490.434722
17-0.113368-0.99480.161476
18-0.174979-1.53540.064388
19-0.14975-1.31410.096365
20-0.054376-0.47710.317305
210.0699260.61360.270645
220.1935591.69850.046728
230.2913342.55640.006271
240.3525953.0940.001376
250.3274192.87310.002625
260.2288362.0080.024074
270.0820390.71990.236885
28-0.086293-0.75720.225616
29-0.216986-1.9040.03032
30-0.286629-2.51520.006991
31-0.297029-2.60640.00549
32-0.249949-2.19330.015652
33-0.151165-1.32650.094303
34-0.051289-0.45010.326966
350.0391240.34330.366149
360.0776230.68110.248913
370.0612070.53710.296376
38-0.021755-0.19090.424554
39-0.120975-1.06160.145878
40-0.245702-2.1560.017102
41-0.327835-2.87670.002598
42-0.365361-3.2060.00098
43-0.362453-3.18050.00106
44-0.313407-2.75010.00371
45-0.233788-2.05150.02181
46-0.149697-1.31360.096444
47-0.086059-0.75520.226226
48-0.040632-0.35650.361204


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.8661687.60060
2-0.375865-3.29820.000737
3-0.329768-2.89370.002475
40.0572730.50260.30835
50.0909230.79780.213707
60.1704831.4960.069373
70.1070060.9390.175341
80.1706151.49710.069222
90.2732322.39760.009463
100.0325320.28550.388027
110.1405351.23320.110628
12-0.014899-0.13070.44816
13-0.185487-1.62760.053844
14-0.015012-0.13170.447771
150.0273180.23970.405593
16-0.179636-1.57630.059528
170.1148631.00790.158324
18-0.036633-0.32150.374368
19-0.025212-0.22120.412747
200.0087460.07670.469513
21-0.136013-1.19350.118167
220.0355420.31190.377986
230.0374710.32880.371596
240.0952160.83550.203005
25-0.032862-0.28840.386922
26-0.18703-1.64120.052419
270.041380.36310.358758
28-0.071064-0.62360.267371
29-0.058888-0.51670.30341
300.0306380.26880.394384
31-0.135134-1.18580.119674
32-0.060775-0.53330.297682
330.1134990.9960.161197
34-0.149839-1.31480.096235
35-0.010882-0.09550.462086
36-0.125373-1.10010.137349
37-0.031224-0.2740.392413
38-0.023364-0.2050.41905
39-0.008987-0.07890.468674
40-0.01815-0.15930.436937
410.1009470.88580.18924
42-0.035273-0.30950.378883
43-0.02448-0.21480.415241
44-0.079489-0.69750.243792
450.0028250.02480.490145
460.0703090.6170.269542
47-0.052521-0.46090.323095
480.0618020.54230.294586
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Apr/26/t1272298704d9dw4q6f7z3gt7g/1arhv1272298539.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Apr/26/t1272298704d9dw4q6f7z3gt7g/1arhv1272298539.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Apr/26/t1272298704d9dw4q6f7z3gt7g/2arhv1272298539.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Apr/26/t1272298704d9dw4q6f7z3gt7g/2arhv1272298539.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