bayesplain.core.correlation.posterior_on_grid¶ bayesplain.core.correlation.posterior_on_grid(r, n, kappa=1.0, points=1201)[source]¶ Evaluate and normalise the posterior over the true correlation. Parameters:¶ r : float¶Observed correlation. n : int¶Number of pairs. kappa : float, default 1.0¶Prior width. points : int, default 1201¶Grid resolution. Returns:¶ (grid, density) with the density normalised to integrate to 1. Return type:¶ tuple of ndarray