Question: I need help for the code to for this question in SAS Create a new data set (NUMS) containing all four variables (you can use

I need help for the code to for this question in SAS

I need help for the code to for this question in SAS

Create a new data set (NUMS) containing all four variables (you can use a new name for A and B) with only numeric variables. 10 Run the following program to create a SAS data set NUM_CHAR. Using this data set create a new SAS data set (CORRECT) as follows: X, Y, and Z are numeric variables (yes you have to use the same variable names. HINT: Swap and DROP); DATE is a real SAS date (i.e., the number of days from January 1, 1960, format it with DATE9.); NUMERAL is a character variable (make the length 8); CHAR_DATE is a character variable with the value of DOB (but as a character string in the MMDDYY10. format). DATA NUM CHAR; INPUT X $ Y $ Z $ DATE : $10. NUMERAL DOB : DATE9 . ; FORMAT DOB MMDDYY10. ; DATALINES ; 10 20 30 10/21/1946 123 09SEP2004 1 2 3 11/11/2004 999 01JAN1960

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!