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
The 2025 SAS Hackathon has begun!
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.