File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed
Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change 2222% 'sqr' scaled quantile residual
2323% 'combined' pdf and sqr plotted on one figure
2424%
25- % Multiple plot types occur with multiple
26- % name/value pairs specified
25+ % Multiple plot types occur with multiple name/value pairs specified
26+ %
27+ % The equation for Scaled Quantile Residual (SQR) is given by SQR = sqrt(N+2)*(u - uniform-u) where N is the number of data samples.
28+ % SQR plots are very useful as a diagnostic measure because they are sample size invariant and have universal characteristics
29+ % independent of the true PDF. The SQR plot type plots the SQR for each data sample by position, highlighting in red those that fall
30+ % outside of the expected 98% threshold.
31+ %
2732%
2833% 'EstimationType' The default estimation method is PDFEstimate.
2934% Additional KDE methods are available:
3742% estimate for use with 'pdf' plot type. Useful
3843% for comparison to a known distribution.
3944%
45+ %
4046% Example: Plot the estimate of random sample for a Normal distribution
4147% along with the true Normal distribution:
4248% data = randn(1000, 1);
216222 xlabel(' Sample Range' );
217223 end
218224 end
219- end
225+ end
You can’t perform that action at this time.
0 commit comments