I'm trying to get the inverse CDF of the Raised Cosine probability distribution function.
It has parameters $\mu$ and $s$, support $x \in [\mu - s, \mu + s]$,
PDF 1/(2 s) (1 + Cos[((x - μ)/s) π])
and CDF 1/2 (1 + (x - μ)/s + 1/π Sin[((x - μ)/s) π])
How can I compute its analytic inverse CDF?
I tried the ProbabilityDistribution[]
construct like
RaisedCosineDistribution = ProbabilityDistribution[
1/(2 s) (1 + Cos[((x - μ)/s) π]), {x, μ - s, μ +
s}]
but then taking CDF[RaisedCosineDistribution]
didn't even give me the CDF presented above.
I'm pretty sure I am doing something in the wrong way, but don't know what.