code: def _logdet(x):
      return np.linalg.slogdet(x)[1]
  
file_path: statsmodels/statsmodels/stats/multivariate.py
imports: import numpy
  from scipy import stats
  from statsmodels.stats.moment_helpers import cov2corr
  from statsmodels.stats.base import HolderTuple
  from statsmodels.tools.validation import array_like
label_desc: Use image node_id 1 for calling a global function with example usage: _logdet(x) and returns: np