Home » date » 2008 » Dec » 02 »

Non Stationary Time Series - Q8(4)

*Unverified author*
R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Tue, 02 Dec 2008 05:30:27 -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/02/t1228221125822puwz81s0n8ke.htm/, Retrieved Tue, 02 Dec 2008 12:32:05 +0000
 
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/02/t1228221125822puwz81s0n8ke.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},
}
 
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
 
Feedback Forum:
2008-11-27 13:41:43 [a2386b643d711541400692649981f2dc] [reply
test

Post a new message
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
109.20 88.60 94.30 98.30 86.40 80.60 104.10 108.20 93.40 71.90 94.10 94.90 96.40 91.10 84.40 86.40 88.00 75.10 109.70 103.00 82.10 68.00 96.40 94.30 90.00 88.00 76.10 82.50 81.40 66.50 97.20 94.10 80.70 70.50 87.80 89.50 99.60 84.20 75.10 92.00 80.80 73.10 99.80 90.00 83.10 72.40 78.80 87.30 91.00 80.10 73.60 86.40 74.50 71.20 92.40 81.50 85.30 69.90 84.20 90.70 100.30
 
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'Herman Ole Andreas Wold' @ 193.190.124.10:1001


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.1347120.9430.175158
20.111460.78020.219507
30.2849061.99430.025847
4-0.012685-0.08880.464804
50.0920470.64430.261184
60.0180210.12620.450065
7-0.219743-1.53820.065217
8-0.100175-0.70120.24324
9-0.026451-0.18520.426936
10-0.271424-1.90.031665
11-0.099686-0.69780.2443
12-0.211864-1.4830.072233
13-0.219528-1.53670.065401
140.0615830.43110.33415
150.0098920.06920.472539
16-0.027625-0.19340.423732
170.1837021.28590.102258
180.1402090.98150.165593
190.0802770.56190.288359
200.2243981.57080.061334
210.0078480.05490.478207
220.0462620.32380.37372
230.1953771.36760.088833
24-0.058986-0.41290.340741
25-0.042652-0.29860.383266
260.0087460.06120.475716
27-0.10245-0.71720.238342
28-0.039916-0.27940.390553
29-0.129613-0.90730.184346
30-0.258144-1.8070.038451
310.0037030.02590.489714
32-0.068881-0.48220.315917
33-0.075516-0.52860.29973
340.0448740.31410.377382
350.0081410.0570.477392
36-0.003418-0.02390.490504
370.0447940.31360.377595
380.0062940.04410.48252
39-0.04571-0.320.375177
400.0580070.4060.343238
41-0.02202-0.15410.439065
420.0585950.41020.341737
430.0005520.00390.498465
44-0.066359-0.46450.322168
45-0.068294-0.47810.317367
46-0.081455-0.57020.28558
470.0007320.00510.497965
48-0.072538-0.50780.306947
49NANANA
50NANANA
51NANANA
52NANANA
53NANANA
54NANANA
55NANANA
56NANANA
57NANANA
58NANANA
59NANANA
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.1347120.9430.175158
20.0950370.66530.254501
30.2656931.85990.034457
4-0.091782-0.64250.261781
50.0622930.43610.332358
6-0.075379-0.52770.300061
7-0.217441-1.52210.067208
8-0.106238-0.74370.230315
90.0515270.36070.359941
10-0.17524-1.22670.112902
11-0.013174-0.09220.463449
12-0.176916-1.23840.110731
13-0.0642-0.44940.327562
140.0917280.64210.261902
150.131870.92310.180241
160.0195170.13660.445946
170.1258970.88130.191234
180.0680110.47610.318068
19-0.030836-0.21590.414998
200.0237940.16660.434201
21-0.078117-0.54680.293493
22-0.040795-0.28560.388206
230.0754420.52810.299908
24-0.057961-0.40570.343355
25-0.057885-0.40520.343549
26-0.001442-0.01010.495995
270.0611110.42780.335343
280.0330940.23170.408883
29-0.082614-0.57830.282857
30-0.102974-0.72080.237222
310.0735460.51480.304496
32-0.037107-0.25970.398073
330.0478850.33520.369453
34-0.013154-0.09210.463505
350.0595670.4170.339262
36-0.071588-0.50110.309267
37-0.117301-0.82110.207781
38-0.054126-0.37890.353206
39-0.04544-0.31810.375887
40-0.025917-0.18140.428393
41-0.035478-0.24830.402453
420.0500130.35010.363887
43-0.044891-0.31420.377337
440.0069890.04890.480591
45-0.095803-0.67060.252805
46-0.069049-0.48330.315502
470.1295790.90710.184409
48-0.016222-0.11360.455027
49NANANA
50NANANA
51NANANA
52NANANA
53NANANA
54NANANA
55NANANA
56NANANA
57NANANA
58NANANA
59NANANA
60NANANA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/02/t1228221125822puwz81s0n8ke/1zzhb1228221021.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/02/t1228221125822puwz81s0n8ke/1zzhb1228221021.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/02/t1228221125822puwz81s0n8ke/2pxoo1228221021.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/02/t1228221125822puwz81s0n8ke/2pxoo1228221021.ps (open in new window)


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