Skip to content
Prev 388545 / 398513 Next

zero weights in weighted.mean

On 14/07/2021 6:00 a.m., G?ran Brostr?m wrote:
Inf*0 is not zero.  Setting weights to zero on infinite observations (or 
NA, or NaN) will give different results in your two expressions.

Duncan Murdoch