Re: [R] Help regarding Time Series: CCF Function

2010-10-12 Thread Addi Wei
I think I figured it out...The 2 data sets must have same number of data. -- View this message in context: http://r.789695.n4.nabble.com/Help-regarding-Time-Series-CCF-Function-tp2992988p2993061.html Sent from the R help mailing list archive at Nabble.com.

Re: [R] Help regarding Time Series: CCF Function

2010-10-12 Thread David Winsemius
On Oct 12, 2010, at 9:38 PM, Addi Wei wrote: Looking at 2 sets of time series data. Code below: houst = read.table("C:/Documents/HOUST.txt",header=F) houst = ts(houst, start = 1976,frequency = 12) mortg = read.table("C:/Documents/mortg.txt",header=F) mortg = ts(mortg, start = 1976,frequency

[R] Help regarding Time Series: CCF Function

2010-10-12 Thread Addi Wei
Looking at 2 sets of time series data. Code below: > houst = read.table("C:/Documents/HOUST.txt",header=F) > houst = ts(houst, start = 1976,frequency = 12) > mortg = read.table("C:/Documents/mortg.txt",header=F) > mortg = ts(mortg, start = 1976,frequency = 12) The data for houst looks like: 1367