Hi; I'm currently preparing to take the Base Programming Certification. I downloaded 4 pages of exercises which I found somewhere on the SAS website (see attached file). I'm having an issue with project 2: I can answer question 4 correctly, but not Question 3 (Question 3: How many observations are classified into the “Lower” group? ). With my code: data new; set sashelp.shoes; length salesrange $10.; if (Sales >=0 AND sales < 100000) then salesrange="Lower"; else if (Sales >= 100000 AND Sales<= 200000) then salesrange="Middle"; else if sales > 200000 then salesrange="Upper"; run; proc print data=new; where salesrange = "Lower"; run; my answer for question 3 is 394, not, as the paper says, 288. Is this an error on the paper or did I make a mistake? Any help is appreciated!
... View more