Modeling early recovery of physical function following hip and knee arthroplasty | Synapse