Am 19.07.2011 13:32, schrieb Riccardo (Jack) Lucchetti:
would guess that what most people would use firstobs() and lastobs()
for
is some sort of loop-based algorithm which deals with time-series data.
In that case, either you're absolutely sure you never get NAs between
firstobs() and lastobs() or you need to put some sort of check in place.
But if you do, then what's the use of firstobs() and lastobs()?
I had similar thoughts as you described, but I guess the implicit
assumption is that usually with time-series datasets you have contiguous
data, which I think is an assumption that holds most of the time.
cheers,
sven