Fitting (fit) a zero one inflated beta distribution by maximum likelihood Use zoib With STATA 19
https://ln.run/zoib