Convert response value to raw prediction in GLM
Compute response value to raw prediction such as linear predictor in GLM
gfunc(mu, family, epsbino)
mu
: vector of numbers as response value in GLM, for instance, probability estimation if family=2
family
: integer from 1-4, corresponding to "gaussian", "binomial", "poisson", "negbin", respectivelyepsbino
: a small positive value for family=2
to avoid numeric unstabilitylinear predictor f=x'b for predictor x and coefficient b if the model is linear