Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
In usual statistical practice, qqnorm plots are plotted against the quantiles of the standard normal and not against a normal distribution fitted to the data. This changes the behavior of
qqnorm
to use the standard normal as the reference distribution. I'm somewhat unsure at the moment about the tick labels, but perhaps @dmbates can comment (who brought this issue to my attention).There is an additional friction point introduced by this change: the default
y=x
line shown in the qqnorm plot is now ridiculous for empirical distributions that aren't unit scaled. I realize that this usesqqbuild
from Distributions, but perhaps changing the values to be on the quantile/CDF scale instead of the raw scale might help (that ties into the axis labeling as well).This type of plot also greatly benefits from a default 1:1 aspect, but I don't know how to make that change quickly.
I'm unsure whether this counts as a breaking change or just a bugfix.