Combining and Modifying SAS Data Sets Updates

Example 2.2

  • Incorrect Code: data allgrads;
  • Correct Code: data gpagrads;

Example 3.2

  • Incorrect Code: merge agents sales rates;
  • Correct Code: merge agents properties rates;

Example 5.6

  • Incorrect Code: 100*(yes+no)/calculated total_voters_town as pct_voters_precinct format=5.1
  • Correct Code: 100*(yes+no)/calculated total_voters_town as pct_precinct_town format=5.1,

Example 8.15

  • Incorrect Code: array evals{*} eval_fast-character-eval_4hr;
  • Correct Code: array eval{*} eval_fast-character-eval_4hr;

Back to Top