<P>data work.expertise;<BR>input Obs name level;</P>
<P>if level = . then<BR>expertise = 'Unknown';<BR>else if level = 1 then<BR>expertise = 'Low';<BR>else if level = 2 or 3 then<BR>expertise = 'Medium';<BR>else<BR>expertise = 'High';<BR>cards;<BR>1 Frank 1<BR>2 Joan 2<BR>3 Sui 2<BR>4 Jose 3<BR>5 Burt 4<BR>6 Kelly .<BR>7 Juan 1<BR>;<BR>run;</P>
<P>为什么记录“5 Burt 4”得出来的expertise='Medium',不是应该为'High'吗?</P>
<P>谢谢!!</P>


雷达卡



京公网安备 11010802022788号







