[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: RE: resticting the sample?
On Oct 6, 2004, at 8:54 PM, Clive Nicholas wrote:
I'm not really one for adding to StataCorp's burden, for they probably
When using -tsset- data (time series or panel), I have often estimated
regressions on a sub-sample of time observations by using:
have enough to do in preparing for version 9. But wouldn't it be great
one could run a regression in the following way:
. reg tomatoes potatoes onions sausages, suspendin(10 100 250)
so that you could simply suspend the observations without having to
them for that regression and then have to -restore- the dataset
afterwards? Desirably, this option would automatically pick up the
observation numbers as they appear by row in the data editor.
reg y x1 x2 if tin(date1,date2)
and even once or twice:
reg y x1 x2 if ~twithin(date1,date2)
I can see why those working with cross-sectional data would welcome
No doubt this idea will be shot down in myriad ways and people would
that it couldn't work. But, to quote the British comedy duo Armstrong
Miller, "Yes, but it would be good if it did."
* For searches and help try: