Created
June 30, 2021 16:41
-
-
Save michelkana/d01e53f51a92db7d4f30ebd41a5fd163 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# akaike information criterion | |
aic_A = 2*5 - 2*math.log(ml_A) | |
aic_B = 2*5 - 2*math.log(ml_B) | |
print("AIC for Product A: {:.2f}".format(aic_A)) | |
print("AIC for Product B: {:.2f}".format(aic_B)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment