code: def test_inverse_deriv():
      # Logic check that inverse_deriv equals 1/link.deriv(link.inverse)
  
      np.random.seed(24235)
  
      for link in Links:
          for k in range(10):
              z = get_domainvalue(link)
              d = link.inverse_deriv(z)
              f = 1 / link.deriv(link.inverse(z))
              assert_allclose(
                  d, f, rtol=1e-8, atol=1e-10, err_msg=str(link)
              )
  
file_path: statsmodels/statsmodels/genmod/families/tests/test_link.py
imports: import numpy
  from numpy.testing import assert_allclose, assert_equal, assert_array_less
  from scipy import stats
  import pytest
  import statsmodels.genmod.families
  from statsmodels.tools import numdiff
label_desc: Use image node_id 5 for calling a global function with example usage: test_inverse_deriv() without return types