Performs joint Poisson regression using the omnibus function
Source:R/Poisson_Regression.R
RunPoissonRegression_Joint_Omnibus.Rd
RunPoissonRegression_Joint_Omnibus
uses user provided data, time/event columns,
vectors specifying the model, and options to control the convergence and starting positions.
Has additional options to starting with several initial guesses, uses joint competing risks equation
Arguments
- df
a data.table containing the columns of interest
- pyr0
column used for person-years per row
- events
vector of event column names
- name_list
list of vectors for columns for event specific or shared model elements, required
- term_n_list
list of vectors for term numbers for event specific or shared model elements, defaults to term 0
- tform_list
list of vectors for subterm types for event specific or shared model elements, defaults to loglinear
- keep_constant_list
list of vectors for constant elements for event specific or shared model elements, defaults to free (0)
- a_n_list
list of vectors for parameter values for event specific or shared model elements, defaults to term 0
- modelform
string specifying the model type: M, ME, A, PA, PAE, GMIX, GMIX-R, GMIX-E
- control
list of parameters controlling the convergence, see the Control_Options vignette for details
- strat_col
column to stratify by if needed
- model_control
controls which alternative model options are used, see the Control_Options vignette for further details
- cons_mat
Matrix containing coefficients for a system of linear constraints, formatted as matrix
- cons_vec
Vector containing constants for a system of linear constraints, formatted as vector
See also
Other Poisson Wrapper Functions:
EventAssignment.poisres()
,
LikelihoodBound.poisres()
,
PoisRun()
,
PoisRunJoint()
,
PoissonCurveSolver()
,
Residual.poisres()
,
RunPoissonEventAssignment()
,
RunPoissonEventAssignment_bound()
,
RunPoissonRegression_Omnibus()
,
RunPoissonRegression_Residual()