Skip to content

Instantly share code, notes, and snippets.

@hugozanini
Last active June 8, 2019 09:01
Show Gist options
  • Save hugozanini/238be6353a6163e53d78dde1d65fa52e to your computer and use it in GitHub Desktop.
Save hugozanini/238be6353a6163e53d78dde1d65fa52e to your computer and use it in GitHub Desktop.
B1 = (np.sum((x - np.mean(x))*(y - np.mean(y))))/(np.sum(((x - np.mean(x))**2)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment