Skip to contents

Updating alpha in estimation procedure. Updating alpha by fitting a weighted multinomial regression.

Usage

update_alpha(alpha, beta, d, Z, mu_censor, gamma = 0)

Arguments

alpha

a matrix of alpha before updating - regression coefficient for multinomial logistic regression model

beta

a matrix of beta before updating - class specific parameters for recurrent model

d

a vector of observed recurrent events for subjects of interest

Z

a vector of time-independent corvariates

mu_censor

a vector of estimated mu(C), where C is a vector of censoring time

gamma

individual frailty. 0 represents the frailty equals 1 and k represents the frailty follows gamma(k,k)

Value

a matrix of updated alpha - regression coefficient for multinomial logistic regression model