Thank you for your response. I actually am feeling quite foolish right now. There were no errors in the log, but there was a note saying that the variable ps already exist, so ps2 was used instead. The note was lost in the notes about the model converging in all 40 imputed datasets, so I hadn't noticed it. I ran the syntax several times with slight variations to try and create the variable 'ps' so that must be how it was previously created, but I'm still not sure why the variable kept coming back missing. I closed sas to clear my work file, re-opened it and ran my program and now I have my ps variable! Thank you again.
... View more