<?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: QC clinical ADAM datasets in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/QC-clinical-ADAM-datasets/m-p/778594#M31539</link>
    <description>&lt;P&gt;There is really no such thing as a tool or program that will perfectly validate or check your data. However there are techniques in SAS that can help you like this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc freq data = sashelp.class;
  table _numeric_;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;This program will count discrete levels of all numeric variables in the chosen dataset. Obviously this is only useful for non-continuous numerics but it gives you an idea as to how you can approach validation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Edit: An example of how to check for missing or zero values:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data test;
  set sashelp.class;
  output;
  if name in ('Carol','Thomas') then do;
    age = 0; height = . ; weight = 0;
    output;
  end;
run;

data test;
  drop i;
  set test;
  array nums (*) _numeric_ ;
  do i = 1 to dim(nums);
    if nums(i) in (.) then Missing_Flag = 'Y';
    if nums(i) in (0) then Zero_Flag = 'Y';
  end;
run; 

proc freq data = test;
  where Missing_Flag = 'Y' or Zero_Flag = 'Y';
  table name * _numeric_ / missing list;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 04 Nov 2021 21:02:41 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2021-11-04T21:02:41Z</dc:date>
    <item>
      <title>QC clinical ADAM datasets</title>
      <link>https://communities.sas.com/t5/New-SAS-User/QC-clinical-ADAM-datasets/m-p/778184#M31499</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;I am doing QC on clinical sas ADAM datasets like ADSL ADAE Etc ..for which I need a help. Infact I am using Proc freq and basic Sql statements to cross check data to find errors. I am not able to find all of the critical errors which is a big problem.&lt;BR /&gt;Does anybody provide some programs to cross check data perfectly ? I am really in need of help and I would be very grateful if you could help me out.&lt;BR /&gt;&lt;BR /&gt;Thanks a lot.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 03 Nov 2021 13:38:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/QC-clinical-ADAM-datasets/m-p/778184#M31499</guid>
      <dc:creator>ranikeka</dc:creator>
      <dc:date>2021-11-03T13:38:51Z</dc:date>
    </item>
    <item>
      <title>Re: QC clinical ADAM datasets</title>
      <link>https://communities.sas.com/t5/New-SAS-User/QC-clinical-ADAM-datasets/m-p/778207#M31502</link>
      <description>&lt;OL&gt;
&lt;LI&gt;Using ADaM.adae specification document(s)&lt;/LI&gt;
&lt;LI&gt;program the data set.&amp;nbsp; (don't look at the source program).&lt;/LI&gt;
&lt;LI&gt;PROC COMPARE&amp;nbsp; source ADAE with your QC.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Not perfect if source and QC programmers make the same mistake, but you should be able to sleep at night.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Nov 2021 14:19:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/QC-clinical-ADAM-datasets/m-p/778207#M31502</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2021-11-03T14:19:51Z</dc:date>
    </item>
    <item>
      <title>Re: QC clinical ADAM datasets</title>
      <link>https://communities.sas.com/t5/New-SAS-User/QC-clinical-ADAM-datasets/m-p/778444#M31524</link>
      <description>&lt;P&gt;Are you using Pinnacle 21 Community Validator ? it is the easiest way to check consistency between domains and it also checks domains against controlled terminology.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Nov 2021 08:55:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/QC-clinical-ADAM-datasets/m-p/778444#M31524</guid>
      <dc:creator>Aku</dc:creator>
      <dc:date>2021-11-04T08:55:27Z</dc:date>
    </item>
    <item>
      <title>Re: QC clinical ADAM datasets</title>
      <link>https://communities.sas.com/t5/New-SAS-User/QC-clinical-ADAM-datasets/m-p/778458#M31527</link>
      <description>Thank you for reply&lt;BR /&gt;This is internal QC to use codes and cross check data.</description>
      <pubDate>Thu, 04 Nov 2021 10:41:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/QC-clinical-ADAM-datasets/m-p/778458#M31527</guid>
      <dc:creator>ranikeka</dc:creator>
      <dc:date>2021-11-04T10:41:43Z</dc:date>
    </item>
    <item>
      <title>Re: QC clinical ADAM datasets</title>
      <link>https://communities.sas.com/t5/New-SAS-User/QC-clinical-ADAM-datasets/m-p/778459#M31528</link>
      <description>Thank you, yes but it’s takes lot of time to program everything and proc compare. So I am looking for much faster way I can sum it my work.</description>
      <pubDate>Thu, 04 Nov 2021 10:43:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/QC-clinical-ADAM-datasets/m-p/778459#M31528</guid>
      <dc:creator>ranikeka</dc:creator>
      <dc:date>2021-11-04T10:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: QC clinical ADAM datasets</title>
      <link>https://communities.sas.com/t5/New-SAS-User/QC-clinical-ADAM-datasets/m-p/778594#M31539</link>
      <description>&lt;P&gt;There is really no such thing as a tool or program that will perfectly validate or check your data. However there are techniques in SAS that can help you like this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc freq data = sashelp.class;
  table _numeric_;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;This program will count discrete levels of all numeric variables in the chosen dataset. Obviously this is only useful for non-continuous numerics but it gives you an idea as to how you can approach validation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Edit: An example of how to check for missing or zero values:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data test;
  set sashelp.class;
  output;
  if name in ('Carol','Thomas') then do;
    age = 0; height = . ; weight = 0;
    output;
  end;
run;

data test;
  drop i;
  set test;
  array nums (*) _numeric_ ;
  do i = 1 to dim(nums);
    if nums(i) in (.) then Missing_Flag = 'Y';
    if nums(i) in (0) then Zero_Flag = 'Y';
  end;
run; 

proc freq data = test;
  where Missing_Flag = 'Y' or Zero_Flag = 'Y';
  table name * _numeric_ / missing list;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 04 Nov 2021 21:02:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/QC-clinical-ADAM-datasets/m-p/778594#M31539</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2021-11-04T21:02:41Z</dc:date>
    </item>
  </channel>
</rss>

