<?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® Programming 1: Essentials Lesson 03, Section 1; Level 2 Question 6 in Programming 1 and 2</title>
    <link>https://communities.sas.com/t5/Programming-1-and-2/SAS-Programming-1-Essentials-Lesson-03-Section-1-Level-2/m-p/957528#M1517</link>
    <description>&lt;P&gt;Yes, I think the purpose of this section was to explore data using the procedures mentioned in Lesson 3.1. The instructions for that particular Question 2 were very specific to using PROC UNIVARIATE and a visual scan through the data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now, that does not mean that it is the most efficient way to achieve this. For example, a quick browse through the &lt;A href="https://go.documentation.sas.com/doc/da/pgmsascdc/v_054/procstat/procstat_univariate_toc.htm" target="_self"&gt;PROC UNIVARIATE documentation&lt;/A&gt;&amp;nbsp;would reveal some helpful additions to the code, like the NEXTOBS=1 option and the ID statement, which when combined, would get us closer to the answer in one step.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc univariate data=pg1.np_summary nextrobs=1; 
	var Acres; 
	id parkname;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="antonbcristina_0-1738112578083.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/104092i0F65CFB32200C201/image-size/medium?v=v2&amp;amp;px=400" role="button" title="antonbcristina_0-1738112578083.png" alt="antonbcristina_0-1738112578083.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 29 Jan 2025 01:03:23 GMT</pubDate>
    <dc:creator>antonbcristina</dc:creator>
    <dc:date>2025-01-29T01:03:23Z</dc:date>
    <item>
      <title>SAS® Programming 1: Essentials Lesson 03, Section 1; Level 2 Question 6</title>
      <link>https://communities.sas.com/t5/Programming-1-and-2/SAS-Programming-1-Essentials-Lesson-03-Section-1-Level-2/m-p/957508#M1513</link>
      <description>&lt;P&gt;&lt;SPAN&gt;The question for&amp;nbsp;SAS® Programming 1: Essentials Lesson 03, Section 1; Level 2 Question 6 is the following:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;View the&amp;nbsp;pg1.np_summary&amp;nbsp;table to identify the name and size of the smallest and largest parks.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;For the solution, it has the name and size of the smallest and largest park but not the steps.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The question I have is:&lt;/P&gt;
&lt;P&gt;Which steps/process was I supposed to take that followed the module?&lt;/P&gt;
&lt;P&gt;How am I supposed to identify the ParkName of the Min and Max using the SAS Training/code that has been introduced up to this point?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;These are just two of the many methods I used for acquiring the MIN and MAX.&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=""&gt;proc univariate data=pg1.np_summary;
var Acres;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;PRE&gt;&lt;CODE class=""&gt;proc means data=PG1.NP_SUMMARY MIN MAX;
var Acres ParkName;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2025 20:53:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Programming-1-and-2/SAS-Programming-1-Essentials-Lesson-03-Section-1-Level-2/m-p/957508#M1513</guid>
      <dc:creator>coder1234</dc:creator>
      <dc:date>2025-01-28T20:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: SAS® Programming 1: Essentials Lesson 03, Section 1; Level 2 Question 6</title>
      <link>https://communities.sas.com/t5/Programming-1-and-2/SAS-Programming-1-Essentials-Lesson-03-Section-1-Level-2/m-p/957509#M1514</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/468404"&gt;@coder1234&lt;/a&gt;, in the previous question (2b), you were asked to write a PROC UNIVARIATE step to look at the smallest and largest park based on acreage.&amp;nbsp; From that output, you would be able to identify the observation numbers for those parks. Question 2c) then asks you to look at&amp;nbsp;the original pg1.np_summary dataset and identify the names of those parks based on observation numbers.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2025 20:55:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Programming-1-and-2/SAS-Programming-1-Essentials-Lesson-03-Section-1-Level-2/m-p/957509#M1514</guid>
      <dc:creator>antonbcristina</dc:creator>
      <dc:date>2025-01-28T20:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: SAS® Programming 1: Essentials Lesson 03, Section 1; Level 2 Question 6</title>
      <link>https://communities.sas.com/t5/Programming-1-and-2/SAS-Programming-1-Essentials-Lesson-03-Section-1-Level-2/m-p/957513#M1515</link>
      <description>&lt;P&gt;SAS intended the learner to just scroll through the dataset without using SAS coding?&lt;/P&gt;
