Skip to main content

regr_intercept

Introduced in: v26.9.0 Returns the intercept of the least-squares fit of y on x: yˉ−slope⋅xˉ\bar{y} - slope \cdot \bar{x} Returns nan when x is constant, because the fitted line is vertical. Syntax
Aliases: regrIntercept Arguments Returned value Returns the intercept of the regression line. Float64 Examples Basic usage
Query
Response
Last modified on October 7, 2026