Nothing
#' Loglikelohood used in sandwich estimator of average causal effect on the treated for DR
#'
#' Loglikelohood used in sandwich estimator of average causal effect on the treated for DR, support function for \code{\link{ui.causal}}
#' @param x coefficents.
#' @param X Covariate matrix.
#' @param z Missing or not.
#' @importFrom stats pnorm
#' @export
Logl.sandACT<-function(x,X,z){
return(mean(z*log(pnorm(X%*%x))+(1-z)*log(1-pnorm(X%*%x))))
}
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.