<?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: Replace missing with Median value in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Replace-missing-with-Median-value/m-p/788065#M251894</link>
    <description>&lt;P&gt;This looks like homework. What have you tried?&lt;/P&gt;
&lt;P&gt;Here's an older topic, created by yourself dealing with the same problem: &lt;A href="https://communities.sas.com/t5/SAS-Programming/proc-mean-with-a-where-clause-with-median/m-p/760304" target="_blank" rel="noopener"&gt;https://communities.sas.com/t5/SAS-Programming/proc-mean-with-a-where-clause-with-median/m-p/760304&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 03 Jan 2022 06:31:58 GMT</pubDate>
    <dc:creator>andreas_lds</dc:creator>
    <dc:date>2022-01-03T06:31:58Z</dc:date>
    <item>
      <title>Replace missing with Median value</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Replace-missing-with-Median-value/m-p/788059#M251890</link>
      <description>&lt;PRE&gt;hello team,

Cleaning Data

data cleanme;

input group$ kilograms;

cards;

A 53.4

B 76.3

A 45.3

A 98.4

a 67.3

A 98.3

A 68.3

B 28.4

B 67.3

B 37.4

A 68.3

A 79.2

A 56.4

run;&lt;/PRE&gt;
&lt;P&gt;1. Create a new dataset called cleanfinal from cleandata.&lt;/P&gt;
&lt;P&gt;2. Set values for the Kilograms variable to between 20 and 40, inclusively.&lt;/P&gt;
&lt;P&gt;3. If values in Kilograms are missing, or not in the 20 to 40 range, replace with the median Kilograms value found . (hint: you will do some conditional logic for Group 'A' and 'B', and you will set median kilograms for A and B)&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jan 2022 03:20:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Replace-missing-with-Median-value/m-p/788059#M251890</guid>
      <dc:creator>GN0001</dc:creator>
      <dc:date>2022-01-03T03:20:18Z</dc:date>
    </item>
    <item>
      <title>Re: Replace missing with Median value</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Replace-missing-with-Median-value/m-p/788060#M251891</link>
      <description>&lt;P&gt;Check out the&amp;nbsp;&lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.3/statug/statug_stdize_toc.htm" target="_self"&gt;The STDIZE Procedure&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jan 2022 04:23:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Replace-missing-with-Median-value/m-p/788060#M251891</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2022-01-03T04:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: Replace missing with Median value</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Replace-missing-with-Median-value/m-p/788065#M251894</link>
      <description>&lt;P&gt;This looks like homework. What have you tried?&lt;/P&gt;
&lt;P&gt;Here's an older topic, created by yourself dealing with the same problem: &lt;A href="https://communities.sas.com/t5/SAS-Programming/proc-mean-with-a-where-clause-with-median/m-p/760304" target="_blank" rel="noopener"&gt;https://communities.sas.com/t5/SAS-Programming/proc-mean-with-a-where-clause-with-median/m-p/760304&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jan 2022 06:31:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Replace-missing-with-Median-value/m-p/788065#M251894</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2022-01-03T06:31:58Z</dc:date>
    </item>
  </channel>
</rss>

