Summary
estimate_dist() supports fitting Weibull distributions, but the result can't be fully used with the rest of EpiNow2 because dist_spec doesn't support Weibull.
Current state
dist_spec supports: exp, gamma, lognormal, normal
Requested
Add Weibull distribution support to dist_spec so that distributions estimated with estimate_dist(..., dist = "weibull") can be used throughout EpiNow2.
Notes
This requires more than just adding weibull = pweibull to the switch statement - likely needs updates to parameter handling, documentation, and tests.
Summary
estimate_dist()supports fitting Weibull distributions, but the result can't be fully used with the rest of EpiNow2 becausedist_specdoesn't support Weibull.Current state
dist_specsupports: exp, gamma, lognormal, normalRequested
Add Weibull distribution support to
dist_specso that distributions estimated withestimate_dist(..., dist = "weibull")can be used throughout EpiNow2.Notes
This requires more than just adding
weibull = pweibullto the switch statement - likely needs updates to parameter handling, documentation, and tests.