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
Related Posts with Truncated Weibull Distribution ?
Create vars with conditions inside a loopHi, I have the next data Id n_lo1 gr1 gr2 gr3 gr4 gr5 gr6 Pri 01 0600 15 30 54 78 96 45 A1 02 0700…
Using georoute with zipcodesHi all, I'm trying to generate driving distance between a variable with zip codes only and a variab…
Omitted variables due to collinearity in PPML regressionsDear Statalist, I am trying to run gravity regressions on the impact of FTA's for different sectors…
Testing for uniform distributionThis thread suggests that to test for the sample uniform distribution quantile command can be used. …
Interpretation of standardized coefficientsI know that we have previously discussed how the use of standardized coefficients may obfuscate resu…
Subscribe to:
Post Comments (Atom)
0 Response to Truncated Weibull Distribution ?
Post a Comment