What distribution looks like a uniform distribution with decaying density at the extremes?

60 Views Asked by At

I was wondering if there exists a distribution with this general shape:

enter image description here

I want to model something using a prior distribution that is uniform in its interior, and then smoothly (but relatively quickly--hopefully theres a parameter for this) decays to $0$ at the extremes. Does such a distribution, defined on $\mathbb R$, exist?

1

There are 1 best solutions below

0
On

Perhaps you should look at the "smooth transition function" mentioned in the article linked to in the bump-function article. The one with the (a, b, c, d) parameters seems like what you're looking for.