Home » date » 2009 » May » 14 »

Time Series Analysis (new) - autocorrelation - gemiddelde prijs strip (trend?) - Dellaert Kenny

*Unverified author*
R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Thu, 14 May 2009 02:43:55 -0600
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2009/May/14/t12422907650ju91ytlkvicmfc.htm/, Retrieved Thu, 14 May 2009 10:46:07 +0200
 
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/May/14/t12422907650ju91ytlkvicmfc.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 «
5.11 5.11 5.11 5.1 5.1 5.1 5.1 5.1 5.12 5.25 5.26 5.26 5.26 5.26 5.26 5.26 5.29 5.3 5.33 5.33 5.35 5.38 5.38 5.38 5.38 5.38 5.39 5.39 5.4 5.4 5.4 5.4 5.4 5.41 5.41 5.41 5.41 5.41 5.42 5.42 5.42 5.42 5.43 5.43 5.45 5.51 5.51 5.51 5.51 5.51 5.51 5.53 5.53 5.53 5.53 5.52 5.53 5.54 5.54 5.57 5.56 5.57 5.58 5.61 5.66 5.68 5.69 5.7 5.72 5.71 5.69 5.7 5.7
 
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.1539731.30650.097769
2-0.028867-0.24490.403597
3-0.055017-0.46680.321013
4-0.1155-0.98010.165171
5-0.082611-0.7010.242788
6-0.162757-1.3810.085769
70.035840.30410.380961
8-0.042625-0.36170.359322
90.0420190.35650.361238
10-0.080458-0.68270.248491
110.0007730.00660.497391
120.1480231.2560.106586
13-0.077506-0.65770.256428
14-0.034275-0.29080.386006
15-0.099089-0.84080.201623
16-0.074859-0.63520.263656
170.0277160.23520.407368
18-0.016415-0.13930.444805
190.0874840.74230.230152
200.0066760.05660.477492
21-0.023447-0.1990.421429
22-0.03457-0.29330.385055
23-0.000356-0.0030.4988
240.0448610.38070.352289
25-0.078635-0.66720.253376
26-0.023077-0.19580.422653
27-0.02554-0.21670.414522
28-0.032638-0.27690.391308
290.0442630.37560.354165
30-0.035221-0.29890.382955
31-0.038346-0.32540.372921
32-0.08482-0.71970.237012
330.0074140.06290.475007
34-0.07207-0.61150.271386
350.0751790.63790.262775
360.2487652.11080.01913
37-0.039776-0.33750.368356
38-0.024563-0.20840.417744
39-0.071038-0.60280.274276
40-0.06316-0.53590.29683
41-0.032614-0.27670.391388
420.0192760.16360.435265
430.0351520.29830.383176
44-0.038321-0.32520.373
45-0.001407-0.01190.495253
46-0.025876-0.21960.413415
470.0700260.59420.277124
480.0455570.38660.350109


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.1539731.30650.097769
2-0.053852-0.45690.324542
3-0.043187-0.36650.357549
4-0.104363-0.88550.189405
5-0.054315-0.46090.323137
6-0.159194-1.35080.090493
70.0718660.60980.271956
8-0.097078-0.82370.206406
90.0460280.39060.348637
10-0.147491-1.25150.107402
110.0352870.29940.382741
120.1022990.8680.19413
13-0.114091-0.96810.16812
14-0.036462-0.30940.37896
15-0.088191-0.74830.228352
16-0.080662-0.68440.247948
170.0584350.49580.310761
18-0.04883-0.41430.33993
190.0434460.36870.356734
20-0.043493-0.36910.356586
21-0.073465-0.62340.267506
220.0042420.0360.485692
23-0.005471-0.04640.481551
240.0021130.01790.492872
25-0.071201-0.60420.273818
26-0.057542-0.48830.313423
270.0014550.01230.495092
28-0.056589-0.48020.316279
290.0269780.22890.409791
30-0.0742-0.62960.265472
31-0.11809-1.0020.159844
32-0.08239-0.69910.243371
330.0161340.13690.445745
34-0.128551-1.09080.1395
350.0910940.7730.22104
360.1393011.1820.120545
37-0.137544-1.16710.123511
38-0.040799-0.34620.365104
39-0.054774-0.46480.321749
40-0.070123-0.5950.27685
41-0.031722-0.26920.394283
420.0257430.21840.413855
43-0.041992-0.35630.361323
44-0.076578-0.64980.258948
45-0.065158-0.55290.291028
460.0059260.05030.480016
47-0.027151-0.23040.409223
48-0.055745-0.4730.318819
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/14/t12422907650ju91ytlkvicmfc/1czpx1242290634.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/14/t12422907650ju91ytlkvicmfc/1czpx1242290634.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/14/t12422907650ju91ytlkvicmfc/2wze51242290634.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/14/t12422907650ju91ytlkvicmfc/2wze51242290634.ps (open in new window)


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