Dear Experts,

I kindly ask if one of you have any idea on how I could fit a zero-truncated Weibull distribution to one count variable and obtain the estimated shape and scale parameters, as I would like to study in a second step whether they vary upon other covariates.
The truncation is an a priori choice, related to the measure itself.
I am using Stata 17.0

For the moment I have fitted a truncated negative binomial distribution (using tnbreg with the dependent variable and without independent variable) and got the "k" scale parameter was equal to 1/alpha. I did not figure out how to find the m.
In my search I found the useful nbfit module that gives the k estimation for (non truncated) negative binomial distributions obtained by ML. So my second question would be, is there a module out there that would give those estimates for truncated negative binomial distribution?

I apologize for asking so many question (and for the English) but will greatly appreciate any help,
Best regards,

Charlotte