Question

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. NEWV

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

Substr function: Where The syntax is : Substr( source, position, n) source is the variable con string of characters reading N

please upvote and comment for doubts

Add a comment
Know the answer?
Add Answer to:
SAS BASE PROGRAMMING Q newvar=substr('The ocean stirs the heart, inspires the imagination., 8, 10); Select one:...
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 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 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 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 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 on M/C SAS base programing Q!! newvar=input(start,date9.); Select one: a. None of the other...

    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 in raw data c. This statement is used to convert a number into a character string d. This statement can be used in a PRINT procedure Which statement(s) can be used to select observations (records)? Select one: a. IF b. VAR c. All of the other choices d. COLUMN

  • 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 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

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