This function computes the values of the cumulative difference of two empirical cumulative distribution function and plots the values.
Usage
dif_ecdf_plot(data_1, data_2, bins_size)
Value
The function returns a plot as a ggplot2 object.
Arguments
data_1
data 1.
data_2
data 2.
bins_size
bin size.
Details
This function computes the values of the cumulative difference of two empirical cumulative distribution function and plots the values. This relates two showing second-order stochastic dominance.