scoreinfofun computes information and scores.
scoreinfofun(Y, X, stratas, weights, offset, family, bini, idx)
| Y | outcome vector or matrix |
|---|---|
| X | design matrix |
| stratas | strata vector |
| weights | weight for each observation |
| offset | offset for each observation |
| family | family of the outcome |
| bini | initial coefficient estimate |
| idx | indices for evaluation |
Yan Wang, Tianxi Cai, Chuan Hong