Home » date » 2008 » Dec » 15 »

Partial Autocorrelation 3

*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: Mon, 15 Dec 2008 02:57:14 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2008/Dec/15/t1229335114hwdneaedqicnspa.htm/, Retrieved Mon, 15 Dec 2008 10:58:37 +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/2008/Dec/15/t1229335114hwdneaedqicnspa.htm/},
    year = {2008},
}
@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 = {2008},
    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 «
85 95,9 108,9 96,2 100,1 105,7 64,5 66,8 110,3 96,1 102,5 97,6 83,6 86,5 96 91,1 87,2 84,5 59,2 61,5 98,8 97,9 92,7 84,2 74,5 79,7 86,8 79,8 87 91,4 58,7 62,8 87,9 90,4 80,6 73,5 71,4 70,6 78,3 76 77,4 80,9 63,4 58,1 88,2 81,2 84,9 76,4 71,5 76,1 82,9 78 82 84,7 55,7 59,5 83,2 87,6 76,2 76,4 68,3 70 76,3 70,9 72,4 80,1 57,4 62,7 82,6 88,9 80,4 72 69,4 69,2 77,3 79,4 78,6 76,1 61,8 59,4 78,1
 
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'George Udny Yule' @ 72.249.76.132


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.262412.17970.016346
20.3520982.92470.002331
30.2126251.76620.040893
40.1104010.91710.181152
50.0200330.16640.434162
60.0840.69780.243838
70.0337680.28050.389966
80.1050190.87230.193022
90.0676070.56160.288108
100.0355610.29540.384291
11-0.005876-0.04880.480607
12-0.376848-3.13030.00128
13-0.035525-0.29510.384404
14-0.200507-1.66550.05017
15-0.043862-0.36430.358356
16-0.049347-0.40990.341572
170.1325621.10110.137331
180.1339291.11250.134892
190.1730721.43760.077528
200.1371751.13950.129226
210.2264791.88130.032077
220.0173180.14390.443019
230.1463451.21560.114135
240.07330.60890.272304
250.0253270.21040.416993
260.1192190.99030.162743
270.0558820.46420.321987
280.0841260.69880.243511
29-0.04964-0.41230.340683
30-0.086882-0.72170.23646
31-0.08082-0.67130.252121
32-0.17059-1.4170.080488
33-0.267574-2.22260.01476
34-0.109575-0.91020.182942
35-0.223976-1.86050.03354
36-0.004549-0.03780.484984


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.262412.17970.016346
20.3041842.52670.006905
30.0810840.67350.25143
4-0.05521-0.45860.32398
5-0.09554-0.79360.215071
60.0722870.60050.275084
70.040480.33630.36885
80.084320.70040.243011
90.0070390.05850.476772
10-0.055324-0.45960.32364
11-0.060534-0.50280.308342
12-0.462811-3.84440.000133
130.1674541.3910.084351
140.0678340.56350.287469
150.1445521.20070.116978
16-0.02777-0.23070.409126
170.1077410.8950.186959
180.1886231.56680.060866
190.0321110.26670.395236
200.1034430.85930.196585
210.1865081.54920.062948
22-0.116726-0.96960.167817
23-0.003337-0.02770.488985
24-0.322686-2.68040.004594
250.0371860.30890.379167
260.0075040.06230.47524
270.0234730.1950.422989
28-0.010205-0.08480.466346
29-0.131308-1.09070.139594
30-0.022178-0.18420.427188
310.0562970.46760.320758
320.004870.04050.483925
330.0342680.28470.388382
34-0.116843-0.97060.167577
35-0.010151-0.08430.466523
36-0.02991-0.24850.402261
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/15/t1229335114hwdneaedqicnspa/1u1fo1229335032.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/15/t1229335114hwdneaedqicnspa/1u1fo1229335032.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/15/t1229335114hwdneaedqicnspa/2qmsx1229335032.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/15/t1229335114hwdneaedqicnspa/2qmsx1229335032.ps (open in new window)


 
Parameters (Session):
par1 = 36 ; par2 = -1.3 ; par3 = 0 ; par4 = 1 ; par5 = 12 ;
 
Parameters (R input):
par1 = 36 ; par2 = -1.3 ; par3 = 0 ; par4 = 1 ; par5 = 12 ;
 
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 (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='lags',ylab='ACF')
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