1CopyrightWarningThis material has been reproduced and communicated to you by or on behalf ofFederation University Australia in accordance with Section 113P of the Copyright Act1968 (the Act).The material in this communication may be subject to copyright under the Act. Anyfurther reproduction or communication of this material may be the subject of copyrightprotection under the Act.Do not remove this notice.ITECH3101 –Business Analytics and Decision Supportweek 8Lab Exercise – SAS programming -2 Conditional and loopingprocessingID: Name: __________Project 1: Conditional processingAll programming languages allow us to perform conditional processing that makesdecisions based on data values or other conditions. We can perform conditionalprocessing logic with IF-THEN statement.1. IF-THEN statementIF-THEN statement takes form of:IF condition THEN action;The condition is an expression comparing one thing to another, and the action is whatSAS should do when the expression is true. for exampleIF Model = ‘Berlinetta’ THEN Make = ‘Ferrari’;2This statement tells SAS to set the variable Make equal to Ferrari whenever the variableModel equals Berlinetta. The basic comparison operators are as follow: SymbolicMnemonicMeaning=EQequals^= or ~=NEnot equal>GTgreater than=GEgreater than or equal