&lt;P&gt;I was hoping there was a SAS code that would generate an output similar to this:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="coder1234_0-1738098453756.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/104086i5C0A114A30DF724E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="coder1234_0-1738098453756.png" alt="coder1234_0-1738098453756.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="coder1234_1-1738098621699.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/104087iF5B6628B9A0B03C5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="coder1234_1-1738098621699.png" alt="coder1234_1-1738098621699.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2025 21:13:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Programming-1-and-2/SAS-Programming-1-Essentials-Lesson-03-Section-1-Level-2/m-p/957513#M1515</guid>
      <dc:creator>coder1234</dc:creator>
      <dc:date>2025-01-28T21:13:08Z</dc:date>
    </item>
    <item>
      <title>Re: SAS® Programming 1: Essentials Lesson 03, Section 1; Level 2 Question 6</title>
      <link>https://communities.sas.com/t5/Programming-1-and-2/SAS-Programming-1-Essentials-Lesson-03-Section-1-Level-2/m-p/957517#M1516</link>
      <description>Try sorting it by size.  After doing so, how would you select the rows that contain the largest and smallest parks?</description>
      <pubDate>Tue, 28 Jan 2025 22:08:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Programming-1-and-2/SAS-Programming-1-Essentials-Lesson-03-Section-1-Level-2/m-p/957517#M1516</guid>
      <dc:creator>quickbluefish</dc:creator>
      <dc:date>2025-01-28T22:08:04Z</dc:date>
    </item>
    <item>
      <title>Re: SAS® Programming 1: Essentials Lesson 03, Section 1; Level 2 Question 6</title>
      <link>https://communities.sas.com/t5/Programming-1-and-2/SAS-Programming-1-Essentials-Lesson-03-Section-1-Level-2/m-p/957528#M1517</link>
      <description>&lt;P&gt;Yes, I think the purpose of this section was to explore data using the procedures mentioned in Lesson 3.1. The instructions for that particular Question 2 were very specific to using PROC UNIVARIATE and a visual scan through the data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now, that does not mean that it is the most efficient way to achieve this. For example, a quick browse through the &lt;A href="https://go.documentation.sas.com/doc/da/pgmsascdc/v_054/procstat/procstat_univariate_toc.htm" target="_self"&gt;PROC UNIVARIATE documentation&lt;/A&gt;&amp;nbsp;would reveal some helpful additions to the code, like the NEXTOBS=1 option and the ID statement, which when combined, would get us closer to the answer in one step.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc univariate data=pg1.np_summary nextrobs=1; 
	var Acres; 
	id parkname;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="antonbcristina_0-1738112578083.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/104092i0F65CFB32200C201/image-size/medium?v=v2&amp;amp;px=400" role="button" title="antonbcristina_0-1738112578083.png" alt="antonbcristina_0-1738112578083.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2025 01:03:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Programming-1-and-2/SAS-Programming-1-Essentials-Lesson-03-Section-1-Level-2/m-p/957528#M1517</guid>
      <dc:creator>antonbcristina</dc:creator>
      <dc:date>2025-01-29T01:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: SAS® Programming 1: Essentials Lesson 03, Section 1; Level 2 Question 6</title>
      <link>https://communities.sas.com/t5/Programming-1-and-2/SAS-Programming-1-Essentials-Lesson-03-Section-1-Level-2/m-p/957529#M1518</link>
      <description>&lt;P&gt;This was the option I was looking for! I must have overlooked it thinking it was focusing on&amp;nbsp;&lt;EM&gt;extreme observations.&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;SAS did go over the code after all,&amp;nbsp; Challenge Practice: Generating Extreme Observations Output, epg1v203. It didn't occur to me to decrease the nextrobs and that it would show the ID along with it.&amp;nbsp;I appreciate your help and thank you so much for sharing it. It solved my question!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2025 03:49:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Programming-1-and-2/SAS-Programming-1-Essentials-Lesson-03-Section-1-Level-2/m-p/957529#M1518</guid>
      <dc:creator>coder1234</dc:creator>
      <dc:date>2025-01-29T03:49:30Z</dc:date>
    </item>
    <item>
      <title>Re: SAS® Programming 1: Essentials Lesson 03, Section 1; Level 2 Question 6</title>
      <link>https://communities.sas.com/t5/Programming-1-and-2/SAS-Programming-1-Essentials-Lesson-03-Section-1-Level-2/m-p/959641#M1520</link>
      <description>&lt;P&gt;Thank you for your response.&lt;/P&gt;
&lt;P&gt;However, I believe the steps you are mentioning are not presented until&amp;nbsp;SAS® Programming 2: Data Manipulation Techniques Lesson 2.&lt;/P&gt;
&lt;P&gt;I wanted to get the results via SAS using the techniques that have been previously introduced prior to the Problem/Question.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2025 18:07:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Programming-1-and-2/SAS-Programming-1-Essentials-Lesson-03-Section-1-Level-2/m-p/959641#M1520</guid>
      <dc:creator>coder1234</dc:creator>
      <dc:date>2025-02-19T18:07:32Z</dc:date>
    </item>
  </channel>
</rss>

