Question

Need help on M/C SAS base programing Q!!

newvar=input(start,date9.); Select one: a. None of the other choices b. This statement is used to instruct SAS on how to read

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Answer1- Option B, is the right answer, as the input function is used to read the raw data where the informat instructs which type of data to be read from the table.

Answer2- Option A, is the right answer here as IF statement is the condition which can be used to select the observations in the table.

Add a comment
Know the answer?
Add Answer to:
Need help on M/C SAS base programing Q!! newvar=input(start,date9.); Select one: a. None of the other...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • SAS BASE PROGRAMMING M?C Q PLS HELLP!! Which statement(s) can be used in the GPLOT procedure...

    SAS BASE PROGRAMMING M?C Q PLS HELLP!! Which statement(s) can be used in the GPLOT procedure to select observations (records)? Select one: a. WHERE or IF b. None of the other choices c. WHERE O d. IF var r6 -- r11; *Note the two dashes! Select one: O a. Selects the variables that appear in consecutive order between r6 and r11 b. Selects the character variables that appear in consecutive order between r6 and r11 c. Selects the variables r6,...

  • SAS BASE PROGRAMMING M?C Q PLS HELLP! The RETAIN statement can be used to Select one:...

    SAS BASE PROGRAMMING M?C Q PLS HELLP! The RETAIN statement can be used to Select one: a. Keep the values of only assigned variables from one iteration of the PROC PRINT step to the next b. Keep the values of all types of variables from one iteration of the DATA step to the next c. Keep the values of only assigned variables from one iteration of the DATA step to the next d. None of the other choices How many...

  • SAS BASE PROGRAMMING Q newvar="Soak in' | 'the sunshine'; Select one: O a. NEWVAR is equal...

    SAS BASE PROGRAMMING Q newvar="Soak in' | 'the sunshine'; Select one: O a. NEWVAR is equal to 'Soak inthe sunshine' O b. NEWVAR is equal to 'Soak in the sunshine O C. NEWVAR is equal to 'Soak in the sunshine' O d. None of the other choices In the DATA step, what happens if a MERGE statement is used without a BY statement? Select one: a. The observations in the input data sets are appended /concatenated O b. There is...

  • SAS BASE PROGRAMMING Q For the REPORT procedure, which of the following statements is false? Select...

    SAS BASE PROGRAMMING Q For the REPORT procedure, which of the following statements is false? Select one: a. It can create summary reports b. It displays labels by default c. It can create list reports d. None of the other choices Which of the following can be requested as option(s) to the PLOT statement in PROC GPLOT? Select one: a. None of the other choices b. Confidence limits C. Regression equation d. Regression line

  • SAS BASE PROGRAMMING Q proc contents data-data1.admit; run; Select one: a. Creates a report containing summary...

    SAS BASE PROGRAMMING Q proc contents data-data1.admit; run; Select one: a. Creates a report containing summary statistics b. Creates a report containing status messages regarding execution c. Creates a report containing the variable attributes O d. Creates a report containing the observations data NULL; Select one: a. Instructs SAS to write output to the NULL data set in the work library. b. None of the other choices C. Instructs SAS to write output without creating a data set. d. Is...

  • SAS BASE PROGRAMMING Q newvar=substr('The ocean stirs the heart, inspires the imagination., 8, 10); Select one:...

    SAS BASE PROGRAMMING Q newvar=substr('The ocean stirs the heart, inspires the imagination., 8, 10); Select one: a. None of the other choices b. NEWVAR is equal to 'an stirs t' C. NEWVAR is equal to 'n stirs th' d. NEWVAR is equal to 'an' In which step can variable attributes (i.e. formats) be temporarily modified? Select one: a. PROC DATASETS b. PROC TABULATE c. None of the other choices d. DATA

  • SAS BASE PROGRAMMING Q In work.ucsb, the format of the variable START is MMDDYY10. In work.ucla,...

    SAS BASE PROGRAMMING Q In work.ucsb, the format of the variable START is MMDDYY10. In work.ucla, the format of the variable START IS DATE7. After executing the following step, what is the format of the variable START in work.combined? data work.combined; set work.ucsb work.ucla; run; Select one: a. DATES b. It has no format c. MMDDYY10 d. DATE7

  • SAS BASE PROGRAMMING Q newvar=scan('Live in the sunshine, swim in the sea, drink in the wild...

    SAS BASE PROGRAMMING Q newvar=scan('Live in the sunshine, swim in the sea, drink in the wild air., 2); Select one: oa. None of the other choices O b. NEWVAR is equal to swim in the sea' C. NEWVAR is equal to the d. NEWVAR is equal to 'in'

  • Need help programing this in C. rinteivsors Print the proper divisors of an integer value The...

    Need help programing this in C. rinteivsors Print the proper divisors of an integer value The program should read a single integer input value, which you can assume will be positive. It should then print a single line of output with all of the proper divisors of the input value in order from least to greatest. A proper divisor d of an integer n is an integer that evenly divides n: i.e., nld is an integer For example, if the...

  • SAS program. Need help with direction on how to do report 2 Report 2. A gournet...

    SAS program. Need help with direction on how to do report 2 Report 2. A gournet pizza restaurant is considering adding new toppings to its menu. Each month they survey ten customers about their preferences for three different toppings. They want data on several different toppings, so they do not always ask about the same three toppings. Customers rate each topping on a scale of 1 (would never order) to 5 (would order often). The raw data file Pizza.csv has...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT