View source: R/fit_model_BinCont_copula.R
fit_copula_model_BinCont | R Documentation |
The function fit_copula_model_BinCont()
fits the copula model for a
continuous surrogate endpoint and binary true endpoint. Because the bivariate
distributions of the surrogate-true endpoint pairs are functionally
independent across treatment groups, a bivariate distribution is fitted in
each treatment group separately.
fit_copula_model_BinCont(
data,
copula_family,
marginal_surrogate,
marginal_surrogate_estimator = NULL,
twostep = FALSE,
fitted_model = NULL,
maxit = 500,
method = "BFGS"
)
data |
A data frame in the correct format (See details). |
copula_family |
One of the following parametric copula families:
|
marginal_surrogate |
Marginal distribution for the surrogate. For all
available options, see |
marginal_surrogate_estimator |
Not yet implemented |
twostep |
(boolean) if |
fitted_model |
Fitted model from which initial values are extracted. If
|
maxit |
Maximum number of iterations for the numeric optimization, defaults to 500. |
method |
Optimization algorithm for maximizing the objective function.
For all options, see |
WIP
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.