link
link(l, x)Evaluate a link function: real-space to link-space.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| l | Link | From :func:link_function. |
required |
| x | array_like | Values on the data scale. | required |
Returns
| Name | Type | Description |
|---|---|---|
| numpy.ndarray |
Examples
>>> from corehydropy import link_function, link
>>> l = link_function("Logit")
>>> link(l, [0.1, 0.5, 0.9])
array([-2.19722458, 0. , 2.19722458])