Iteratively reweighted least squares function (main function) for the null model
irls_iter_null.Rd
Iteratively reweighted least squares function (main function) for the null model
Usage
irls_iter_null(
y_vec,
xdumm,
theta_estimated,
tolerance = .Machine$double.eps^0.5,
hold_zero,
stop_criteria = 1e-06,
q_vec
)
Arguments
- y_vec
Observed counts
- xdumm
Design matrix
- theta_estimated
Estimated coefficient values
- tolerance
Numeric tolerance for matrix to be considered not revertable, default = .Machine$double.eps^0.5
- hold_zero
Which element to hold zero in the null model
- stop_criteria
Resolution to stop, default = 1e-6
- q_vec
Capturing probability vector