Skip to content

Instantly share code, notes, and snippets.

@jmquintana79
Last active May 27, 2024 15:13
Show Gist options
  • Save jmquintana79/cc50def585879ed838863c125a166f55 to your computer and use it in GitHub Desktop.
Save jmquintana79/cc50def585879ed838863c125a166f55 to your computer and use it in GitHub Desktop.
from scipy.stats import linregress
# estimate linear regression y = Ax + B
A, B, r_value, p_value, std_err = linregress(x, y)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment