Description Usage Arguments Note Author(s)
View source: R/WeibullIntegrate.R
Function to be integrated to compute loglikelihood function for the Weibull survival regression model with a censored covariate.
1 2 3  WeibullIntegrate(x, x_i_noncens = NULL, density, param_y_i,
param_delta_i, param_lambda, param_gamma,
param_beta, intlimit = 10^10, ForIntegrate = TRUE)

x 
Value of the censored covariate for observation i. 
x_i_noncens 
Vector of values of the noncensored covariates for observation i, i.e. one row of the matrix where each column represents a noncensored covariate. 
density 
Density function of the censored covariate. 
param_y_i 
Value of the timetoevent for observation i. 
param_delta_i 
Censoring indicator of timetoevent for observation i (0: censored, 1: not censored). 
param_lambda 
Scale parameter of the Weibull distribution. 
param_gamma 
Shape parameter of the Weibull distribution. 
param_beta 
Regression parameters (i.e. β): (betaNonCens1, ..., betaNonCens, betaCens) 
intlimit 
In computation of integrals, values of the function to be integrated below 
ForIntegrate 

Function is not intended to be invoked by the user.
Stanislas Hubeaux, [email protected]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.