#you need the moment generating function of S. beta is the risk aversion coefficient.
ExponentialPremium <- function(beta, MGM){
return(1/beta * MGM(beta))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.