100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
STAT 330 Midterm Exam | Questions with 100% Correct Answers $15.49   Add to cart

Exam (elaborations)

STAT 330 Midterm Exam | Questions with 100% Correct Answers

 6 views  0 purchase
  • Course
  • STAT 330
  • Institution
  • STAT 330

STAT 330 Midterm Exam | Questions with 100% Correct Answers 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 th...

[Show more]

Preview 2 out of 11  pages

  • October 1, 2024
  • 11
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • STAT 330
  • STAT 330
avatar-seller
Jumuja
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';

, c. IF 0 <= Age <= 50 THEN Group = 'A';
ELSE IF 50 < Age <= 70 THEN Group = 'B';
ELSE IF Age > 70 THEN Group = 'C';

d. All of the above will work

What other term is appropriate for referring to a SAS data set?

a. A column
b. A row
c. A table
d. None of the above

Which of the following is a valid variable name?

a. AbCdEfGhIjKlMnOpQrStUvWxYz
b. %Change
c. Debt-Ratio
d. 1stProcedure

How many SAS statements does this program contain?
DATA instock; INFILE supply;
INPUT Brand $
Model $
Quantity;
RUN;
PROC PRINT DATA = instock;
RUN;

a. 2
b. 3
c. 6
d. 7

Which statement does not indicate the end of a DATA or PROC step?

. STOP
b. QUIT
c. END
d. RUN

By default, SAS will execute the DATA step one time each for which of the following?

a. Variable
b. Observation

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

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.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller Jumuja. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $15.49. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

83637 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$15.49
  • (0)
  Add to cart