code: def make_hypotheses_matrices(model_results, test_formula):
      """ """
      from patsy.constraint import linear_constraint
  
      exog_names = model_results.model.exog_names
      LC = linear_constraint(test_formula, exog_names)
      return LC
  
file_path: statsmodels/statsmodels/formula/formulatools.py
imports: import statsmodels.tools.data
  from patsy import dmatrices, NAAction
  import numpy
label_desc: Use image node_id 5 for calling a global function with example usage: make_hypotheses_matrices(model_results, test_formula) and returns: LC