warmfit is to obtain an warm-start of the initial estimator using a subset of data.

warmfit(Y, X, strata, weights, offset, family, idx)

Arguments

Y

outcome vector or matrix

X

design matrix

strata

strata vector

weights

weight for each observation

offset

offset for each observation

family

family of the outcome

idx

indices for the subset to fit

Author

Yan Wang, Tianxi Cai, Chuan Hong