Re: [Rd] nobs() and logLik()

From: Berwin A Turlach <Berwin.Turlach_at_gmail.com>
Date: Fri, 20 Jan 2012 14:42:08 +0800

G'day Brian,

On Fri, 20 Jan 2012 06:20:30 +0000
Prof Brian Ripley <ripley_at_stats.ox.ac.uk> wrote:

> I do wonder why people use zero weights rather than 'subset', and I
> don't particularly like the discontinuity as a weight goes to zero.

I completely agree, and for developers it is a bit of a pain to make sure that all possible combinations of 'subset' and 'weights' play "nicely" together.

One reason that I can see for people to use zero weights rather than 'subset' is that fitted() and predict() in the former case readily produce fitted values for the observations that received a zero weight.

Cheers,

        Berwin



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Fri 20 Jan 2012 - 06:44:05 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sat 21 Jan 2012 - 14:30:10 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive