Skip to content

Commit

Permalink
Use \deqn (#90)
Browse files Browse the repository at this point in the history
  • Loading branch information
erikcs authored Nov 5, 2024
1 parent 2137950 commit d18bf41
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions r-package/maq/R/get_ipw_scores.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
#'
#' A simple convenience function to
#' construct an evaluation score matrix via IPW, where entry (i, k) equals
#' \itemize{
#' \item \eqn{\frac{\mathbf{1}(W_i=k)Y_i}{P[W_i=k | X_i]} - \frac{\mathbf{1}(W_i=0)Y_i}{P[W_i=0 | X_i]}},
#' }
#' \deqn{\frac{\mathbf{1}(W_i=k)Y_i}{P[W_i=k | X_i]} - \frac{\mathbf{1}(W_i=0)Y_i}{P[W_i=0 | X_i]},}
#' where \eqn{W_i} is the treatment assignment of unit i and \eqn{Y_i} the observed outcome.
#' \eqn{k = 1 \ldots K} are one of K treatment arms and k = 0 is the control arm.
#'
Expand Down
4 changes: 1 addition & 3 deletions r-package/maq/man/get_ipw_scores.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d18bf41

Please sign in to comment.