The output is not correct. This is a case where overlay order is important. Because the
model band plots have significant filled areas, they obscure the underlying plots if they
are drawn last. You need to change the overlay order. Since the CLI band has the largest
filled area, you need to draw that plot first. The CLM band has the next largest filled
area, so you need to overlay that plot onto the CLI band.
proc template;
define statgraph weightbyheight;
begingraph;
entrytitle "Model Weight by Height";
layout overlay;
modelband "cli";
modelband "clm";
regressionplot x=height y=weight /
cli="cli" clm="clm";
scatterplot x=height ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.