Switching QQ Plot Axes, Generate New Series
Posted: Sun Oct 15, 2017 3:13 am
As far as I know, one of the easiest ways to make a Theoretical Quantile vs Standardized Residual plot is through the following commands:
That gave me something that looks like this:
Note that the x axis reads "Quantiles of Standardized Residuals". Unfortunately, I have to conform to the convention of having the random quantity on the Y axis (and fixed quantity on the x axis), so I will need to switch the axes somehow. Is there an argument for that? I did not come across one in the manual.
I would also accept a solution where one saves the theoretical quantile as a separate series. If I had that, I presume I could do:
Then I could overlay the standardized residuals as dots.
Code: Select all
my_equation.makeresid(s) standardized_residuals
standardized_residuals.qqplot theoryI would also accept a solution where one saves the theoretical quantile as a separate series. If I had that, I presume I could do:
Code: Select all
std_resid_qq_series.line