UM-COG-HSR / BP-COG_Aim2_Dementia

Cox model using time-varying cognition to predict dementia hazard
0 stars 0 forks source link

./examples/01cox_example.sas`: class (ref = "") and format statements #1

Open agalecki opened 4 years ago

agalecki commented 4 years ago

Hi Nick,

Please download and run the sas code named ./examples/01cox_example.sas. It illustrates how to define ref level in  the class statement  and assign formatted value to female variable. 

format female gender.; /* !!!! */

I hope it helps and I strongly believe that it would considerably simplify your code