ci_fct {EpiForsk} | R Documentation |
solve optimization problem for CI bounds
Description
solve optimization problem for each coordinate of f, to obtain the uniform limit.
Usage
ci_fct(i, f, xtx_red, beta_hat, which_parm, level, n_grid, k)
Arguments
i |
An index for the point at which to solve for confidence limits. |
f |
A function taking the parameter vector as its single argument, and returning a numeric vector. |
xtx_red |
Reduced form of matrix X^TX. |
beta_hat |
Vector of parameter estimates. |
which_parm |
Vector indicating which parameters to include. |
level |
The confidence level required. |
n_grid |
Either |
k |
If n_grid is |
Value
One row tibble with estimate and confidence limits.
Examples
1+1