<?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: How to statistically compare the imputed datasets and the analyzed dataset in sas? in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-statistically-compare-the-imputed-datasets-and-the/m-p/803548#M39502</link>
    <description>&lt;P&gt;You don't say how you want to compare the two data sets, but let's assume you want to run univariate descriptive statistics on the numeric variables. Then you would run the following steps and compare the output:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc means data=Orig_data;
   var _numeric_;
run;

proc means data=Imputed_data;
   var _numeric_;
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;You could also see how the pairwise correlations compare:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/* by default, PROC CORR computes pairwise correlations */
proc corr data=Orig_data plots=none noprob;
   var _numeric_ ;
run;

proc corr data=Imputed_data plots=none noprob;
   var _numeric_ ;
run;

&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;If you want to compare the data in a different way, please include sample data and specify how you want to compare the variables.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 23 Mar 2022 12:39:12 GMT</pubDate>
    <dc:creator>Rick_SAS</dc:creator>
    <dc:date>2022-03-23T12:39:12Z</dc:date>
    <item>
      <title>How to statistically compare the imputed datasets and the analyzed dataset in sas?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-statistically-compare-the-imputed-datasets-and-the/m-p/803492#M39498</link>
      <description />
      <pubDate>Wed, 23 Mar 2022 02:14:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-statistically-compare-the-imputed-datasets-and-the/m-p/803492#M39498</guid>
      <dc:creator>Jiaoo</dc:creator>
      <dc:date>2022-03-23T02:14:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to statistically compare the imputed datasets and the analyzed dataset in sas?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-statistically-compare-the-imputed-datasets-and-the/m-p/803493#M39499</link>
      <description>&lt;P&gt;Hello, there. I am a sas beginner. My quesion is that I want to do the sensitive analysis, to compare the demographic difference between the analyzed dataset and the multiple imputation&amp;nbsp; dataset. How can I solve it?Thank you very much for your help.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 02:16:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-statistically-compare-the-imputed-datasets-and-the/m-p/803493#M39499</guid>
      <dc:creator>Jiaoo</dc:creator>
      <dc:date>2022-03-23T02:16:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to statistically compare the imputed datasets and the analyzed dataset in sas?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-statistically-compare-the-imputed-datasets-and-the/m-p/803548#M39502</link>
      <description>&lt;P&gt;You don't say how you want to compare the two data sets, but let's assume you want to run univariate descriptive statistics on the numeric variables. Then you would run the following steps and compare the output:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc means data=Orig_data;
   var _numeric_;
run;

proc means data=Imputed_data;
   var _numeric_;
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;You could also see how the pairwise correlations compare:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/* by default, PROC CORR computes pairwise correlations */
proc corr data=Orig_data plots=none noprob;
   var _numeric_ ;
run;

proc corr data=Imputed_data plots=none noprob;
   var _numeric_ ;
run;

&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;If you want to compare the data in a different way, please include sample data and specify how you want to compare the variables.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 12:39:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-statistically-compare-the-imputed-datasets-and-the/m-p/803548#M39502</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2022-03-23T12:39:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to statistically compare the imputed datasets and the analyzed dataset in sas?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-statistically-compare-the-imputed-datasets-and-the/m-p/804063#M39563</link>
      <description>&lt;P&gt;Dear friend,&lt;/P&gt;&lt;P&gt;Really appreciate your help.&amp;nbsp;That is pretty helpful.&lt;/P&gt;&lt;P&gt;If possible,can I ask more? &amp;nbsp;I want to compare, e.g, if the age or sex variables are statistically different between the original dataset and the imputed dataset.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Firstly the original data and the imputed data was combined into one dataset.&amp;nbsp;&lt;/P&gt;&lt;P&gt;data combined;&lt;/P&gt;&lt;P&gt;set original imputed;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Next,&amp;nbsp; the&amp;nbsp; statement of below was used,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Proc freq data= combined;&lt;BR /&gt;Table sex* group / CHISQ EXPECTED DEVIATION NOROW NOCOL NOPERCENT;&lt;BR /&gt;run;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is my method correct?&lt;/P&gt;&lt;P&gt;Thank you very much for your time in advance.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2022 13:57:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-statistically-compare-the-imputed-datasets-and-the/m-p/804063#M39563</guid>
      <dc:creator>Jiaoo</dc:creator>
      <dc:date>2022-03-25T13:57:35Z</dc:date>
    </item>
  </channel>
</rss>

