Home » date » 2009 » Nov » 25 »

WS08 - PACF d = 0/ D=1 / 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:36:50 -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/t1259181482c2badiip6ydor5o.htm/, Retrieved Wed, 25 Nov 2009 21:38:04 +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/t1259181482c2badiip6ydor5o.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
10.8902139.75180
20.8647929.47330
30.8329789.12480
40.8144088.92140
50.8015148.78020
60.7653018.38340
70.7538938.25850
80.7294247.99040
90.6915577.57560
100.6503587.12430
110.6325326.9290
120.6429427.04310
130.5780996.33280
140.5414225.9310
150.525155.75270
160.5064815.54820
170.4882365.34840
180.4658725.10341e-06
190.4407084.82772e-06
200.4183174.58246e-06
210.3751854.10993.6e-05
220.3311573.62760.000211
230.316453.46650.000366
240.301683.30470.000627
250.2656262.90980.002156
260.2316922.53810.006214
270.2132072.33560.010587
280.1811531.98440.024745
290.1463011.60260.055821
300.1376961.50840.067042
310.1341011.4690.072224
320.1369211.49990.068134
330.1174551.28670.100346
340.0995081.09010.138937
350.0970541.06320.144918
360.0987711.0820.140715
370.0733680.80370.211578
380.0567420.62160.267699
390.0602220.65970.255356
400.0534610.58560.279608
410.0412670.45210.326021
420.0294480.32260.373786
430.0321910.35260.362489
440.010680.1170.45353
45-0.00965-0.10570.457994
46-0.034457-0.37750.353248
47-0.052297-0.57290.283897
48-0.039934-0.43750.331282
49-0.067559-0.74010.23035
50-0.083087-0.91020.182279
51-0.087669-0.96040.169402
52-0.097879-1.07220.14289
53-0.104995-1.15020.126181
54-0.121984-1.33630.091996
55-0.127993-1.40210.081735
56-0.144051-1.5780.058599
57-0.148543-1.62720.053158
58-0.166683-1.82590.035174
59-0.174498-1.91150.029161
60-0.164164-1.79830.037319


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.8902139.75180
20.348463.81720.000107
30.1162031.27290.10275
40.102841.12660.131089
50.0997991.09320.138238
6-0.065899-0.72190.235884
70.0556660.60980.271575
8-0.003095-0.03390.486507
9-0.11304-1.23830.109013
10-0.118012-1.29280.09929
110.0517930.56740.285764
120.2004082.19540.015031
13-0.264886-2.90170.002209
14-0.115812-1.26870.103509
150.1364571.49480.068794
160.0377150.41310.340118
17-0.029318-0.32120.374324
180.076790.84120.200957
19-0.063607-0.69680.243645
20-0.087698-0.96070.169321
21-0.064479-0.70630.240676
22-0.055987-0.61330.270418
23-0.007582-0.08310.466975
24-0.036645-0.40140.344409
250.0107920.11820.453043
26-0.008375-0.09170.463528
27-0.007651-0.08380.466671
28-0.059527-0.65210.257797
29-0.057674-0.63180.264366
300.1218511.33480.092232
310.154871.69650.046191
320.0749660.82120.206578
330.0018710.02050.49184
340.0177790.19480.422956
35-0.035072-0.38420.350759
360.0218280.23910.405714
37-0.085943-0.94150.174181
38-0.089774-0.98340.163689
390.0304750.33380.369542
400.068380.74910.22764
410.0176660.19350.423439
42-0.07961-0.87210.192451
43-0.007239-0.07930.468463
44-0.139051-1.52320.065166
45-0.023647-0.2590.398026
460.0292290.32020.374692
47-0.079605-0.8720.192468
480.0611590.670.252084
49-0.0014-0.01530.493893
50-0.087556-0.95910.169711
51-0.058452-0.64030.261595
520.0118610.12990.448418
530.0353310.3870.349711
54-0.017572-0.19250.423841
55-0.017309-0.18960.424967
561.4e-052e-040.49994
570.019020.20840.417654
58-0.055113-0.60370.27358
590.0037080.04060.483835
600.0517530.56690.285911
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Nov/25/t1259181482c2badiip6ydor5o/1cifr1259181408.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/25/t1259181482c2badiip6ydor5o/1cifr1259181408.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/25/t1259181482c2badiip6ydor5o/2a7811259181408.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/25/t1259181482c2badiip6ydor5o/2a7811259181408.ps (open in new window)


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