PrY.GT.XSim <-
function (xbar, sx, nx, ybar, sy, ny, nsim = 1e+06, conf.level = GetSMRDDefault("SMRD.ConfLevel")/100)
{
xvalues <- rnorm(nsim, xbar, sx)
yvalues <- rnorm(nsim, ybar, sy)
Prob <- sum(yvalues > xvalues)/nsim
return(Prob)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.