Nothing
getVar <-
function(covs, tIndex){
## create treatment vector
treat = numeric(nrow(covs))
treat[tIndex] = 1
## model propensity score, calculate variance
psModel = glm(treat~., family=binomial('logit'), data=covs)
psVar = var(psModel$fitted)
return(psVar)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.