Skip to content

Instantly share code, notes, and snippets.

@DimensionalScoop
Created November 7, 2016 17:53
Show Gist options
  • Save DimensionalScoop/4c3ae496611abc4ccdc5889f97e64a47 to your computer and use it in GitHub Desktop.
Save DimensionalScoop/4c3ae496611abc4ccdc5889f97e64a47 to your computer and use it in GitHub Desktop.
Aufgabe 4a von SMD
import numpy as np
import scipy.stats as stats
μ = (4, 2)
σ = (3.5, 1.5)
cov = 4.2
def aufgabe_4():
ρ = cov / np.prod(σ)
print("a)", ρ)
if __name__ == '__main__':
aufgabe_4()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment