I would like to show the distribution of two groups (group) by 3 variables (pi_avg, cpd, temp_response). Temp_response is a categorical variable with 4 categories. Is it possible to use a scatterplot to show the distribution of pi_avg and cpd by group and use symbols for temp_response (e.g., x for groups 1 and 2; o for groups 3 and 4)?
Code:
* Example generated by -dataex-. To install: ssc install dataex clear input str8 record_id double(pi_avg cpd) byte temp_response float cat_temp_response byte group "P-0001" 2.05 .7 . . . "P-0002" . . . . . "P-0003" 5.875 2 . . . "P-0004" 2 1.85 . . . "P-0005" 5.5 . 3 1 . "P-0006" 4.7 3.15 1 0 2 "P-0007" 8 -.3 0 0 1 "P-0008" 4.55 . 3 1 . "P-0009" 7.15 .85 1 0 1 "P-0010" 2.5 .625 3 1 2
