I am not an expert at math but need to use this for a research project. I've been trying to plot the CDF using Python for a set of example data, of unknown distribution. The small example set I used was - [1.5, 1.5, 2.5, 3.5, 3.5, 3.5, 4.5, 5.5, 5.5, 6, 7]
I tried calculating the pdf myself and then plotting a step graph and also cummulative histogram, but I don't get an accurate graph with the two. All of the other methods I looked up happen to be working with normal distribution. Is that a necessity? Or is there a way to plot a CDF without knowing the distribution of the data?