bebi103.viz.cdf_to_staircase

bebi103.viz.cdf_to_staircase(x, y)

Convert discrete values of CDF to staircase for plotting.

Parameters
  • x (array_like, shape (n,)) – x-values for concave corners of CDF

  • y (array_like, shape (n,)) – y-values of the concave corners of the CDF

Returns

  • x_staircase (array_like, shape (2*n, )) – x-values for staircase CDF.

  • y_staircase (array_like, shape (2*n, )) – y-values for staircase CDF.