While writing the post
https://community.jmp.com/t5/Discussions/Difference-of-lines/m-p/691643/highlight/true#M87740
I was reminded of a question that a colleague of mine had some while ago:
Is there a grouped Interpolate function in JSL?
Interpolate(myheight, :height, :weight, by(:sex), for({"F","M"}))
which returns {weightF, weightM} @ myheight for F & M after separately interpolating :weight vs. :height for the 2 subgroups?