Home » date » 2009 » Nov » 25 »

WS08 - PACF d = 1/ D=0 / lambda = 1

*The author of this computation has been verified*
R Software Module: /rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Wed, 25 Nov 2009 13:42:59 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2009/Nov/25/t12591820240ijde14tgp665ct.htm/, Retrieved Wed, 25 Nov 2009 21:47:06 +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/2009/Nov/25/t12591820240ijde14tgp665ct.htm/},
    year = {2009},
}
@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 = {2009},
    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 «
423.4 404.1 500 472.6 496.1 562 434.8 538.2 577.6 518.1 625.2 561.2 523.3 536.1 607.3 637.3 606.9 652.9 617.2 670.4 729.9 677.2 710 844.3 748.2 653.9 742.6 854.2 808.4 1819 1936.5 1966.1 2083.1 1620.1 1527.6 1795 1685.1 1851.8 2164.4 1981.8 1726.5 2144.6 1758.2 1672.9 1837.3 1596.1 1446 1898.4 1964.1 1755.9 2255.3 1881.2 2117.9 1656.5 1544.1 2098.9 2133.3 1963.5 1801.2 2365.4 1936.5 1667.6 1983.5 2058.6 2448.3 1858.1 1625.4 2130.6 2515.7 2230.2 2086.9 2235 2100.2 2288.6 2490 2573.7 2543.8 2004.7 2390 2338.4 2724.5 2292.5 2386 2477.9 2337 2605.1 2560.8 2839.3 2407.2 2085.2 2735.6 2798.7 3053.2 2405 2471.9 2727.3 2790.7 2385.4 3206.6 2705.6 3518.4 1954.9 2584.3 2535.8 2685.9 2866 2236.6 2934.9 2668.6 2371.2 3165.9 2887.2 3112.2 2671.2 2432.6 2812.3 3095.7 2862.9 2607.3 2862.5
 
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
1-0.454769-4.96091e-06
20.024490.26710.394908
3-0.095358-1.04020.150171
4-0.013465-0.14690.441735
50.1582551.72640.043439
6-0.169238-1.84620.033676
70.0492910.53770.295893
80.0896580.97810.165016
9-0.010132-0.11050.45609
10-0.068186-0.74380.229226
11-0.185799-2.02680.022458
120.3910514.26592e-05
13-0.110612-1.20660.114984
14-0.151454-1.65220.050569
150.0250020.27270.392762
160.0014980.01630.493493
170.0209420.22850.409843
180.0516350.56330.287155
19-0.119154-1.29980.098087
200.1717351.87340.031733
21-0.037981-0.41430.339691
22-0.106997-1.16720.122731
23-0.016727-0.18250.427764
240.1089311.18830.118542
25-0.007335-0.080.468178
26-0.075212-0.82050.206794
270.0390030.42550.335629
280.0243370.26550.395546
29-0.042109-0.45940.32341
300.0264690.28870.386642
31-0.055585-0.60640.272716
320.1041151.13580.129169
33-0.038323-0.41810.338331
34-0.100423-1.09550.137758
350.0198260.21630.414571
360.1274941.39080.083442
37-0.027564-0.30070.382088
38-0.075014-0.81830.207408
390.0073440.08010.46814
400.0283680.30950.378756
410.0347440.3790.352678
42-0.094978-1.03610.151131
430.0871540.95070.171831
440.00560.06110.475694
450.0037150.04050.483871
46-0.042586-0.46460.321547
47-0.110917-1.210.114347
480.2170382.36760.009758
49-0.079709-0.86950.193157
50-0.021631-0.2360.406932
51-0.027711-0.30230.381478
520.0307980.3360.368745
530.0408150.44520.328477
54-0.089542-0.97680.165327
550.0695040.75820.224917
56-0.035988-0.39260.347664
570.0618930.67520.250437
58-0.053692-0.58570.279589
59-0.063106-0.68840.246269
600.0768640.83850.201719


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.454769-4.96091e-06
2-0.229865-2.50750.006753
3-0.24784-2.70360.003932
4-0.249483-2.72150.003737
50.0024170.02640.489504
6-0.150061-1.6370.052139
7-0.137595-1.5010.068004
80.0627050.6840.247642
90.0914220.99730.160321
10-0.02944-0.32120.374329
11-0.277265-3.02460.001525
120.2228922.43150.008264
130.2014632.19770.014953
14-0.159768-1.74290.04197
15-0.078931-0.8610.195474
160.0349660.38140.351781
17-0.239403-2.61160.005086
18-0.017957-0.19590.422516
190.0194160.21180.41631
20-0.00287-0.03130.48754
21-0.009934-0.10840.456944
220.0060370.06590.473802
230.0400340.43670.331555
24-0.026169-0.28550.387889
25-0.092147-1.00520.158418
260.0153360.16730.433712
270.0452590.49370.311206
28-0.020315-0.22160.412497
29-0.029351-0.32020.374696
30-0.04824-0.52620.299853
31-0.034012-0.3710.355637
320.007680.08380.466684
33-0.055163-0.60180.274242
34-0.072227-0.78790.216159
35-0.071177-0.77650.219511
360.04110.44830.32736
370.1016641.1090.134829
38-0.044338-0.48370.314753
39-0.084261-0.91920.179931
40-0.010558-0.11520.454253
410.068420.74640.228458
42-0.079315-0.86520.194329
430.0865590.94420.17348
440.0519230.56640.286089
45-0.04557-0.49710.310012
460.0832780.90850.182738
47-0.064926-0.70830.240086
48-0.04161-0.45390.32536
49-0.001738-0.0190.492454
500.0310750.3390.367609
51-0.005966-0.06510.47411
520.005980.06520.474047
53-0.015898-0.17340.431305
54-0.016803-0.18330.427437
550.0121590.13260.447353
56-0.058796-0.64140.261251
570.0302910.33040.370824
580.0096020.10470.458376
590.0167060.18220.427852
60-0.042234-0.46070.32292
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Nov/25/t12591820240ijde14tgp665ct/1lhcx1259181778.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/25/t12591820240ijde14tgp665ct/1lhcx1259181778.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/25/t12591820240ijde14tgp665ct/261fu1259181778.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/25/t12591820240ijde14tgp665ct/261fu1259181778.ps (open in new window)


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