Using the SASHELP.CLASS data set as an example. There are two genders (M and F) and age and weight as continuous. In first plot, i want the age * weight by gender, so I use the symbol1 i = join and repeat = 2(for my 2 genders), so for you repeat = 369 I assume is for the total number of IDs. Then I do the plot2, for the regression line (overall) between age and weight, using the symbol2 statement with i = r. So, the only difference between your code and mine is where I have the symbol statement (immediately after the corresponding plot statement).(which should not matter) goptions reset=all; proc sort data = sashelp.class out = temp;by weight; proc gplot data = temp; plot age*weight = sex; symbol1 v = dot repeat = 2 i = join color = blue width = 3; plot2 age*weight; symbol2 v = none i = r color = green width = 2; run;quit; Would you be able to provide a sample data?
... View more