Questions tagged [shortest-half]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
13
votes
3answers
34k views

How to find the mode of a probability density function?

Inspired by my other question, I would like to ask how does one find the mode of a probability density function (PDF) of a function $f(x)$? Is there any "cook-book" procedure for this? Apparently, ...
8
votes
1answer
539 views

Retrieving minimum width that contains specified fraction of all values

I'd like to find the min/max boundaries of a sliding window of minimum size that contains a certain fraction of the total number of elements in an array or collection of numbers. Example: taking ...