- z_vector
a numeric vector of (unbinned) data.
- binned_data
binned data with frequency and estimated counterfactual.
- cf
the counterfactual to be plotted.
- zstar
a numeric value for the the bunching point.
- binwidth
a numeric value for the width of each bin.
- bins_excl_l
number of bins to left of zstar to include in bunching region. Default is 0.
- bins_excl_r
number of bins to right of zstar to include in bunching region. Default is 0.
- p_title
plot's title. Default is empty.
- p_xtitle
plot's x_axis label. Default is the name of z_vector.
- p_ytitle
plot's y_axis label. Default is "Count".
- p_miny
plot's minimum y_axis value. Default is 0.
- p_maxy
plot's maximum y_axis value. Default is optimized internally.
- p_ybreaks
a numeric vector of y-axis values at which to add horizontal line markers in plot. Default is optimized internally.
- p_title_size
size of plot's title. Default is 11.
- p_axis_title_size
size of plot's axes' title labels. Default is 10.
- p_axis_val_size
size of plot's axes' numeric labels. Default is 8.5.
- p_freq_color
plot's frequency line color. Default is "black".
- p_cf_color
plot's counterfactual line color. Default is "maroon".
- p_zstar_color
plot's bunching region marker lines color. Default is "red".
- p_grid_major_y_color
plot's y-axis major grid line color. Default is "lightgrey".
- p_freq_size
plot's frequency line thickness. Default is 0.5.
- p_freq_msize
plot's frequency line marker size. Default is 1.
- p_cf_size
plot's counterfactual line thickness. Default is 0.5.
- p_zstar_size
plot's bunching region marker line thickness. Default is 0.5.
- p_b
whether plot should also include the bunching estimate. Default is FALSE.
- b
normalized bunching estimate.
- b_sd
standard deviation of the normalized bunching estimate.
- p_e
whether plot should also include the elasticity estimate. Only shown if p_b is TRUE. Default is FALSE.
- e
elasticity estimate.
- e_sd
standard deviation of the elasticity estimate.
- p_b_e_xpos
plot's x-axis coordinate of bunching/elasticity estimate. Default is set internally.
- p_b_e_ypos
plot's y-axis coordinate of bunching/elasticity estimate. Default is set internally.
- p_b_e_size
size of plot's printed bunching/elasticity estimate. Default is 3.
- t0
numeric value setting the marginal (average) tax rate below zstar in a kink (notch) setting.
- t1
numeric value setting the marginal (average) tax rate above zstar in a kink (notch) setting.
- notch
whether analysis is for a kink or notch. Default is FALSE (kink).
- p_domregion_color
plot's dominated region marker line color in notch setting. Default is "blue".
- p_domregion_ltype
line type for the vertical line type marking the dominated region (zD) in the plot for notch settings. Default is "longdash".