bayesplain.core.regression.mean_response_posterior¶ bayesplain.core.regression.mean_response_posterior(fit, x0)[source]¶ Exact posterior for the average outcome at x0. Parameters:¶ fit : LineFit¶From fit_line(). x0 : float¶Value of the predictor. Returns:¶ Scaled Student-t with n - 2 degrees of freedom. It widens away from the middle of the data, which is why extrapolation is costly. Return type:¶ scipy.stats.rv_continuous_frozen