ksecology / FixedEffectModel

Fixedeffectmodel: panel data modeling in Python
Other
77 stars 22 forks source link

re: replacing NaN with zeros #6

Open joel-mcmurry opened 2 years ago

joel-mcmurry commented 2 years ago

Any thoughts on omitting the preprocessing step in which NaNs are set to zero? Choosing how to handle missing data is a non-trivial modeling choice and having it happen automatically might cause problems for the analyst. My preference would be to drop any row with missings, but throwing an error is also a fine way to go. Thanks!