I wish to find the correlation between the change in K angle (continuous data) at a particular time post injury (continuous data) and pain scores (ordinal data). The change in the K angle and pain score are both dependent of the time post injury. Pain score improves and K angle can worsen. which statistical test can be used for this?