Created
November 4, 2016 04:56
-
-
Save alexperrone/e72d7cf98944c82208ad04794e610117 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
x <- 0.7 | |
y <- 0.23 | |
x + y # 0.93 | |
LSE <- function(x, y){ | |
exp(log(x) + log(1+exp(log(y) - log(x)))) | |
} | |
LSE(x, y) # 0.93 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment