Programming the statistical procedures from SAS

base sas create derived veriable in lab data set increase >=20% and aval>uln how to create?

Reply
New Contributor
Posts: 3

base sas create derived veriable in lab data set increase >=20% and aval>uln how to create?

base sas create derived veriable in lab data set increase >=20% and aval>uln how to create?

New Contributor
Posts: 3

Re: base sas create derived veriable in lab data set increase >=20% and aval>uln how to create?

using base sas to create derived veriable critfn=1, in lab data set using condition ; if increase >=20% and aval>ULN how to create?

Respected Advisor
Posts: 2,655

Re: base sas create derived veriable in lab data set increase >=20% and aval>uln how to create?

Would this not simply be a simple IF-THEN-ELSE statement?

if increase>=0.2 and aval>uln then critfn=1;

     else critfn=0;

Where increase, aval, and uln are previously defined on the data set.

Steve Denham

New Contributor
Posts: 3

Re: base sas create derived veriable in lab data set increase >=20% and aval>uln how to create?

thanking you sir.

Ask a Question
Discussion stats
  • 3 replies
  • 177 views
  • 0 likes
  • 2 in conversation