Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvements to ecdfplot #453

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

Conversation

sethaxen
Copy link
Member

This PR makes several improvements to ecdfplot:

  • allow setting seriestype to something besides steppost.
  • if seriestype is not steppost, don't plot the extra point on the x-axis.
  • don't plot non-unique points. e.g., when plotting the ECDF of a Binomial(50, 0.1) sample, at most 51 points should be plotted, but previously it plotted length(x) points.
  • allow specifying maximum number of points to plot, which is important when the sample is very large.
  • add a docstring

@sethaxen
Copy link
Member Author

I'd also like to add the ability to provide the evaluation points as x, so one could do ecdfplot(0:0.1:1, rand(100)).

@sethaxen
Copy link
Member Author

Before this is merged, I'd like to add the ability to specify the evaluation points.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant