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
have enough to do in preparing for version 9. But wouldn't it be great
if
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
-drop-
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.
When using -tsset- data (time series or panel), I have often estimated
regressions on a sub-sample of time observations by using:
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
similar convenience.
No doubt this idea will be shot down in myriad ways and people would
say
that it couldn't work. But, to quote the British comedy duo Armstrong
and
Miller, "Yes, but it would be good if it did."
-- Mike
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/