code: def test_r(fname, ties, entry_f, strata_f):
      TestPHReg.do1(fname, ties, entry_f, strata_f)
  
imports: import itertools
  import os
  import numpy
  from statsmodels.duration.hazard_regression import PHReg
  from numpy.testing import assert_allclose, assert_equal, assert_
  import pandas
  import pytest
  from .results import survival_r_results
  from .results import survival_enet_r_results
label_desc: Use image node_id 2 for calling a global function with example usage: test_r(fname, ties, entry_f, strata_f) without return types