# Techniques to Build Better Balance

## Documentation for package ‘halfmoon’ version 0.2.0

- DESCRIPTION file.
- Package NEWS.

## Help Pages

add_ess_header | Add ESS Table Header
autoplot-halfmoon | Autoplot Methods for halfmoon Objects
autoplot.halfmoon_auc | Autoplot Methods for halfmoon Objects
autoplot.halfmoon_balance | Autoplot Methods for halfmoon Objects
autoplot.halfmoon_calibration | Autoplot Methods for halfmoon Objects
autoplot.halfmoon_ess | Autoplot Methods for halfmoon Objects
autoplot.halfmoon_qq | Autoplot Methods for halfmoon Objects
autoplot.halfmoon_roc | Autoplot Methods for halfmoon Objects
bal_corr | Balance Weighted or Unweighted Pearson Correlation
bal_energy | Balance Energy Distance
bal_ess | Calculate Effective Sample Size for Single Weight Vector
bal_ks | Balance Kolmogorov-Smirnov (KS) Statistic for Two Groups
bal_model_auc | Calculate Single AUC for Model Balance Assessment
bal_model_roc_curve | Calculate Single ROC Curve for Model Balance Assessment
bal_prognostic_score | Compute Prognostic Scores for Balance Assessment
bal_qq | Compute QQ Data for Single Variable and Weight
bal_smd | Balance Standardized Mean Difference (SMD)
bal_vr | Balance Variance Ratio for Two Groups
check_balance | Check Balance Across Multiple Metrics
check_ess | Check Effective Sample Size
check_model_auc | Check Balance Using Weighted ROC Curves
check_model_calibration | Compute calibration data for binary outcomes
check_model_roc_curve | Check ROC Curves for Multiple Weights
check_qq | Check QQ Data for Multiple Weights
ess | Calculate the Effective Sample Size (ESS)
geom_calibration | Geom for calibration plot with confidence intervals
geom_ecdf | Calculate weighted and unweighted empirical cumulative distributions
geom_mirror_density | Create mirrored density plots
geom_mirror_histogram | Create mirrored histograms
geom_qq2 | Create 2-dimensional QQ geometries
geom_roc | ROC Curve Geom for Causal Inference
nhefs_weights | NHEFS with various propensity score weights
plot-halfmoon | Plot Methods for halfmoon Objects
plot.halfmoon_auc | Plot Methods for halfmoon Objects
plot.halfmoon_balance | Plot Methods for halfmoon Objects
plot.halfmoon_calibration | Plot Methods for halfmoon Objects
plot.halfmoon_ess | Plot Methods for halfmoon Objects
plot.halfmoon_qq | Plot Methods for halfmoon Objects
plot.halfmoon_roc | Plot Methods for halfmoon Objects
plot_balance | Create balance plot from check_balance output
plot_ess | Plot Effective Sample Size
plot_mirror_distributions | Create mirror distribution plots
plot_model_auc | Plot ROC AUC Values for Balance Assessment
plot_model_calibration | Create calibration plot
plot_model_calibration.data.frame | Create calibration plot
plot_model_calibration.glm | Create calibration plot
plot_model_calibration.halfmoon_calibration | Create calibration plot
plot_model_calibration.lm | Create calibration plot
plot_model_roc_curve | Plot weighted ROC Curves for Balance Assessment
plot_qq | Create QQ plots for weighted and unweighted samples
plot_qq.default | Create QQ plots for weighted and unweighted samples
plot_qq.halfmoon_qq | Create QQ plots for weighted and unweighted samples
plot_stratified_residuals | Create stratified residual diagnostic plots
plot_stratified_residuals.data.frame | Create stratified residual diagnostic plots
plot_stratified_residuals.glm | Create stratified residual diagnostic plots
plot_stratified_residuals.lm | Create stratified residual diagnostic plots
StatQq2 | QQ2 Plot Stat
StatRoc | ROC Curve Stat
stat_qq2 | QQ2 Plot Stat
stat_roc | ROC Curve Stat
weighted_quantile | Compute weighted quantiles