Home » date » 2009 » Dec » 09 »

WS10 - PACF Y 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, 09 Dec 2009 07:56:44 -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/t126037067718hal35mec6agzk.htm/, Retrieved Wed, 09 Dec 2009 15:58:00 +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/t126037067718hal35mec6agzk.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 time2 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Autocorrelation Function
Time lag kACF(k)T-STATP-value
1-0.459901-5.01691e-06
2-0.111142-1.21240.113877
30.164831.79810.03735
4-0.132484-1.44520.075511
50.1255771.36990.086651
6-0.078923-0.86090.195499
7-0.050233-0.5480.292368
80.0505620.55160.291139
90.1169061.27530.102345
10-0.101359-1.10570.135545
11-0.277068-3.02250.001535
120.5560786.06610
13-0.248838-2.71450.003812
14-0.116128-1.26680.10385
150.0813480.88740.188325
16-0.052978-0.57790.282205
170.0653150.71250.238773
180.0409470.44670.327959
19-0.102861-1.12210.132044
200.0433230.47260.318682
210.1153581.25840.105354
22-0.134982-1.47250.071765
23-0.158674-1.73090.043028
240.3674474.00845.4e-05
25-0.177839-1.940.027373
26-0.08677-0.94650.172893
270.142821.5580.060946
28-0.109748-1.19720.116802
290.0282260.30790.379346
300.1072421.16990.122195
31-0.103589-1.130.130369
320.0151110.16480.434674
330.0897320.97890.164817
34-0.187429-2.04460.021549
35-0.012399-0.13530.446319
360.2829183.08630.001261
37-0.210577-2.29710.01168
380.0163020.17780.42958
390.0311220.33950.367416
400.0018160.01980.492114
410.055570.60620.27277
42-0.108382-1.18230.11972
430.0757180.8260.205232
44-0.064821-0.70710.240439
450.0782910.85410.197394
46-0.049727-0.54250.294258
47-0.153314-1.67250.048531
480.3411743.72180.000152
49-0.216144-2.35780.010006
50-0.014463-0.15780.43745
510.0563140.61430.270091
52-0.038428-0.41920.337912
530.0660510.72050.236306
54-0.080067-0.87340.192095
550.0133390.14550.442278
560.010120.11040.456139
570.0921291.0050.158465
58-0.083833-0.91450.181149
59-0.093834-1.02360.154049
600.1898452.0710.020262


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.459901-5.01691e-06
2-0.409201-4.46399e-06
3-0.145314-1.58520.057789
4-0.215739-2.35340.01012
5-0.006166-0.06730.47324
6-0.07324-0.79890.212956
7-0.113489-1.2380.109073
8-0.134363-1.46570.07268
90.1131821.23470.109694
100.0623220.67990.248959
11-0.403098-4.39731.2e-05
120.2874173.13540.001081
130.1664831.81610.035935
140.0053770.05870.476663
15-0.170593-1.8610.032609
160.0198680.21670.414393
17-0.142314-1.55250.061604
180.0250160.27290.392706
190.0823120.89790.185522
200.0576790.62920.265211
21-0.013104-0.1430.443286
22-0.041276-0.45030.326668
23-0.063696-0.69480.244253
240.0399210.43550.331999
250.0130530.14240.443504
26-0.074666-0.81450.208491
270.1241491.35430.089102
280.0194840.21250.416024
29-0.102392-1.1170.133129
30-0.023576-0.25720.398739
310.1660281.81120.03632
320.0216650.23630.406789
330.0027050.02950.488256
34-0.121504-1.32550.09378
35-0.047902-0.52250.301131
360.0311120.33940.367457
37-0.0226-0.24650.402844
380.0859920.93810.175055
39-0.122032-1.33120.092832
400.0728390.79460.21422
410.2102172.29320.011796
42-0.102891-1.12240.131973
43-0.016028-0.17480.430749
44-0.051241-0.5590.288617
45-0.048294-0.52680.299648
460.1497131.63320.052538
47-0.059021-0.64380.26046
48-0.047532-0.51850.302533
49-0.093462-1.01950.155006
500.0026690.02910.488409
51-0.024715-0.26960.393963
520.0097890.10680.457569
53-0.080997-0.88360.189354
54-0.008505-0.09280.463118
55-0.050009-0.54550.293205
560.014120.1540.438924
570.0455430.49680.310119
58-0.035537-0.38770.34948
590.0881590.96170.169074
60-0.097821-1.06710.144042
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/09/t126037067718hal35mec6agzk/1xc8l1260370602.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/09/t126037067718hal35mec6agzk/1xc8l1260370602.ps (open in new window)


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