Home » date » 2009 » Dec » 09 »

WS10 - PACF Y 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, 09 Dec 2009 07:54:53 -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/Dec/09/t1260370527bpuchtorpzkpyox.htm/, Retrieved Wed, 09 Dec 2009 15:55:30 +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/Dec/09/t1260370527bpuchtorpzkpyox.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 «
286.1 307 358.1 341.8 378.8 375.2 295.6 362.7 409.6 336.8 389.1 389.3 355.9 542 648.4 452 582.4 506.5 555.5 530.4 609.4 543.9 616.2 634.6 541.7 549.8 627.6 797.4 689.8 1576.6 1572.1 1626.4 1972.4 1509.6 1584.9 1880 1324 1777.7 2172.4 1780.3 2134.9 1838.4 1557 1755.2 1702 1577.5 1485.9 2179.1 1740.9 1724.5 2328.1 1774.1 2224.2 1536.3 1521.2 2051.8 2483.1 1929.8 1808.6 2584.9 1997.9 1639.9 2379.1 1715 2750.9 1865.4 1647.4 2180.4 2593 2057.2 2635.8 2315.4 1863.6 2038 2235.8 2222.1 2636.9 2076.8 1935.5 2086.3 2470.9 1854.6 2041.3 2170.8 1905.5 2130.2 2791.2 2539.7 2661.3 1764.9 2176.9 2458.5 2179 2242.5 2089.6 2661.6 2112 2367.3 2543 2603.9 3146.7 1789.2 2114.8 2236.3 2288.1 2173.2 1877.7 2807.4 2357.4 2107.7 2856.8 2510.8 2875 2229.7 2055.1 2545.4 2775.1 2252.2 2091.7 2433
 
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.8459299.26670
20.8204188.98720
30.8241549.02820
40.7769768.51130
50.7682948.41620
60.7296567.9930
70.7087497.7640
80.695937.62350
90.6732427.3750
100.6132526.71780
110.5887086.4490
120.6366836.97450
130.5274915.77840
140.498395.45960
150.4997095.4740
160.4733655.18540
170.4640435.08331e-06
180.436144.77773e-06
190.4008244.39081.2e-05
200.3791224.15313.1e-05
210.3518623.85459.4e-05
220.2918923.19750.000886
230.2712922.97190.001789
240.2962893.24570.000759
250.2133932.33760.010532
260.1841642.01740.022942
270.1781041.9510.026692
280.1366381.49680.068536
290.1196731.3110.096188
300.1149421.25910.105213
310.0847280.92820.177596
320.0747040.81830.207392
330.0682760.74790.227983
340.0253840.27810.390721
350.0411630.45090.326429
360.0681520.74660.228391
370.0041760.04570.481795
380.0075250.08240.467219
390.015930.17450.430882
400.0018050.01980.492127
41-0.002262-0.02480.490137
42-0.026049-0.28530.387934
43-0.027542-0.30170.3817
44-0.051605-0.56530.28646
45-0.055356-0.60640.2727
46-0.083382-0.91340.181431
47-0.098087-1.07450.14238
48-0.055813-0.61140.271045
49-0.119851-1.31290.09586
50-0.128888-1.41190.080284
51-0.116634-1.27770.101917
52-0.136265-1.49270.06907
53-0.132777-1.45450.07421
54-0.155918-1.7080.045111
55-0.159989-1.75260.041113
56-0.166259-1.82130.035528
57-0.156792-1.71760.044227
58-0.190133-2.08280.019696
59-0.196064-2.14780.016871
60-0.164739-1.80460.036821


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.8459299.26670
20.3685684.03754.8e-05
30.3016983.30490.000626
40.0135020.14790.441331
50.08930.97820.164964
6-0.065413-0.71660.237518
70.0176410.19320.423546
80.0226020.24760.402435
90.0301310.33010.370963
10-0.185927-2.03670.021939
11-0.051185-0.56070.288021
120.3097033.39260.000469
13-0.329736-3.61210.000222
14-0.09131-1.00020.159601
150.0648960.71090.239263
160.1418431.55380.061431
17-0.029971-0.32830.371623
180.0461390.50540.307091
19-0.080973-0.8870.188423
20-0.125128-1.37070.086512
21-0.0529-0.57950.281671
22-0.027936-0.3060.380057
23-0.015577-0.17060.4324
240.0351740.38530.350345
25-0.07445-0.81560.208183
26-0.056474-0.61860.268661
270.0136290.14930.440784
28-0.04828-0.52890.298931
29-0.012258-0.13430.446704
300.1656931.81510.036005
310.05430.59480.276541
32-0.045525-0.49870.309453
330.0140450.15390.438991
34-0.014367-0.15740.437603
350.0788530.86380.194712
360.046720.51180.304867
37-0.081273-0.89030.187544
380.0043820.0480.480896
390.0200920.22010.413087
400.0583830.63960.261841
41-0.039331-0.43080.333676
42-0.194684-2.13270.017495
430.0678660.74340.229336
44-0.095841-1.04990.14794
450.0522130.5720.284208
460.0342980.37570.353896
47-0.164291-1.79970.037209
480.0763570.83640.202283
49-0.028042-0.30720.379618
50-0.043438-0.47580.317528
51-0.024689-0.27050.393638
520.0233780.25610.399159
530.0171080.18740.425828
54-0.038366-0.42030.337518
55-0.048808-0.53470.296936
560.0009540.01050.495838
570.0258940.28370.388582
58-0.054665-0.59880.275207
590.0472380.51750.302891
60-0.064675-0.70850.240012
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/09/t1260370527bpuchtorpzkpyox/12c261260370491.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/09/t1260370527bpuchtorpzkpyox/12c261260370491.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/09/t1260370527bpuchtorpzkpyox/2euet1260370491.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/09/t1260370527bpuchtorpzkpyox/2euet1260370491.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