trunc_opts | R Documentation |
Returns a truncation distribution formatted for usage by
downstream functions. See estimate_truncation()
for an approach to
estimate these distributions.
trunc_opts(dist = Fixed(0), default_cdf_cutoff = 0.001, weight_prior = FALSE)
dist |
A delay distribution or series of delay distributions reflecting
the truncation. It can be specified using the probability distributions
interface in |
default_cdf_cutoff |
Numeric; default CDF cutoff to be used if an
unconstrained distribution is passed as |
weight_prior |
Logical; if TRUE, the truncation prior will be weighted by the number of observation data points, in doing so approximately placing an independent prior at each time step and usually preventing the posteriors from shifting. If FALSE (default), no weight will be applied, i.e. the truncation distribution will be treated as a single parameter. |
A <trunc_opts>
object summarising the input truncation
distribution.
convert_to_logmean()
convert_to_logsd()
bootstrapped_dist_fit()
Distributions
# no truncation
trunc_opts()
# truncation dist
trunc_opts(dist = LogNormal(mean = 3, sd = 2, max = 10))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.