Chapter Quiz

Select the best answer for each question. Check your answers using the answer key in the appendix.
  1. The default statistics produced by the MEANS procedure are n-count, mean, minimum, maximum, and which one of the following statistics:
    1. median
    2. range
    3. standard deviation
    4. standard error of the mean
  2. Which statement limits a PROC MEANS analysis to the variables Boarded, Transfer, and Deplane?
    1. by boarded transfer deplane;
    2. class boarded transfer deplane;
    3. output boarded transfer deplane;
    4. var boarded transfer deplane;
  3. The data set Cert.Health includes the following numeric variables. Which is a poor candidate for PROC MEANS analysis?
    1. IDnum
    2. Age
    3. Height
    4. Weight
  4. Which of the following statements is true regarding BY-group processing?
    1. BY variables must be either indexed or sorted.
    2. Summary statistics are computed for BY variables.
    3. BY-group processing is preferred when you are categorizing data that contains few variables.
    4. BY-group processing overwrites your data set with the newly grouped observations.
  5. Which group processing statement produced the PROC MEANS output shown below?
    PROC MEANS Output
    1. class sex survive;
    2. class survive sex; 
    3. by sex survive;
    4. by survive sex;
  6. Which program can be used to create the following output?
    Output
    1. proc means data=cert.diabetes; 
         var age height weight; 
         class sex; 
         output out=work.sum_gender 
            mean=AvgAge AvgHeight AvgWeight; 
      run;
    2. proc summary data=cert.diabetes print; 
         var age height weight; class sex; 
         output out=work.sum_gender 
            mean=AvgAge AvgHeight AvgWeight; 
      run;
    3. proc means data=cert.diabetes noprint; 
         var age height weight; 
         class sex; 
         output out=work.sum_gender 
            mean=AvgAge AvgHeight AvgWeight; 
      run;
    4. Both a and b.
  7. By default, PROC FREQ creates a table of frequencies and percentages for which data set variables?
    1. character variables
    2. numeric variables
    3. both character and numeric variables
    4. none: variables must always be specified
  8. Frequency distributions work best with variables that contain which types of values?
    1. continuous values
    2. numeric values
    3. categorical values
    4. unique values
  9. Which PROC FREQ step produced this two-way table?
    Two-Way Table
    1. proc freq data=cert.diabetes; 
         tables height weight; 
         format height htfmt. weight wtfmt.; 
      run;
    2. proc freq data=cert.diabetes; 
         tables weight height; 
         format weight wtfmt. height htfmt.; 
      run;
    3. proc freq data=cert.diabetes; 
         tables height*weight; 
         format height htfmt. weight wtfmt.; 
      run;
    4. proc freq data=cert.diabetes; 
         tables weight*height; 
         format weight wtfmt. height htfmt.; 
      run;
  10. Which PROC FREQ step produced this table?
    PROC FREQ Table
    1. proc freq data=cert.diabetes; 
         tables sex weight / list; 
         format weight wtfmt.; 
      run;
    2. proc freq data=cert.diabetes; 
         tables sex*weight / nocol; 
         format weight wtfmt.; 
      run;
    3. proc freq data=cert.diabetes; 
         tables sex weight / norow nocol; 
         format weight wtfmt.; 
      run;
    4. proc freq data=cert.diabetes; 
         tables sex*weight / nofreq norow nocol; 
         format weight wtfmt.; 
      run; 
Last updated: August 23, 2018
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.143.239.44