I don't know of any straightforward method in SAS. I would guess that it could be done in IML with sufficient programming skill, or maybe even in NLMIXED. I would be very curious to know others' opinions.
Steve Denham
Catch up on SAS Innovate 2026
Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.