Skip to content

Instantly share code, notes, and snippets.

@michelkana
Last active May 31, 2021 06:15
Show Gist options
  • Save michelkana/f03cbea2f0c701690649dd3d41e3ace4 to your computer and use it in GitHub Desktop.
Save michelkana/f03cbea2f0c701690649dd3d41e3ace4 to your computer and use it in GitHub Desktop.
aic_vaccines.py
# akaike information criterion
aic_A = 2*5 - 2*math.log(ml_A)
aic_B = 2*5 - 2*math.log(ml_B)
print("AIC for Vaccine A: {:.2f}".format(aic_A))
print("AIC for Vaccine B: {:.2f}".format(aic_B))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment