April 6, 200520 yr Newbies I'm building a database in which I'll have to calculate a Revised Trauma Score, that takes ranges of values into one code. For example: values, for a variable called Glasgow, of 15, 14 and 13 must return a "4". Values 12, 11, 10 and 9, must return "3", an so forth. In SPSS I would use the "recode", but as a newbie in FM I'm quite lost... Can anyone help in with that? Thank you!!!
April 6, 200520 yr Either: Choose ( Glasgow-1 ;1;1;1;1;2;2;2;2;3;3;3;3;4;4;4) Or: Div ( Glasgow ; 4 ) + 1 But the first is more flexible if say you wish to have more of "2" but less of "1" and "3" --sd
Create an account or sign in to comment