Aliensbrain
  • Home
  • Topics
  • Quizzes
  • Notebooks
  • Community
  • Sign in
  • programming languages Online Quiz - 273
  • 1 options linesize=80; 2 title 'Example 2....

1 options linesize=80; 2 title 'Example 2. Test of proc freq'; 3 4 proc format; 5 value $fsex '1'='Male' 6 '2'='Female'; NOTE: Format $FSEX has been output. 7 run; NOTE: PROCEDURE FORMAT used: real time 0.28 seconds cpu time 0.04 seconds 8 9 data sample1; 10 infile 'example2.dat'; 11 input caseid 1-4 mathsat 6-8 score 10-11 sex $ 13 teach 15 12 format sex $fsex.; ______ ______ ______ 228 228 228 13 label caseid='Subject Number' 14 mathsat='SAT Math Score' 15 score='Final Calculus Score' 16 sex='Sex of Participant' 17 teach='Student Rated Teaching Ability'; 18 ERROR 228-185: Informat $FSEX is unknown. ERROR 228-185: Informat $FSEX is unknown. ERROR 228-185: Informat $FSEX is unknown. NOTE: The SAS System stopped processing this step because of errors. NOTE: SAS set option OBS=0 and will continue to check statements. This may cause NOTE: No observations in data set. WARNING: The data set WORK.SAMPLE1 may be incomplete. When this step was stopped there were 0 observations and 6 variables. What is the problem?

technology programming languages
  1. input type for SEX is mismatched, as its is read as charaters but format is expecting numeric

  2. other

  3. no name is assigned for user-defined Format

  4. format not included in dataset

  5. complier is seriously crazy


Show answer
Correct Option: B

Find more quizzes:

© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy