Sorry. Thought you only wanted an example of the data. There are 10.000+ observations so it is not convenient to list all here. I copied the first 100 observations below. Also, just to make sure we are talking about the same thing. My question is how to get rid of the extra lines that SAS adds to the graph (see picture in my original post). I want 2 lines corresponding to the spline estimates (solid lines) for each sex with upper and lower 95% clm (dashed lines). data WORK.DATA; infile datalines dsd truncover; input age:32. female:32. p:32. lower:32. upper:32.; datalines4; 40,0,0.3222241319,0.3188327688,0.325615495 41,0,0.322588596,0.3194323886,0.3257448035 40,0,0.3222241319,0.3188327688,0.325615495 41,0,0.322588596,0.3194323886,0.3257448035 41,0,0.322588596,0.3194323886,0.3257448035 40,0,0.3222241319,0.3188327688,0.325615495 41,0,0.322588596,0.3194323886,0.3257448035 41,0,0.322588596,0.3194323886,0.3257448035 40,0,0.3222241319,0.3188327688,0.325615495 40,0,0.3222241319,0.3188327688,0.325615495 41,0,0.322588596,0.3194323886,0.3257448035 41,0,0.322588596,0.3194323886,0.3257448035 40,0,0.3222241319,0.3188327688,0.325615495 41,0,0.322588596,0.3194323886,0.3257448035 41,0,0.322588596,0.3194323886,0.3257448035 40,0,0.3222241319,0.3188327688,0.325615495 40,0,0.3222241319,0.3188327688,0.325615495 40,0,0.3222241319,0.3188327688,0.325615495 41,0,0.322588596,0.3194323886,0.3257448035 41,0,0.322588596,0.3194323886,0.3257448035 40,0,0.3222241319,0.3188327688,0.325615495 40,0,0.3222241319,0.3188327688,0.325615495 41,0,0.322588596,0.3194323886,0.3257448035 40,0,0.3222241319,0.3188327688,0.325615495 41,0,0.322588596,0.3194323886,0.3257448035 41,0,0.322588596,0.3194323886,0.3257448035 40,0,0.3222241319,0.3188327688,0.325615495 41,0,0.322588596,0.3194323886,0.3257448035 40,0,0.3222241319,0.3188327688,0.325615495 40,0,0.3222241319,0.3188327688,0.325615495 40,0,0.3222241319,0.3188327688,0.325615495 41,0,0.322588596,0.3194323886,0.3257448035 40,0,0.3222241319,0.3188327688,0.325615495 41,0,0.322588596,0.3194323886,0.3257448035 40,0,0.3222241319,0.3188327688,0.325615495 41,0,0.322588596,0.3194323886,0.3257448035 41,0,0.322588596,0.3194323886,0.3257448035 41,0,0.322588596,0.3194323886,0.3257448035 41,0,0.322588596,0.3194323886,0.3257448035 41,0,0.322588596,0.3194323886,0.3257448035 41,0,0.322588596,0.3194323886,0.3257448035 29,0,0.3178219885,0.31102658,0.3246173969 41,0,0.322588596,0.3194323886,0.3257448035 40,0,0.3222241319,0.3188327688,0.325615495 41,0,0.322588596,0.3194323886,0.3257448035 41,0,0.322588596,0.3194323886,0.3257448035 40,0,0.3222241319,0.3188327688,0.325615495 41,0,0.322588596,0.3194323886,0.3257448035 40,0,0.3222241319,0.3188327688,0.325615495 40,0,0.3222241319,0.3188327688,0.325615495 40,0,0.3222241319,0.3188327688,0.325615495 41,0,0.322588596,0.3194323886,0.3257448035 40,0,0.3222241319,0.3188327688,0.325615495 41,0,0.322588596,0.3194323886,0.3257448035 41,0,0.322588596,0.3194323886,0.3257448035 41,0,0.322588596,0.3194323886,0.3257448035 40,0,0.3222241319,0.3188327688,0.325615495 40,0,0.3222241319,0.3188327688,0.325615495 40,0,0.3222241319,0.3188327688,0.325615495 41,0,0.322588596,0.3194323886,0.3257448035 40,0,0.3222241319,0.3188327688,0.325615495 40,0,0.3222241319,0.3188327688,0.325615495 41,0,0.322588596,0.3194323886,0.3257448035 32,0,0.3190284679,0.3132385942,0.3248183416 32,0,0.3190284679,0.3132385942,0.3248183416 38,0,0.3214412539,0.3175171465,0.3253653613 32,0,0.3190284679,0.3132385942,0.3248183416 41,0,0.322588596,0.3194323886,0.3257448035 31,0,0.3186263081,0.3125046405,0.3247479757 40,0,0.3222241319,0.3188327688,0.325615495 33,0,0.3194306277,0.3139683391,0.3248929164 26,0,0.3166155091,0.3087906933,0.3244403248 41,0,0.322588596,0.3194323886,0.3257448035 40,0,0.3222241319,0.3188327688,0.325615495 38,0,0.3214412539,0.3175171465,0.3253653613 39,0,0.3218389179,0.3181901864,0.3254876493 41,0,0.322588596,0.3194323886,0.3257448035 41,0,0.322588596,0.3194323886,0.3257448035 22,0,0.3150068698,0.3057862116,0.324227528 33,0,0.3194306277,0.3139683391,0.3248929164 40,0,0.3222241319,0.3188327688,0.325615495 41,0,0.322588596,0.3194323886,0.3257448035 40,0,0.3222241319,0.3188327688,0.325615495 31,0,0.3186263081,0.3125046405,0.3247479757 41,0,0.322588596,0.3194323886,0.3257448035 41,0,0.322588596,0.3194323886,0.3257448035 39,0,0.3218389179,0.3181901864,0.3254876493 41,0,0.322588596,0.3194323886,0.3257448035 40,0,0.3222241319,0.3188327688,0.325615495 38,0,0.3214412539,0.3175171465,0.3253653613 40,0,0.3222241319,0.3188327688,0.325615495 41,0,0.322588596,0.3194323886,0.3257448035 27,0,0.3170176689,0.3095380376,0.3244973001 41,0,0.322588596,0.3194323886,0.3257448035 39,0,0.3218389179,0.3181901864,0.3254876493 41,0,0.322588596,0.3194323886,0.3257448035 41,0,0.322588596,0.3194323886,0.3257448035 27,0,0.3170176689,0.3095380376,0.3244973001 23,0,0.3154090296,0.3065392419,0.3242788174 41,0,0.322588596,0.3194323886,0.3257448035 ;;;;
... View more