Correction of the help page for ivglm
:
h_i(\psi)=\textrm{expit}\{\hat{E}(Y|L_i,Z_i,X_i)-m^T(L_i)\psi X_i\}
replaced by
h_i(\psi)=\textrm{expit}[\textrm{logit}\{\hat{E}(Y|L_i,Z_i,X_i)\}-m^T(L_i)\psi X_i]
.
Less internal calls to coxph.detail
in stdCoxph
,
which makes the function slightly faster.
Replaced class(fit)=="name"
with
inherits(x=fit, what="name")
in places, which should be safer.
Minor changes in the internal handling of formula arguments,
to avoid errors if formulas are given implicitly to models,
e.g. f <- y~x
, fit <- glm(formula=f)