<?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: I need answer for this question mean weight in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/I-need-answer-for-this-question-mean-weight/m-p/895522#M353826</link>
    <description>Thanq so much I got it</description>
    <pubDate>Sat, 23 Sep 2023 04:42:52 GMT</pubDate>
    <dc:creator>Markanti</dc:creator>
    <dc:date>2023-09-23T04:42:52Z</dc:date>
    <item>
      <title>I need answer for this question mean weight</title>
      <link>https://communities.sas.com/t5/SAS-Programming/I-need-answer-for-this-question-mean-weight/m-p/895429#M353782</link>
      <description>I am attaching the question help me with this plZ its sas on demand. I got many errors&lt;BR /&gt;3. &amp;amp;#12;Use the instructions below and the code in the unfinished code section to finish creating dataset “three” in the HW library. (12 pts)&lt;BR /&gt;a. Add a variable called “agegroup” where&lt;BR /&gt;i. Agegroup = 1 for ages under 20&lt;BR /&gt;ii. Agegroup = 2 for ages 20 – under 30&lt;BR /&gt;iii. Agegroup = 3 for ages 30 – under 40&lt;BR /&gt;iv. Agegroup = 4 for ages 40 plus&lt;BR /&gt;b. Then add formatting for the agegroup variable as follows:&lt;BR /&gt;i. Under 20&lt;BR /&gt;ii. 20 – 30&lt;BR /&gt;iii. 30 – 40&lt;BR /&gt;iv. 40 &amp;amp;amp; Over&lt;BR /&gt;c. Create a frequency table of race by agegroup for everyone not in group W2.&lt;BR /&gt;d. Display a list to the output window (show printout) of the following variables for only race = black: height, weight, &amp;amp;amp; race, sorted in height order.&lt;BR /&gt;e. Find the mean weight for each gender group. Fill in the chart below:&lt;BR /&gt;&lt;BR /&gt;Gender&lt;BR /&gt;Mean Weight&lt;BR /&gt;Females&lt;BR /&gt;&lt;BR /&gt;Males&lt;BR /&gt;&lt;BR /&gt;Unfinished Code&lt;BR /&gt;&lt;BR /&gt;*HW 2 - Problem 3;&lt;BR /&gt;title " Using the where statement in procedures";&lt;BR /&gt;data hw.three;&lt;BR /&gt;​input ID Height Weight Pulse Systolic Diastolic Group Gender Race Age;&lt;BR /&gt;datalines;&lt;BR /&gt;11 61 179 82 128 80 W2 F Black 39.6&lt;BR /&gt;12 66 160 80 150 96 W3 F Black 11.4&lt;BR /&gt;13 71 198 72 150 99 W1 M White 40.6&lt;BR /&gt;14 61 172 99 120 80 W2 F Black 39.6&lt;BR /&gt;15 71 237 90 126 90 W1 F Black 24.2&lt;BR /&gt;16 67 204 78 106 64 W3 M Black 40.7&lt;BR /&gt;17 69 135 100 130 90 W4 M Black 29.1&lt;BR /&gt;18 71 237 103 162 108 W3 M Black 16.9&lt;BR /&gt;19 60 208 70 130 90 W4 F Black 31.7&lt;BR /&gt;20 61 193 74 130 80 W1 F White 48.6&lt;BR /&gt;;&lt;BR /&gt;run;&lt;BR /&gt;Finished Code</description>
      <pubDate>Fri, 22 Sep 2023 12:33:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/I-need-answer-for-this-question-mean-weight/m-p/895429#M353782</guid>
      <dc:creator>Markanti</dc:creator>
      <dc:date>2023-09-22T12:33:33Z</dc:date>
    </item>
    <item>
      <title>Re: I need answer for this question mean weight</title>
      <link>https://communities.sas.com/t5/SAS-Programming/I-need-answer-for-this-question-mean-weight/m-p/895431#M353783</link>
      <description>&lt;P&gt;As this is obviously a homework assignment, please show us what you have tried. I think all of us will help you fix your code if you can't get it to work, but we will not do your homework for you from scratch. Please make a reasonable effort to create code that will work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As an aside, your instructor (or professor) seems confused here; there is no need for both a new variable named agegroup AND a format. A format by itself will work without the new variable agegroup.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Sep 2023 12:30:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/I-need-answer-for-this-question-mean-weight/m-p/895431#M353783</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2023-09-22T12:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: I need answer for this question mean weight</title>
      <link>https://communities.sas.com/t5/SAS-Programming/I-need-answer-for-this-question-mean-weight/m-p/895455#M353796</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/450482"&gt;@Markanti&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;title " Using the where statement in procedures";&lt;BR /&gt;data hw.three;&lt;BR /&gt;​input ID Height Weight Pulse Systolic Diastolic Group Gender Race Age;&lt;BR /&gt;datalines;&lt;BR /&gt;11 61 179 82 128 80 W2 F Black 39.6&lt;BR /&gt;12 66 160 80 150 96 W3 F Black 11.4&lt;BR /&gt;13 71 198 72 150 99 W1 M White 40.6&lt;BR /&gt;14 61 172 99 120 80 W2 F Black 39.6&lt;BR /&gt;15 71 237 90 126 90 W1 F Black 24.2&lt;BR /&gt;16 67 204 78 106 64 W3 M Black 40.7&lt;BR /&gt;17 69 135 100 130 90 W4 M Black 29.1&lt;BR /&gt;18 71 237 103 162 108 W3 M Black 16.9&lt;BR /&gt;19 60 208 70 130 90 W4 F Black 31.7&lt;BR /&gt;20 61 193 74 130 80 W1 F White 48.6&lt;BR /&gt;;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;That data step will throw many invalid data messages for Group, Gender and Race. Until you fix that you can't do anything useful involving any of those variables. And assumes you have assigned the HW library.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Sep 2023 14:27:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/I-need-answer-for-this-question-mean-weight/m-p/895455#M353796</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2023-09-22T14:27:27Z</dc:date>
    </item>
    <item>
      <title>Re: I need answer for this question mean weight</title>
      <link>https://communities.sas.com/t5/SAS-Programming/I-need-answer-for-this-question-mean-weight/m-p/895522#M353826</link>
      <description>Thanq so much I got it</description>
      <pubDate>Sat, 23 Sep 2023 04:42:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/I-need-answer-for-this-question-mean-weight/m-p/895522#M353826</guid>
      <dc:creator>Markanti</dc:creator>
      <dc:date>2023-09-23T04:42:52Z</dc:date>
    </item>
  </channel>
</rss>

