pyActigraphy.analysis.LIDS.lids_pearson_r

LIDS.lids_pearson_r(lids, params=None)[source]

Pearson correlation factor

Pearson correlation factor between LIDS data and its fit function

Parameters
  • lids (pandas.Series) – Output data from LIDS transformation.

  • params (lmfit.Parameters, optional) – Parameters for the fit function. If None, self.lids_fit_params is used instead. Default is None.

Returns

  • r (numpy.float64) – Pearson’s correlation coefficient

  • p (numpy.float64) – 2-tailed p-value