code: def compute_first_order(permuted_outputs, M):
      _, Pxx = periodogram(permuted_outputs)
      V = np.sum(Pxx[1:])
      D1 = np.sum(Pxx[1 : M + 1])
      return D1 / V
  
file_path: SALib/src/SALib/analyze/rbd_fast.py
imports: import numpy
  from scipy.signal import periodogram
  from scipy.stats import norm
  from .None import common_args
  from ..util import read_param_file, ResultDict
label_desc: Use image node_id 3 for calling a global function with example usage: compute_first_order(permuted_outputs, M) and returns: unknown