Skip to content
Quantoros

Can differential entropy be negative? Give a simple example.

MathematicsLevel: AdvancedInformation measures

Can differential entropy be negative? Give a simple example.

Hints
  • Use a narrow uniform density.
  • Integrate −f log f.

Answer

This answer is part of mentoring

Advanced questions come with a full breakdown and a mock interview with a working quant researcher. The first call is free.

Source and licence: SciPy — entropy and relative entropy · BSD-3-Clause · answer: Quantoros editorial

Related questions