Hi all,
Need a hand doing this with SAS:
Here is the senario: I have 100 patients who underwent surgery for pain relief, the surgery would shorten a ligament by x centemeters
Pain is measured pre-op (pre_pain) and 1 year post-op (post_pain), so we have a repeated measure sitiation.
The theory is: Is the length of the removed ligament related to pain 1 year after surgery?
Variables I want to correct for: Age and sex
So my understanding is that this needs to be done through mixed modelling to controll for individual patient variation.
somthing like:
model post_pain= age sex pre_pain ligament_length (in a mixed model )
I have checked alot in the internet but there is not much written on how to do this with SAS, som suggest GLIMMIX, other MIXED etc
Would really appreciate your help.
Note: Data is in long form
Best regards
AM