Marginal Treatment Effect (MTE) and Responses (MTR) plots
mtr_plot_fun.Rd
Plot the MTR and MTE estimated curves with their confidence intervals.
Arguments
- dat_plot
Data frame with the estimated MTE and MTR values and their confidence intervals. Must contain specific variables:
Phat
,mtr0
,mtr1
,mtr0_lwr
,mtr1_lwr
,mtr0_upr
,mtr1_upr
,mte
,mte_lwr
,mte_upr
.- common_supp
Vector of two values indicating the common support of the plot. Default is the full support 0,1.
- conf_band
Indicates whether to plot the confidence intervals. Default is "TRUE".
- colMTE, colD0, colD1
Color of the MTE, MTR0 and MTR1 curves.