n class="sd">    :param x: (scalar/arr) - values</span>
<span class="sd">    :param y: (scalar/arr) - values</span>
<span class="sd">    :return corr, pval: (scalar, scalar) - correlation coefficient, p-value</span>
<span class="sd">    &quot;&quot;&quot;</span>
    <span class="k">return</span> <span class="n">pearsonr</span><span class="p">(</span><span class="n">x</span><span class="p">,</span> <span class="n">y</span><span class="p">)</span></div>


<div class="viewcode-block" id="cosd"><a class="viewco