Hi,

I have been trying to recode the BMI values of my study participants into three different categories. However, things are not working our the way they're supposed to.

I've used the syntax below. Most of the recoding goes fine, however, there are two participants in my dataset who have a BMI of EXACTLY 25. According to my syntax, these people should be assigned a BMIcat-value of 0.5. When I run the syntax though, these people are assigned a BMIcat-value of 0.

How is this possible and how can I correct this??

DATA pp;

SET pp;

BMIcat=.;

IF 18.5

More Miriam Haaksma's questions See All
Similar questions and discussions