A function for inverting tests numerically
1 2 | numerical_invert_ci(cdf, quantile, init = 0, step_size = 0.1,
lbound = -Inf, ubound = Inf, ...)
|
cdf |
a cdf function, the first argument of which is the parameter for which a ci is to be computed. |
quantile |
the ci quantile to be computed. |
init |
a value from which to start the search. |
step_size |
step size for searching for the neighborhood of the correct ci quantile. |
lbound |
lower bound on the values the parameter can take. |
ubound |
upper bound on the values the parameter can take. |
... |
additional arguments for |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.