<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: SAS Prep Guide SAS 9 4th edition question on Ch 13 quiz in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SAS-Prep-Guide-SAS-9-4th-edition-question-on-Ch-13-quiz/m-p/453679#M114672</link>
    <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SASque1.jpg" style="width: 450px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/19755iD63F19FCCD93922B/image-size/large?v=v2&amp;amp;px=999" role="button" title="SASque1.jpg" alt="SASque1.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SASque2.jpg" style="width: 450px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/19756i8286EC47A4243AA4/image-size/large?v=v2&amp;amp;px=999" role="button" title="SASque2.jpg" alt="SASque2.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The appendix answer que states that the answer should be C, and I believe it should be A. Is it wrong in the book? If not, why?&lt;/P&gt;</description>
    <pubDate>Thu, 12 Apr 2018 17:39:38 GMT</pubDate>
    <dc:creator>natluri</dc:creator>
    <dc:date>2018-04-12T17:39:38Z</dc:date>
    <item>
      <title>SAS Prep Guide SAS 9 4th edition question on Ch 13 quiz</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Prep-Guide-SAS-9-4th-edition-question-on-Ch-13-quiz/m-p/453668#M114669</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a question on Ch 13 quiz, number 6 of the SAS Prep Guide SAS 9 4th Edition.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why is the answer not a) instead of c) seems like C) actually has an extra unmatched observation? Can anyone help?&lt;/P&gt;&lt;P&gt;Suppose you merge data sets Health.Set1 and Health.Set2 below: Which output does the following program create? data work.merged; merge health.set1( in = in1) health.set2( in = in2); by id; if in1 and in2; run; proc print data = work.merged; run;&lt;/P&gt;&lt;P&gt;Institute, SAS. SAS Certification Prep Guide: Base Programming for SAS9, Fourth Edition (Kindle Locations 7517-7521). SAS Institute. Kindle Edition.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Apr 2018 17:21:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Prep-Guide-SAS-9-4th-edition-question-on-Ch-13-quiz/m-p/453668#M114669</guid>
      <dc:creator>natluri</dc:creator>
      <dc:date>2018-04-12T17:21:03Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Prep Guide SAS 9 4th edition question on Ch 13 quiz</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Prep-Guide-SAS-9-4th-edition-question-on-Ch-13-quiz/m-p/453672#M114671</link>
      <description>&lt;P&gt;Since many of us are not going to have the prep guide you should post 1) the data sets involved in the form of a data step, 2) the response categories.&lt;/P&gt;
&lt;P&gt;Also post code in a code box opened with the forum {I} menu icon.&lt;/P&gt;
&lt;P&gt;Example:&lt;/P&gt;
&lt;PRE&gt;data work.merged; 
   merge health.set1( in = in1) 
         health.set2( in = in2)
   ; 
   by id; 
   if in1 and in2; 
run; 
proc print data = work.merged; 
run;&lt;/PRE&gt;
&lt;P&gt;which is much easier to read.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The statement&lt;/P&gt;
&lt;PRE&gt;   if in1 and in2; &lt;/PRE&gt;
&lt;P&gt;is going to restrict the output data set to those that only have matching values for ID. In1 is true if the current record is from the first set, In2 is true if the current record also has a contribution from the second set. Since the data matches on the variable ID the statement is true only when the record has a contribution from both sets and the record is output.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Apr 2018 17:28:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Prep-Guide-SAS-9-4th-edition-question-on-Ch-13-quiz/m-p/453672#M114671</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-04-12T17:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Prep Guide SAS 9 4th edition question on Ch 13 quiz</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Prep-Guide-SAS-9-4th-edition-question-on-Ch-13-quiz/m-p/453679#M114672</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SASque1.jpg" style="width: 450px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/19755iD63F19FCCD93922B/image-size/large?v=v2&amp;amp;px=999" role="button" title="SASque1.jpg" alt="SASque1.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SASque2.jpg" style="width: 450px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/19756i8286EC47A4243AA4/image-size/large?v=v2&amp;amp;px=999" role="button" title="SASque2.jpg" alt="SASque2.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The appendix answer que states that the answer should be C, and I believe it should be A. Is it wrong in the book? If not, why?&lt;/P&gt;</description>
      <pubDate>Thu, 12 Apr 2018 17:39:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Prep-Guide-SAS-9-4th-edition-question-on-Ch-13-quiz/m-p/453679#M114672</guid>
      <dc:creator>natluri</dc:creator>
      <dc:date>2018-04-12T17:39:38Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Prep Guide SAS 9 4th edition question on Ch 13 quiz</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Prep-Guide-SAS-9-4th-edition-question-on-Ch-13-quiz/m-p/453954#M114751</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/196190"&gt;@natluri&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The appendix answer que states that the answer should be C, and I believe it should be A. Is it wrong in the book? If not, why?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;The font in the pictures is too small for me to read.&lt;/P&gt;
&lt;P&gt;I suggest creating the two data sets and running the code.&lt;/P&gt;
&lt;P&gt;Then compare your result to the answers.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When you get data steps to create the input data sets post them and we likely can provide additional details.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also provide why you think it should be A).&lt;/P&gt;</description>
      <pubDate>Fri, 13 Apr 2018 15:17:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Prep-Guide-SAS-9-4th-edition-question-on-Ch-13-quiz/m-p/453954#M114751</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-04-13T15:17:25Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Prep Guide SAS 9 4th edition question on Ch 13 quiz</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Prep-Guide-SAS-9-4th-edition-question-on-Ch-13-quiz/m-p/453962#M114752</link>
      <description>The publisher confirmed that I was correct and there was an error in the&lt;BR /&gt;book. Thanks. There should only be 6 matched observations.&lt;BR /&gt;&lt;BR /&gt;You should be able to zoom out in the photos. Thank you though.&lt;BR /&gt;</description>
      <pubDate>Fri, 13 Apr 2018 15:35:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Prep-Guide-SAS-9-4th-edition-question-on-Ch-13-quiz/m-p/453962#M114752</guid>
      <dc:creator>natluri</dc:creator>
      <dc:date>2018-04-13T15:35:37Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Prep Guide SAS 9 4th edition question on Ch 13 quiz</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Prep-Guide-SAS-9-4th-edition-question-on-Ch-13-quiz/m-p/454026#M114764</link>
      <description>&lt;P&gt;Hi &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/196190"&gt;@natluri&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We apologize for the error in the book. The correct answer is A, and not C. The DATA step uses the IN= data set option and the subsetting IF statements to exclude unmatched observations from the output data set.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We are currently updating our content updates page to reflect the necessary corrections in the Base Certification 4th edition. Once we have pushed the changes to the page, they will be available at the following link:&amp;nbsp; &lt;A href="https://support.sas.com/en/books/content-updates-base-prep-guide-4th-edition.html&amp;nbsp;" target="_self"&gt;Base Certification 4th Edition Content Updates Page&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Samantha&lt;/P&gt;</description>
      <pubDate>Fri, 13 Apr 2018 18:51:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Prep-Guide-SAS-9-4th-edition-question-on-Ch-13-quiz/m-p/454026#M114764</guid>
      <dc:creator>sabisw</dc:creator>
      <dc:date>2018-04-13T18:51:37Z</dc:date>
    </item>
  </channel>
</rss>

