Repository navigation
Conversation
|
|
||
| if len(s_self) > len(s_other): | ||
| raise ValueError("Sample size of `other` must be equal or " + | ||
| "larger than this `ProbPlot` instance") |
There was a problem hiding this comment.
can we just swap s_self and s_other in this case?
I don't see an inherent difference between self and other, so we could just switch them. (Which is on the x and which is on the y axis might change dependent on relative size, does it? or is it easy to stick with self being always on the same plot axis/coordinate.
There was a problem hiding this comment.
I'm just thinking it's probably good to make it consistent that y-axis always using raw samples from self and x-axis could be interpolated samples if size of other is larger.
|
@yl565 Thanks based on a brief look, the approach should work well. 2 quick comments, but I need to postpone a more detailed review until 0.8 is out of the way, which I hope to finish really soon (!). |
|
postponed to 0.10, I need a closer look at this. |
|
closed by #5673 |
This PR is to solve #2896.
For qq-plot, the samples of the larger set are interpolated to match the size of the smaller size.
For pp-plot, the samples of one set is used to estimate an empirical cumulative distribution function which is used to calculate probabilities instead of
self.dist