Home » date » 2008 » Dec » 15 »

Partial Autocorrelation 2

*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:51:52 -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/t1229334861mtz7p2u2ugyxbye.htm/, Retrieved Mon, 15 Dec 2008 10:54:21 +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/t1229334861mtz7p2u2ugyxbye.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 «
98,5 97 103,3 99,6 100,1 102,9 95,9 94,5 107,4 116 102,8 99,8 109,6 103 111,6 106,3 97,9 108,8 103,9 101,2 122,9 123,9 111,7 120,9 99,6 103,3 119,4 106,5 101,9 124,6 106,5 107,8 127,4 120,1 118,5 127,7 107,7 104,5 118,8 110,3 109,6 119,1 96,5 106,7 126,3 116,2 118,8 115,2 110 111,4 129,6 108,1 117,8 122,9 100,6 111,8 127 128,6 124,8 118,5 114,7 112,6 128,7 111 115,8 126 111,1 113,2 120,1 130,6 124 119,4 116,7 116,5 119,6 126,5 111,3 123,5 114,2 103,7 129,5
 
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'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.053280.44260.329727
20.0650920.54070.295228
30.2643152.19560.015744
4-0.052828-0.43880.33108
50.1547621.28550.10145
60.1615411.34190.09202
7-0.108108-0.8980.186151
80.1385561.15090.126867
90.25662.13150.018307
10-0.085152-0.70730.240873
110.0053750.04460.48226
12-0.109833-0.91230.182383
13-0.143001-1.18790.119481
140.1012170.84080.20169
15-0.051383-0.42680.335421
16-0.070969-0.58950.278721
170.1864191.54850.063037
180.0351240.29180.385672
19-0.183102-1.5210.06642
20-0.005144-0.04270.48302
210.0165110.13720.445655
22-0.117571-0.97660.166084
230.1177810.97840.165657
24-0.245956-2.04310.022434
25-0.105839-0.87920.191181
260.0892570.74140.230477
270.0016270.01350.494626
28-0.105563-0.87690.1918
290.0075420.06260.475115
30-0.0395-0.32810.371909
310.0591470.49130.312381
320.1154530.9590.170447
33-0.178815-1.48530.071004
340.0262210.21780.414111
350.102560.85190.198601
360.0111810.09290.463135


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.053280.44260.329727
20.0624310.51860.302853
30.2594822.15540.01731
4-0.085056-0.70650.24112
50.1424141.1830.120438
60.092150.76550.223305
7-0.109012-0.90550.184171
80.0725140.60230.274459
90.2400331.99390.02506
10-0.091204-0.75760.225636
11-0.123655-1.02720.153968
12-0.197994-1.64470.052295
13-0.069934-0.58090.281596
140.0523390.43480.332545
150.0097110.08070.46797
160.0297310.2470.402834
170.1777721.47670.072154
180.0599220.49780.31012
19-0.246113-2.04440.022368
20-0.073574-0.61120.271553
210.2318641.9260.029112
22-0.077877-0.64690.259922
23-0.035687-0.29640.383892
24-0.307749-2.55640.006391
25-0.052874-0.43920.330944
26-0.043404-0.36050.359771
270.2528412.10030.019682
280.0502340.41730.338887
290.1478481.22810.111787
30-0.043513-0.36140.359437
31-0.036408-0.30240.381618
32-0.017679-0.14690.441837
330.0508490.42240.337029
340.0235280.19540.422811
350.0041010.03410.486463
36-0.058657-0.48720.313815
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/15/t1229334861mtz7p2u2ugyxbye/1v0ab1229334707.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/15/t1229334861mtz7p2u2ugyxbye/1v0ab1229334707.ps (open in new window)


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


 
Parameters (Session):
par1 = 36 ; par2 = -1.0 ; par3 = 0 ; par4 = 1 ; par5 = 12 ;
 
Parameters (R input):
par1 = 36 ; par2 = -1.0 ; 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