QuestionQuestion

Given the following SAS program:

data grades;
input student $ 1-5 g1 7-9 g2 11-13;
avg = (g1 + g2) / 2;
datalines;

Smith 100 90
Jones 84 86
Black 95 75
White 90 ,
l

Run;

answer the following questions:
1. What does the input buffer look like during the first iteration of the DATA step?
2. What does the program data vector look like at the beginning of the first iteration of the DATA step?
3. What does the program data vector look like at the end of the first iteration of the DATA step?
4. What does the grades data set look like at the end of the first iteration of the DATA step?
5. What does the input buffer look like during the second iteration of the DATA step?
6. What does the program data vector look like at the beginning of the second iteration of the DATA step?
7. What does the program data vector look like at the end of the second iteration of the DATA step?
8. What is the largest value the automatic variable _N_ takes on in the process of executing this program?
9. What does the grades data set look like after this DATA step is fully executed?
10. Would you expect any errors, warnings, or notes to be displayed in the log window upon executing this program? If so, describe them briefly.

Solution PreviewSolution Preview

These solutions may offer step-by-step problem-solving explanations or good writing examples that include modern styles of formatting and construction of bibliographies out of text citations and references. Students may use these solutions for personal skill-building and practice. Unethical use is strictly forbidden.

    By purchasing this solution you'll be able to access the following files:
    Solution.docx.

    50% discount

    Hours
    Minutes
    Seconds
    $75.00 $37.50
    for this solution

    or FREE if you
    register a new account!

    PayPal, G Pay, ApplePay, Amazon Pay, and all major credit cards accepted.

    Find A Tutor

    View available Applied Statistics Tutors

    Get College Homework Help.

    Are you sure you don't want to upload any files?

    Fast tutor response requires as much info as possible.

    Decision:
    Upload a file
    Continue without uploading

    SUBMIT YOUR HOMEWORK
    We couldn't find that subject.
    Please select the best match from the list below.

    We'll send you an email right away. If it's not in your inbox, check your spam folder.

    • 1
    • 2
    • 3
    Live Chats