confint.sklarsomega | R Documentation |
Compute confidence/credible intervals for Sklar's Omega.
## S3 method for class 'sklarsomega'
confint(object, parm, level = 0.95, ...)
object |
an object of class |
parm |
a specification of which parameters are to be given confidence intervals, either a vector of numbers or a vector of names. If missing, all parameters are considered. |
level |
the desired confidence level for the interval. The default value is 0.95. |
... |
additional arguments. These are passed to |
This function computes confidence/credible intervals for a Sklar's Omega fit.
A vector with entries giving lower and upper confidence limits. These will be labelled as (1 - level) / 2 and 1 - (1 - level) / 2.
Nissi, M. J., Mortazavi, S., Hughes, J., Morgan, P., and Ellermann, J. (2015). T2* relaxation time of acetabular and femoral cartilage with and without intra-articular Gd-DTPA2 in patients with femoroacetabular impingement. American Journal of Roentgenology, 204(6), W695.
sklars.omega
# Fit a subset of the cartilage data, assuming a Laplace marginal distribution. Compute
# confidence intervals in the usual ML way (observed information matrix). Note that
# calling function sklars.omega with confint = bootstrap will lead to bootstrap sampling,
# in which case confidence intervals will be bootstrap intervals.
data(cartilage)
data.cart = as.matrix(cartilage)[1:100, ]
colnames(data.cart) = c("c.1.1", "c.2.1")
fit.lap = sklars.omega(data.cart, level = "balance", confint = "asymptotic",
control = list(dist = "laplace"))
summary(fit.lap)
confint(fit.lap, level = 0.99)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.