<?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 How to delete participants who did not complete more than 60% of the survey questions? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-delete-participants-who-did-not-complete-more-than-60-of/m-p/847217#M334967</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a dataset with 200 participants who filled out 5 questions. How do I delete those participants who had missing response in any 3 out of 5 questions?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 01 Dec 2022 09:35:19 GMT</pubDate>
    <dc:creator>Denali</dc:creator>
    <dc:date>2022-12-01T09:35:19Z</dc:date>
    <item>
      <title>How to delete participants who did not complete more than 60% of the survey questions?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-delete-participants-who-did-not-complete-more-than-60-of/m-p/847217#M334967</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a dataset with 200 participants who filled out 5 questions. How do I delete those participants who had missing response in any 3 out of 5 questions?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2022 09:35:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-delete-participants-who-did-not-complete-more-than-60-of/m-p/847217#M334967</guid>
      <dc:creator>Denali</dc:creator>
      <dc:date>2022-12-01T09:35:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete participants who did not complete more than 60% of the survey questions?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-delete-participants-who-did-not-complete-more-than-60-of/m-p/847218#M334968</link>
      <description>&lt;P&gt;It depends highly on the structure of your data. Please provide some sample data in usable form and your expected result.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2022 09:44:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-delete-participants-who-did-not-complete-more-than-60-of/m-p/847218#M334968</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2022-12-01T09:44:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete participants who did not complete more than 60% of the survey questions?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-delete-participants-who-did-not-complete-more-than-60-of/m-p/847461#M335051</link>
      <description>&lt;P&gt;If each respondent's data is a &lt;STRONG&gt;single observation&lt;/STRONG&gt; then something similar to this should work. You did not provide the names of any variables in your data set so I am using the dummy names Var1 through Var5 to represent the five variables you are requiring.&lt;/P&gt;
&lt;P&gt;Assume that if 4 or 5 are missing that you want to remove them as well. If ONLY exactly 3 variable then use = or EQ in place of GE (greater than or equal). CMISS will accept character or numeric variables. You did not say which type your variables might be and other solutions may require more knowledge of your data.&lt;/P&gt;
&lt;PRE&gt;data want;
   set have;
   if cmiss(var1, var2, var3, var4, var5) ge 3 then delete.
run;&lt;/PRE&gt;
&lt;P&gt;IF your data is not a single observation per respondent then you need to provide examples of what your data may actually look like.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Dec 2022 15:41:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-delete-participants-who-did-not-complete-more-than-60-of/m-p/847461#M335051</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2022-12-02T15:41:16Z</dc:date>
    </item>
  </channel>
</rss>

