View source: R/likelihood_copula_models.R
log_likelihood_copula_model | R Documentation |
log_likelihood_copula_model()
computes the loglikelihood for a given
bivariate copula model and data set while allowin for right-censoring of both
outcome variables.
log_likelihood_copula_model(
theta,
X,
Y,
d1,
d2,
copula_family,
cdf_X,
cdf_Y,
pdf_X,
pdf_Y
)
theta |
Copula parameter |
X |
Numeric vector corresponding to first outcome variable. |
Y |
Numeric vector corresponding to second outcome variable. |
d1 |
An integer vector. Indicates whether first variable is observed or right-censored,
|
d2 |
An integer vector. Indicates whether first variable is observed or right-censored,
|
copula_family |
Copula family, one of the following:
|
cdf_X |
Distribution function for the first outcome variable. |
cdf_Y |
Distribution function for the second outcome variable. |
pdf_X |
Density function for the first outcome variable. |
pdf_Y |
Density function for the second outcome variable. |
Loglikelihood of the bivariate copula model evaluated in the observed data.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.