STAT 330 Midterm Exam
Which of the following is not a comment in SAS?
a. / I am not a comment /
b. * I am not a comment ;
c. / I am not a comment ; */
d. All of the above are valid comments
In SAS data sets, missing numeric data are represented by which of the following?
a. A single space
b. A single period
c. Any number of spaces
d. Any of the above
Which of the following assignment statements is valid for the numeric variable Score?
a. Score / 100;
b. Score = Score / 100;
c. Score = 'Score' / 100;
d. Score = 'Score / 100';
Which of the following IF-THEN statements will not assign a value of 1 to the variable
named Flag for patients with an eye color of blue or brown?
a. IF EyeColor = 'blue' OR 'brown' THEN Flag = 1;
b. IF EyeColor = 'blue' OR EyeColor = 'brown' THEN Flag = 1; Incorrect
c. IF EyeColor IN ('blue', 'brown') THEN Flag = 1;
d. All of the above will work
Which set of IF-THEN/ELSE statements will run without errors?
a. IF 0 <= Age <= 50 THEN Group = 'A';
ELSE 50 < Age <= 70 THEN Group = 'B';
ELSE Age > 70 THEN Group = 'C';
b. IF 0 <= Age <= 50 THEN Group = 'A';
ELSE IF 50 < Age <= 70 THEN Group = 'B';
ELSE Age > 70 THEN Group = 'C';

No comments found.
Login to post a comment

jordancarter 6 months ago

This study guide is clear, well-organized, and covers all the essential topics. The explanations are concise, making complex concepts easier to understand. It could benefit from more practice questions, but overall, it's a great resource for efficient studying. Highly recommend!
Login to review this item
Q. What will I receive when I purchase this document?
A. You will receive a PDF that is available for instant download upon purchase. The document will be accessible to you at any time, from anywhere, and will remain available indefinitely through your profile.
Q. Satisfaction guarantee: how does it work?
A. Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Q. Who am I buying these notes from?
A. you are buying this document from us learnexams
Q. Will I be stuck with a subscription?
A. No, you only buy these notes for $ indicated . You are not obligated to anything after your purchase.
Q. Can learnexams be trusted?
A. check our reviews at trustpilot
Price $17.50
Add To Cart

Buy Now
Category Study Material
Comments 0
Rating
Sales 0

Buy Our Plan

We have

The latest updated Study Material Bundle with 100% Satisfaction guarantee

Visit Now
{{ userMessage }}
Processing