Skip to content

(PR#8824) wishlist: summary for regression models to report

1 message · Brian Ripley

#
This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--27464147-1097610713-1146500823=:15100
Content-Type: TEXT/PLAIN; CHARSET=ISO-8859-1; FORMAT=flowed
Content-Transfer-Encoding: 8BIT
Content-ID: <Pine.LNX.4.64.0605100926211.14434 at gannet.stats.ox.ac.uk>

You are apparently unaware that 'na.action' is an argument to lm (which 
defaults to the value of an option), and need not only take the value 
'na.omit'.  Your request does not make sense for other possible 
'na.action's except 'na.exclude' (for example those which impute).

However, there is already a mechanism provided for giving a suitable 
message, naprint(), so all you need to do is to instruct the audience of 
your sermon how to make use of it.  You might do better to tell them to 
use na.action=na.fail (as S does and as I advise my students to do), and 
perhaps also to discuss developments in the field in the last 50 years.

For 2.4.0-to-be I have added a line of output in the print.summary.[g]lm 
methods that will add to the information on degrees of freedom based on 
naprint().
On Mon, 1 May 2006, groemping at tfh-berlin.de wrote:

            
R is nothing like so dictatorial, but does already provide the tools for 
this viewpoint (as well as for others).
(It is in fact very easy to find: see e.g. the code for logLik.lm.)
If you want something added to R, please be prepared to contribute a patch 
for it. (I believe you could have learned a lot from doing so, including 
about what is already provided.)