bayesplain.core.regression.predictive¶ bayesplain.core.regression.predictive(fit, x0)[source]¶ Posterior predictive distribution of one new 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, identical to the textbook prediction interval’s distribution. Return type:¶ scipy.stats.rv_continuous_frozen