link_derivative
link_derivative(l, x)Evaluate a link function’s derivative with respect to x.
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_derivative
>>> l = link_function("Log")
>>> link_derivative(l, [1, 10, 100])
array([1. , 0.1 , 0.01])