I want to get the data from a CDF, ideally in a list of probabilities and values. How do I do this?
I can plot the data but I can't see how to extract the raw data behind the plot. My pathetic attempt to extract the data failed.
data = RandomVariate[NormalDistribution[], 50];
D = EmpiricalDistribution[data];
{DiscretePlot[PDF[D, x], {x, data}],
DiscretePlot[CDF[D, x], {x, -4, 4, .01}]}
An attempt to get the numerical data from the CDF:
N[CDF[D]]