A mixed distribution where cumulative probability distribution function (CDF) is given by
G(x)= (1-p)H(x)+pF(x)
where,
p=0.2 (assumed in this case as it ranges from 0-1),
H(x)= 0 when x=0 else 1, and
F(x) is a two-parameter gamma distribution.
How can I get quantiles for y =c(0.2,0.5,1) for a given gamma parameters say shape=3.5 and scale=1.5 ?
Note: I triedqgamma(y, shape, rate=scale, lower.tail = TRUE,log.p = FALSE)
for gamma distributions only but I am not able to incorporate for the first term in the given CDF.