Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH transforms: symmetric inverse of u-shaped transforms #7299

Open
josef-pkt opened this issue Jan 31, 2021 · 1 comment
Open

ENH transforms: symmetric inverse of u-shaped transforms #7299

josef-pkt opened this issue Jan 31, 2021 · 1 comment

Comments

@josef-pkt
Copy link
Member

josef-pkt commented Jan 31, 2021

In sandbox I included hump- and u-shaped transforms like square mapping form R to R+. However, I don't have inverse functions for those transforms.

in Links, we have power transform restricted to R++, which also work for interval [0, 1]

One possibility to invert square is to construct a symmetric distribution on R, by allocating sqrt equally to both signs +/- .

example Kotz distribution is sqrt of chi2(df=2 * rho - 1) with equal prob for + and - sign
equ. (2) and (3) in

Salehi, Mahdi, and Adelchi Azzalini. 2018. “On Application of the Univariate Kotz Distribution and Some of Its Extensions.” METRON 76 (2): 177–201. https://doi.org/10.1007/s40300-018-0137-3.

I guess we can just do compounding/mixing of an R+ distribution with "sign" distribution, prob(-1) = prob(1) = 0.5

possible use: compute cdf/ppf through a "known" or "special" distribution
e.g. mixing with sign distribution, needs to stitch together the parts on positive and negative half line. (I guess using sf and cdf)
scipy uses special functions for chi and chi2, cdf, ppf.

@josef-pkt
Copy link
Member Author

Kotz family looks like a useful elliptical distribution if we can get univariate cdf and ppf.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant