Usage: |
mu = glmlink(code,eta{,opt})
|
Input: |
| code | text string, the short code for the model (e.g.
"bilo" for logit or "noid" for ordinary PLM).
|
| eta | n x d matrix, the index values.
|
| opt | optional, a list with optional input.
"glmopt" can be used to set up this parameter.
|
| opt.pow | optional, power for power link. If not given, set
to 0 (logarithm).
|
| opt.nbk | scalar, extra parameter k for negative binomial
distribution. If not given, set to 1 (geometric
distribution).
|
Output: |
| mu | n x d matrix, the link function applied to eta. |