<?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: Calculate Mean ONLY if 3+ values exist in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Calculate-Mean-ONLY-if-3-values-exist/m-p/775904#M81132</link>
    <description>if n(of var1-var6)&amp;gt;2 then newVariableName = mean(of var1-var6);</description>
    <pubDate>Fri, 22 Oct 2021 16:03:15 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2021-10-22T16:03:15Z</dc:date>
    <item>
      <title>Calculate Mean ONLY if 3+ values exist</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Calculate-Mean-ONLY-if-3-values-exist/m-p/775899#M81131</link>
      <description>&lt;P&gt;newvariablename = mean (var1, var2, var3, var4, var5, var6) is there anything I can add to this code to require at least 3 values in this mean? (i.e. if a participant has lots of missing data, I don't get a mean when they only submitted 1 answer out of 6).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Oct 2021 15:53:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Calculate-Mean-ONLY-if-3-values-exist/m-p/775899#M81131</guid>
      <dc:creator>HBSU</dc:creator>
      <dc:date>2021-10-22T15:53:28Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Mean ONLY if 3+ values exist</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Calculate-Mean-ONLY-if-3-values-exist/m-p/775904#M81132</link>
      <description>if n(of var1-var6)&amp;gt;2 then newVariableName = mean(of var1-var6);</description>
      <pubDate>Fri, 22 Oct 2021 16:03:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Calculate-Mean-ONLY-if-3-values-exist/m-p/775904#M81132</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-10-22T16:03:15Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Mean ONLY if 3+ values exist</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Calculate-Mean-ONLY-if-3-values-exist/m-p/775905#M81133</link>
      <description>&lt;P&gt;if n(of var1-var6) &amp;gt; 2 then newvariablename = mean(of var1-var6);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And posted within 4 seconds of one another!&lt;/P&gt;</description>
      <pubDate>Fri, 22 Oct 2021 16:04:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Calculate-Mean-ONLY-if-3-values-exist/m-p/775905#M81133</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2021-10-22T16:04:33Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Mean ONLY if 3+ values exist</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Calculate-Mean-ONLY-if-3-values-exist/m-p/775913#M81134</link>
      <description>&lt;P&gt;Question: Your comment of&amp;nbsp; "when they only submitted 1 answer out of 6" raises the question of what kind of responses are these and is a mean really appropriate. If your responses are actually numeric values like a measure or dollar amount that is appropriate. If responses are numeric codes from an agreement scale I suggest caution.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Oct 2021 16:10:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Calculate-Mean-ONLY-if-3-values-exist/m-p/775913#M81134</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-10-22T16:10:15Z</dc:date>
    </item>
  </channel>
</rss>

