<?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: Looking for a PROC to compare summary mean and proportion in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Looking-for-a-PROC-to-compare-summary-mean-and-proportion/m-p/674298#M32269</link>
    <description>&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;Instead of merging the two data&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;(Perhaps you mean "instead of appending the two data")&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;This is a restriction which makes the programming much harder and ought to be eliminated. You (or your company or university) is paying for all the work already done by SAS to compare means and percents, plus SAS has tested it, fixed bugs and proved that these work in millions of real world applications — don't try to do this yourself.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Use the RAW data. Append the two data sets. This makes everything you do much simpler. Compare the means by PROC TTEST or PROC MEANS (or SURVEYMEANS). Compare the percents by using PROC FREQ (or SURVEYFREQ). &lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 04 Aug 2020 11:52:59 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2020-08-04T11:52:59Z</dc:date>
    <item>
      <title>Looking for a PROC to compare summary mean and proportion</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Looking-for-a-PROC-to-compare-summary-mean-and-proportion/m-p/674247#M32266</link>
      <description>&lt;DIV&gt;Hi everyone,&lt;/DIV&gt;&lt;DIV&gt;I want to compare the means and proportions between two different samples. The two data sets do not have common individuals or variables. I need to compare some common measures between these two samples.&lt;/DIV&gt;&lt;DIV&gt;For example, comparing age in sample 1 vs. sample 2 and %male in sample 1 vs. sample 2.&lt;/DIV&gt;&lt;DIV&gt;Instead of merging the two data, I want to create the summary statistics for each sample and use them for my comparison.&lt;/DIV&gt;&lt;DIV&gt;Do you know any procedure in SAS that I can use to compare summary statistics?&lt;/DIV&gt;&lt;DIV&gt;Thank you!&lt;/DIV&gt;</description>
      <pubDate>Tue, 04 Aug 2020 02:10:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Looking-for-a-PROC-to-compare-summary-mean-and-proportion/m-p/674247#M32266</guid>
      <dc:creator>Emma_at_SAS</dc:creator>
      <dc:date>2020-08-04T02:10:02Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for a PROC to compare summary mean and proportion</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Looking-for-a-PROC-to-compare-summary-mean-and-proportion/m-p/674249#M32267</link>
      <description>&lt;P&gt;You say that&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;BR /&gt;
&lt;DIV&gt;The two data sets do not have common individuals or variables. &lt;/DIV&gt;
&lt;/BLOCKQUOTE&gt;
&lt;DIV&gt;If you don't have common variables, then how do you know the mean age, or proportion male in BOTH datasets.&amp;nbsp; Do you merely mean that the varibles in the datasets have the same information (i.e. age in year, and two values for sex), but those variables don't have the same name (or in the case of sex, the same variable type)?&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;If so, then you could modify one of the datasets to emulate the variable attributes (e.g. varname, vartype) and coding scheme (e.g. "M", "F" instead of 0,1) in the other data set.&amp;nbsp; Then you're ready to combine the compatible data sets and execute a t-test (age contrast) and a proc freq (for sex distribution comparison).&lt;/DIV&gt;</description>
      <pubDate>Tue, 04 Aug 2020 02:24:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Looking-for-a-PROC-to-compare-summary-mean-and-proportion/m-p/674249#M32267</guid>
      <dc:creator>mkeintz</dc:creator>
      <dc:date>2020-08-04T02:24:21Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for a PROC to compare summary mean and proportion</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Looking-for-a-PROC-to-compare-summary-mean-and-proportion/m-p/674272#M32268</link>
      <description>&lt;P&gt;If you don't have (or don't want to use) the raw data, and only have&amp;nbsp;summary data, some coding is required. More here:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.lexjansen.com/nesug/nesug06/an/da24.pdf" target="_blank"&gt;https://www.lexjansen.com/nesug/nesug06/an/da24.pdf&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Aug 2020 05:16:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Looking-for-a-PROC-to-compare-summary-mean-and-proportion/m-p/674272#M32268</guid>
      <dc:creator>Norman21</dc:creator>
      <dc:date>2020-08-04T05:16:08Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for a PROC to compare summary mean and proportion</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Looking-for-a-PROC-to-compare-summary-mean-and-proportion/m-p/674298#M32269</link>
      <description>&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;Instead of merging the two data&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;(Perhaps you mean "instead of appending the two data")&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;This is a restriction which makes the programming much harder and ought to be eliminated. You (or your company or university) is paying for all the work already done by SAS to compare means and percents, plus SAS has tested it, fixed bugs and proved that these work in millions of real world applications — don't try to do this yourself.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Use the RAW data. Append the two data sets. This makes everything you do much simpler. Compare the means by PROC TTEST or PROC MEANS (or SURVEYMEANS). Compare the percents by using PROC FREQ (or SURVEYFREQ). &lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Aug 2020 11:52:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Looking-for-a-PROC-to-compare-summary-mean-and-proportion/m-p/674298#M32269</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-08-04T11:52:59Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for a PROC to compare summary mean and proportion</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Looking-for-a-PROC-to-compare-summary-mean-and-proportion/m-p/674316#M32274</link>
      <description>&lt;P&gt;If there are only two group, compare MEAN of two group by PROC TTEST or PROC N1PARM + willconx.&lt;/P&gt;
&lt;P&gt;compare PROPORTION(a.k.a risk ratio) of two group by&lt;/P&gt;
&lt;P&gt;PROC FREQ ;&lt;/P&gt;
&lt;P&gt;TABLE group*gender/relrisk ;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13684"&gt;@Rick_SAS&lt;/a&gt;&amp;nbsp; wrote bolgs about these before.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Aug 2020 11:50:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Looking-for-a-PROC-to-compare-summary-mean-and-proportion/m-p/674316#M32274</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2020-08-04T11:50:02Z</dc:date>
    </item>
  </channel>
</rss>

