Re: [R] Analyzing Intervals between Data

2008-07-26 Thread jim holtman
If I look at the data for one of the countries (Brazil), I see NAs in the ranges. How is the following condition handled to determine the "spell length"? Are values propogated forward" 426 1/12/00 Brazil (RS) 7.5 2000-01-12 425 3/18/00 Brazil (RS) 7.5 2000-03-18 424 3/31/00 Brazil (RS)

Re: [R] Analyzing Intervals between Data

2008-07-26 Thread jim holtman
I think I understand it now. So if there is any change (even very small), then that starts a new interval. On Sat, Jul 26, 2008 at 9:38 PM, Jia Ying Mei <[EMAIL PROTECTED]> wrote: > Hi Jim, > > I did define it, although I guess I wasn't clear. The spell length is > essentially the interval of tim

Re: [R] Analyzing Intervals between Data

2008-07-26 Thread Jia Ying Mei
Hi Jim, I did define it, although I guess I wasn't clear. The spell length is essentially the interval of time between price changes. So in the data, say a price starts at 3, and then 150 days later, the price changes to 4. The "spell length" is 150, the interval of time between the price cha

Re: [R] Analyzing Intervals between Data

2008-07-26 Thread jim holtman
You need to provide a definition of what the "spell length" is since I am not an economist. Given that you have a list of prices, how do you determine the spell length and then what do you do with the data in each interval? This is what you would have to clarify, at from my point of view, so that