Actually I applied this code for log-normal distribution before and I wanted to use generalized gamma distribution instead of LN. As you know LN is a special case of GG when 𝑘 → 0. I applied different amount of K and I got the same error but in different observation. for K near 0 I got this error for observation 97 (Y=0) but for K=500 I got this error for observation 1. I applied LN before on my data so it supposed to get the same result when 𝑘 → 0. anyway thank you for your response. As you said I need to track.
... View more