Log-likelihood computation in RCPP
log_llh_rcpp(
param,
nb.e.a,
nb.priorMean.beta,
nb.alpha,
competing_risk,
nb.alpha.CR,
variability_hetero,
S,
Zq,
sharedtype,
sharedtype_CR,
hazard_baseline,
hazard_baseline_CR,
ord.splines,
Xtime,
Utime,
nb_pointsGK,
Xs,
Us,
Xslope,
Uslope,
Xs.slope,
Us.slope,
indices_beta_slope,
Time,
st_calc,
B,
Bs,
wk,
Z,
P,
left_trunc,
Z_CR,
X_base,
offset,
U,
y.new.prog,
event1,
event2,
Ind,
Xs.0,
Us.0,
Xs.slope.0,
Us.slope.0,
P.0,
st.0,
Bs.0,
B.CR,
Bs.CR,
Bs.0.CR,
nb.e.a.sigma = nb.e.a.sigma,
nb.omega = nb.omega,
Otime = Otime,
Wtime = Wtime,
Os = Os,
Ws = Ws,
O_base = O_base,
W_base = W_base,
correlated_re = correlated_re,
Os.0 = Os.0,
Ws.0 = Ws.0
)
The value of the log-likelihood
a vector : paramaters to be estimated
integer : number of RE
integer : number of fixed effects
integer : number of covariates in survival model
boolean : allow competing risk or not, FALSE by default
integer : number of covariates in survival model for competing risks
boolean : allow the heterogeneous variability or not
integer : the number of QMC points
vector : sobol points
vector : dependence structure for survival model : "RE" (random effects) or "CV" (current value) or "CVS" (current value and slope) or "S" (slope)
vector : dependence structure for competing risk survival model : "RE" (random effects) or "CV" (current value) or "CVS" (current value and slope) or "S" (slope)
char : baseline hazard function : "Exponential" or "Weibull" or "Splines"
char : baseline hazard function, competing risk : "Exponential" or "Weibull" or "Splines"
integer : the order of splines function for baseline hazard function
matrix : fixed effects at event time
matrix : RE at event time
integer : number of points for Gauss-Kronrod approximation, 7 or 15 (default)
matrix : fixed effects at Gauss-Kronrod times
matrix : RE at Gauss-Kronrod times
matrix : fixed effects of slope at event times
matrix : RE of slope at event times
matrix : fixed effects of slope at Gauss-Kronrod times
matrix : RE of slope at Gauss-Kronrod times
vector : position of beta which will be used in the slope computation
vector : observed event times
matrix : Gauss-Kronrod times
matrix : splines for baseline hazard function of event 1
matrix : splines for baseline survival function of event 1
vector : Gauss-Kronrod weights
matrix : covariates for survival function of event 1
vector : Time/2
boolean : left truncation indicator
matrix : covariates for survival function of event 2
matrix : fixed effects for longitudinal submodel
vector : number of lines per subjects
matrix : RE for longitudinal submodel
vector : y measures for longitudinal submodel
vector : event 1 indicator
vector : event 2 indicator
integer : number of subjects
same for left truncation
same for left truncation
same for left truncation
same for left truncation
same for left truncation
same for left truncation
same for left truncation
same for left truncation
same for left truncation
same for left truncation
integer : number of RE for variability
integer : number of fixed effects for variability
matrix : fixed effects of variability at event time
matrix : RE of variability at event time
matrix : fixed effects of variability at Gauss-Kronrod times
matrix : random effects of variability at Gauss-Kronrod times
matrix : fixed effects for variability
matrix : fixed effects for variability
boolean : indicator to allow all the random effects to be correlated
matrix : same for left truncation
matrix : same for left truncation