Quantco / glum

High performance Python GLMs with all the features!
https://glum.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
299 stars 24 forks source link

Negative weights #503

Open lbittarello opened 2 years ago

lbittarello commented 2 years ago

Is there a reason for which we forbid negative weights (ref)? Some IV weighting schemes use negative weights to isolate compliers.

lorentzenchr commented 10 months ago

I know of 3 reasons:

I also know of one real use case for negative weights:

I could imagine an option check_for_negative-weights with default True.