| confint.metafrontier | R Documentation |
Computes Wald-type confidence intervals for the metafrontier coefficients using the variance-covariance matrix from the stochastic metafrontier.
## S3 method for class 'metafrontier'
confint(
object,
parm,
level = 0.95,
correction = c("none", "murphy-topel"),
...
)
object |
a |
parm |
a character or integer vector of parameter names or indices. If missing, all frontier coefficients are used. |
level |
the confidence level (default 0.95). |
correction |
character. Passed to |
... |
additional arguments (currently unused). |
A matrix with columns for the lower and upper bounds.
sim <- simulate_metafrontier(n_groups = 2, n_per_group = 50, seed = 42)
fit <- metafrontier(log_y ~ log_x1 + log_x2, data = sim$data,
group = "group", meta_type = "stochastic")
confint(fit)
# With Murphy-Topel correction (requires numDeriv):
confint(fit, correction = "murphy-topel")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.